19 #ifndef itkFEMLoadNoisyLandmark_h
20 #define itkFEMLoadNoisyLandmark_h
23 #include "ITKFEMExport.h"
53 itkSimpleNewMacro(
Self);
61 m_IsOutlier = outlier;
72 m_ErrorNorm = errorNorm;
83 m_Confidence = confidence;
94 m_RealDisplacement = displacement;
99 return m_RealDisplacement;
105 m_SimulatedDisplacement = displacement;
110 return m_SimulatedDisplacement;
132 return m_IsOutOfMesh;
138 m_StructureTensor = structureTensor;
139 m_HasStructureTensor =
true;
144 return m_StructureTensor;
149 return m_HasStructureTensor;
155 m_LandmarkTensor = landmarkTensor;
160 return m_LandmarkTensor;
172 m_IsOutOfMesh(false),
173 m_HasStructureTensor(false)
175 this->m_Element.resize(1);
178 virtual void PrintSelf(std::ostream& os,
Indent indent)
const ITK_OVERRIDE;
Light weight base class for most itk classes.
Element::VectorType VectorType
void SetRealDisplacement(const VectorType &displacement)
const VectorType & GetRealDisplacement() const
void SetIsOutOfMesh(bool out)
void SetStructureTensor(const MatrixType &structureTensor)
const MatrixType & GetLandmarkTensor() const
SmartPointer< Self > Pointer
float GetErrorNorm() const
void SetConfidence(float confidence)
vnl_matrix< Float > MatrixType
void SetOutlier(bool outlier)
SmartPointer< const Self > ConstPointer
VectorType m_RealDisplacement
This load is derived from the motion of a specific landmark.
void SetLandmarkTensor(const MatrixType &landmarkTensor)
bool m_HasStructureTensor
vnl_vector< Float > VectorType
const VectorType & GetSimulatedDisplacement() const
float GetConfidence() const
Element::MatrixType MatrixType
const MatrixType & GetStructureTensor() const
Control indentation during Print() invocation.
bool HasStructureTensor() const
VectorType m_SimulatedDisplacement
void SetSimulatedDisplacement(const VectorType &displacement)
void SetShape(const VectorType &shape)
void SetErrorNorm(float errorNorm)
MatrixType m_LandmarkTensor
MatrixType m_StructureTensor
const VectorType & GetShape() const