Skip to content

itk::PlaneConstraint

Inherits from itk::Constraint

Public Functions

Name
virtual bool isViolated(const vnl_vector< double > & pt) const
virtual bool isViolated(const Eigen::Vector3d & pt) const
virtual void printC() const
Eigen::Vector3d GetPlaneNormal()
void SetPlaneNormal(const Eigen::Vector3d & inPlane)
Eigen::Vector3d GetPlanePoint()
void SetPlanePoint(const vnl_vector< double > & ina)
void SetPlanePoint(const Eigen::Vector3d & p)
virtual Eigen::Vector3d ConstraintGradient(const Eigen::Vector3d & pt) const
virtual double ConstraintEval(const Eigen::Vector3d & pt) const

Additional inherited members

Public Functions inherited from itk::Constraint

Name
shapeworks::ConstraintType GetConstraintType()
void setConstraintType(shapeworks::ConstraintType inType)
void SetZ(double inz)
double GetZ()
void SetMu(double inmu)
double GetMu()
void SetLambda(double inLambda)
double GetLambda()
void UpdateZ(const Eigen::Vector3d & pt, double C)
void UpdateMu(const Eigen::Vector3d & pt, double C)
Eigen::Vector3d LagragianGradient(const Eigen::Vector3d & pt, double C)

Protected Functions inherited from itk::Constraint

Name
int sgn(double val)

Protected Attributes inherited from itk::Constraint

Name
shapeworks::ConstraintType type
double mu
double z
double lambda

Public Functions Documentation

function isViolated

inline virtual bool isViolated(
    const vnl_vector< double > & pt
) const

Reimplements: itk::Constraint::isViolated

function isViolated

inline virtual bool isViolated(
    const Eigen::Vector3d & pt
) const

Reimplements: itk::Constraint::isViolated

function printC

inline virtual void printC() const

Reimplements: itk::Constraint::printC

function GetPlaneNormal

inline Eigen::Vector3d GetPlaneNormal()

function SetPlaneNormal

inline void SetPlaneNormal(
    const Eigen::Vector3d & inPlane
)

function GetPlanePoint

inline Eigen::Vector3d GetPlanePoint()

function SetPlanePoint

inline void SetPlanePoint(
    const vnl_vector< double > & ina
)

function SetPlanePoint

inline void SetPlanePoint(
    const Eigen::Vector3d & p
)

function ConstraintGradient

inline virtual Eigen::Vector3d ConstraintGradient(
    const Eigen::Vector3d & pt
) const

Reimplements: itk::Constraint::ConstraintGradient

function ConstraintEval

inline virtual double ConstraintEval(
    const Eigen::Vector3d & pt
) const

Reimplements: itk::Constraint::ConstraintEval


Updated on 2022-03-31 at 09:51:18 -0600