Skip to content

itk::SphereConstraint

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 GetCenter()
void SetCenter(Eigen::Vector3d inCenter)
double GetRadius()
void SetRadius(double inRadius)
virtual Eigen::Vector3d ConstraintGradient(const Eigen::Vector3d & pt) const
Eigen::Vector3d ConstraintGradientSphere(const Eigen::Vector3d & pt, const Eigen::Vector3d & updpt) const
virtual double ConstraintEval(const Eigen::Vector3d & pt) const
double ConstraintEvalSphere(const Eigen::Vector3d & pt, const Eigen::Vector3d & updpt) const
Eigen::Vector3d LagragianGradient(const Eigen::Vector3d & pt, const Eigen::Vector3d & updpt, double C)

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)

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 GetCenter

inline Eigen::Vector3d GetCenter()

function SetCenter

inline void SetCenter(
    Eigen::Vector3d inCenter
)

function GetRadius

inline double GetRadius()

function SetRadius

inline void SetRadius(
    double inRadius
)

function ConstraintGradient

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

Reimplements: itk::Constraint::ConstraintGradient

function ConstraintGradientSphere

inline Eigen::Vector3d ConstraintGradientSphere(
    const Eigen::Vector3d & pt,
    const Eigen::Vector3d & updpt
) const

function ConstraintEval

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

Reimplements: itk::Constraint::ConstraintEval

function ConstraintEvalSphere

inline double ConstraintEvalSphere(
    const Eigen::Vector3d & pt,
    const Eigen::Vector3d & updpt
) const

function LagragianGradient

inline Eigen::Vector3d LagragianGradient(
    const Eigen::Vector3d & pt,
    const Eigen::Vector3d & updpt,
    double C
)

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