ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::fem::LoadLandmark Class Reference

#include <itkFEMLoadLandmark.h>

+ Inheritance diagram for itk::fem::LoadLandmark:
+ Collaboration diagram for itk::fem::LoadLandmark:

Detailed Description

This load is derived from the motion of a specific landmark.

This load depends on the motion of a point from an undeformed configuration to a deformed configuration.

Definition at line 39 of file itkFEMLoadLandmark.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LoadLandmark Self
 
typedef LoadElement Superclass
 
- Public Types inherited from itk::fem::LoadElement
typedef SmartPointer< const SelfConstPointer
 
typedef std::vector< const
Element * > 
ElementPointersVectorType
 
typedef Element::Float Float
 
typedef SmartPointer< SelfPointer
 
typedef LoadElement Self
 
typedef Load Superclass
 
- Public Types inherited from itk::fem::Load
typedef FEMPArray< SelfArrayType
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Load Self
 
typedef FEMLightObject Superclass
 
- Public Types inherited from itk::fem::FEMLightObject
typedef Self Baseclass
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef FEMLightObject Self
 
typedef itk::LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual void ApplyLoad (Element::ConstPointer element, Element::VectorType &Fe) override
 
virtual bool AssignToElement (Element::ArrayType::Pointer elements)
 
virtual bool AssignToElement (Element::ArrayType1::Pointer elements)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const override
 
virtual Element::ConstPointer GetAssignedElement (Element::ArrayType1::Pointer elements)
 
const ElementGetContainedElement () const
 
double GetEta () const
 
Element::VectorTypeGetForce ()
 
const Element::VectorTypeGetForce () const
 
virtual const char * GetNameOfClass () const
 
Element::VectorTypeGetPoint ()
 
Element::VectorTypeGetSource ()
 
const Element::VectorTypeGetSource () const
 
 LoadLandmark ()
 
void ScalePointAndForce (double *spacing, double fwt)
 
void SetContainedElement (const Element *e)
 
void SetEta (double e)
 
void SetPoint (const vnl_vector< Float > &pt)
 
virtual void SetSolution (Solution::ConstPointer ptr) override
 
virtual Solution::ConstPointer GetSolution () override
 
Float GetSolution (unsigned int i, unsigned int v=0)
 
void SetForce (const vnl_vector< Float > &force)
 
void SetSource (const vnl_vector< Float > &source)
 
Element::VectorTypeGetTarget ()
 
const Element::VectorTypeGetTarget () const
 
void SetTarget (const vnl_vector< Float > &target)
 
- Public Member Functions inherited from itk::fem::LoadElement
void AddNextElement (Element::ConstPointer e)
 
void AddNextElement (Element::Pointer e)
 
Element::ConstPointer GetElement (int i)
 
ElementPointersVectorTypeGetElementArray ()
 
const ElementPointersVectorTypeGetElementArray () const
 
unsigned int GetNumberOfElements ()
 
 LoadElement ()
 
- Public Member Functions inherited from itk::fem::Load
const ElementGetElement () const
 
void SetElement (const Element *el)
 
- Public Member Functions inherited from itk::fem::FEMLightObject
int GetGlobalNumber () const
 
void SetGlobalNumber (int)
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::fem::LoadElement
static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
- Protected Member Functions inherited from itk::fem::LoadElement
void AddNextElementInternal (const Element *e)
 
- Protected Member Functions inherited from itk::fem::FEMLightObject
 FEMLightObject ()
 
 FEMLightObject (const FEMLightObject &o)
 
virtual ~FEMLightObject () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

double m_Eta
 
vnl_vector< Floatm_Force
 
vnl_vector< Floatm_Point
 
Solution::ConstPointer m_Solution
 
vnl_vector< Floatm_Source
 
vnl_vector< Floatm_Target
 
- Protected Attributes inherited from itk::fem::Load
Element::ConstPointer m_Element
 
- Protected Attributes inherited from itk::fem::FEMLightObject
int m_GlobalNumber
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

Definition at line 47 of file itkFEMLoadLandmark.h.

Definition at line 46 of file itkFEMLoadLandmark.h.

Standard class typedefs.

Definition at line 44 of file itkFEMLoadLandmark.h.

Definition at line 45 of file itkFEMLoadLandmark.h.

Constructor & Destructor Documentation

itk::fem::LoadLandmark::LoadLandmark ( )
inline

Default constructors

Definition at line 217 of file itkFEMLoadLandmark.h.

Member Function Documentation

virtual void itk::fem::LoadLandmark::ApplyLoad ( Element::ConstPointer  element,
Element::VectorType Fe 
)
overridevirtual

Apply the load to the specified element

Reimplemented from itk::fem::LoadElement.

virtual bool itk::fem::LoadLandmark::AssignToElement ( Element::ArrayType::Pointer  elements)
virtual

Assign the LoadLandmark to an element

virtual bool itk::fem::LoadLandmark::AssignToElement ( Element::ArrayType1::Pointer  elements)
virtual
virtual::itk::LightObject::Pointer itk::fem::LoadLandmark::CreateAnother ( void  ) const
overridevirtual

CreateAnother method will clone the existing instance of this type, including its internal member variables.

Reimplemented from itk::fem::LoadElement.

virtual Element::ConstPointer itk::fem::LoadLandmark::GetAssignedElement ( Element::ArrayType1::Pointer  elements)
virtual
const Element* itk::fem::LoadLandmark::GetContainedElement ( ) const
inline

Get the element containing the landmark

Definition at line 200 of file itkFEMLoadLandmark.h.

double itk::fem::LoadLandmark::GetEta ( ) const
Element::VectorType& itk::fem::LoadLandmark::GetForce ( )
inline

Get the force vector

Definition at line 108 of file itkFEMLoadLandmark.h.

const Element::VectorType& itk::fem::LoadLandmark::GetForce ( ) const
inline

Definition at line 113 of file itkFEMLoadLandmark.h.

virtual const char* itk::fem::LoadLandmark::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::fem::LoadElement.

Reimplemented in itk::fem::LoadNoisyLandmark.

Element::VectorType& itk::fem::LoadLandmark::GetPoint ( )
inline

Access the location of the point load

Definition at line 79 of file itkFEMLoadLandmark.h.

virtual Solution::ConstPointer itk::fem::LoadLandmark::GetSolution ( )
inlineoverridevirtual

Methods to access the most recent solution vector

Reimplemented from itk::fem::Load.

Definition at line 66 of file itkFEMLoadLandmark.h.

Float itk::fem::LoadLandmark::GetSolution ( unsigned int  i,
unsigned int  v = 0 
)
inline

Methods to access the most recent solution vector

Definition at line 70 of file itkFEMLoadLandmark.h.

Element::VectorType& itk::fem::LoadLandmark::GetSource ( )
inline

Access the location of the point load

Definition at line 95 of file itkFEMLoadLandmark.h.

const Element::VectorType& itk::fem::LoadLandmark::GetSource ( ) const
inline

Definition at line 100 of file itkFEMLoadLandmark.h.

Element::VectorType& itk::fem::LoadLandmark::GetTarget ( )
inline

Access the location of the point load

Definition at line 153 of file itkFEMLoadLandmark.h.

const Element::VectorType& itk::fem::LoadLandmark::GetTarget ( ) const
inline

Access the location of the point load

Definition at line 157 of file itkFEMLoadLandmark.h.

static Pointer itk::fem::LoadLandmark::New ( )
static

Method for creation through the object factory.

virtual void itk::fem::LoadLandmark::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::fem::LoadElement.

Reimplemented in itk::fem::LoadNoisyLandmark.

void itk::fem::LoadLandmark::ScalePointAndForce ( double *  spacing,
double  fwt 
)
inline

Definition at line 179 of file itkFEMLoadLandmark.h.

void itk::fem::LoadLandmark::SetContainedElement ( const Element e)
inline

Set the element containing the landmark

Definition at line 192 of file itkFEMLoadLandmark.h.

References itk::Math::e.

void itk::fem::LoadLandmark::SetEta ( double  e)

Get/Set the eta parameter, square root of the variance, for the load

void itk::fem::LoadLandmark::SetForce ( const vnl_vector< Float > &  force)
inline

Set the force vector

Definition at line 121 of file itkFEMLoadLandmark.h.

void itk::fem::LoadLandmark::SetPoint ( const vnl_vector< Float > &  pt)
inline

Set the force vector

Definition at line 87 of file itkFEMLoadLandmark.h.

virtual void itk::fem::LoadLandmark::SetSolution ( Solution::ConstPointer  ptr)
inlineoverridevirtual

Methods to access the most recent solution vector

Reimplemented from itk::fem::Load.

Definition at line 62 of file itkFEMLoadLandmark.h.

void itk::fem::LoadLandmark::SetSource ( const vnl_vector< Float > &  source)
inline

Set the force vector

Definition at line 137 of file itkFEMLoadLandmark.h.

void itk::fem::LoadLandmark::SetTarget ( const vnl_vector< Float > &  target)
inline

Set the force vector

Definition at line 166 of file itkFEMLoadLandmark.h.

Member Data Documentation

double itk::fem::LoadLandmark::m_Eta
protected

Square root of the variance (eta)

Definition at line 241 of file itkFEMLoadLandmark.h.

vnl_vector<Float> itk::fem::LoadLandmark::m_Force
protected

Definition at line 255 of file itkFEMLoadLandmark.h.

vnl_vector<Float> itk::fem::LoadLandmark::m_Point
protected

Point in local coordinates in the undeformed configuration

Definition at line 246 of file itkFEMLoadLandmark.h.

Solution::ConstPointer itk::fem::LoadLandmark::m_Solution
protected

Pointer to the element which contains the undeformed configuration of the landmark Pointer to the solution object

Definition at line 266 of file itkFEMLoadLandmark.h.

vnl_vector<Float> itk::fem::LoadLandmark::m_Source
protected

Definition at line 253 of file itkFEMLoadLandmark.h.

vnl_vector<Float> itk::fem::LoadLandmark::m_Target
protected

Point in global coordinates in the deformed configuration

Definition at line 251 of file itkFEMLoadLandmark.h.


The documentation for this class was generated from the following file: