itk::FreeFormConstraint
Inherits from itk::Constraint
Public Functions
Name | |
---|---|
FreeFormConstraint() | |
void | setMesh(std::shared_ptr< shapeworks::Mesh > mesh1) |
std::shared_ptr< shapeworks::Mesh > | getMesh() |
virtual bool | isViolated(const vnl_vector< double > & pt) const |
virtual bool | isViolated(const Eigen::Vector3d & pt) const |
virtual void | printC() const |
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 FreeFormConstraint
inline FreeFormConstraint()
function setMesh
inline void setMesh(
std::shared_ptr< shapeworks::Mesh > mesh1
)
function getMesh
inline std::shared_ptr< shapeworks::Mesh > getMesh()
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 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