ITK  4.4.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 38 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)
 
virtual bool AssignToElement (Element::ArrayType::Pointer elements)
 
virtual bool AssignToElement (Element::ArrayType1::Pointer elements)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
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)
 
void SetSolution (Solution::ConstPointer ptr)
 
Solution::ConstPointer GetSolution ()
 
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 (void)
 
 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
 

Static Public Member Functions

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

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const
 
- Protected Member Functions inherited from itk::fem::LoadElement
void AddNextElementInternal (const Element *e)
 

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
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

Definition at line 46 of file itkFEMLoadLandmark.h.

Definition at line 45 of file itkFEMLoadLandmark.h.

Standard class typedefs.

Definition at line 43 of file itkFEMLoadLandmark.h.

Definition at line 44 of file itkFEMLoadLandmark.h.

Constructor & Destructor Documentation

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

Default constructors

Definition at line 216 of file itkFEMLoadLandmark.h.

Member Function Documentation

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

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
virtual

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 199 of file itkFEMLoadLandmark.h.

References itk::fem::Load::m_Element.

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

Get the force vector

Definition at line 107 of file itkFEMLoadLandmark.h.

References m_Force.

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

Definition at line 112 of file itkFEMLoadLandmark.h.

References m_Force.

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 78 of file itkFEMLoadLandmark.h.

References m_Point.

Solution::ConstPointer itk::fem::LoadLandmark::GetSolution ( )
inlinevirtual

Methods to access the most recent solution vector

Reimplemented from itk::fem::Load.

Definition at line 65 of file itkFEMLoadLandmark.h.

References m_Solution.

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

Methods to access the most recent solution vector

Definition at line 69 of file itkFEMLoadLandmark.h.

References itk::fem::Solution::GetSolutionValue(), and m_Solution.

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

Access the location of the point load

Definition at line 94 of file itkFEMLoadLandmark.h.

References m_Source.

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

Definition at line 99 of file itkFEMLoadLandmark.h.

References m_Source.

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

Access the location of the point load

Definition at line 152 of file itkFEMLoadLandmark.h.

References m_Target.

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

Access the location of the point load

Definition at line 156 of file itkFEMLoadLandmark.h.

References m_Target.

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
protectedvirtual

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 178 of file itkFEMLoadLandmark.h.

References m_Eta, m_Source, and m_Target.

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

Set the element containing the landmark

Definition at line 191 of file itkFEMLoadLandmark.h.

References itk::Math::e, and itk::fem::Load::m_Element.

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 120 of file itkFEMLoadLandmark.h.

References m_Force.

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

Set the force vector

Definition at line 86 of file itkFEMLoadLandmark.h.

References m_Point.

void itk::fem::LoadLandmark::SetSolution ( Solution::ConstPointer  ptr)
inlinevirtual

Methods to access the most recent solution vector

Reimplemented from itk::fem::Load.

Definition at line 61 of file itkFEMLoadLandmark.h.

References m_Solution.

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

Set the force vector

Definition at line 136 of file itkFEMLoadLandmark.h.

References m_Source.

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

Set the force vector

Definition at line 165 of file itkFEMLoadLandmark.h.

References m_Target.

Member Data Documentation

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

Square root of the variance (eta)

Definition at line 240 of file itkFEMLoadLandmark.h.

Referenced by ScalePointAndForce().

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

Definition at line 254 of file itkFEMLoadLandmark.h.

Referenced by GetForce(), and SetForce().

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

Point in local coordinates in the undeformed configuration

Definition at line 245 of file itkFEMLoadLandmark.h.

Referenced by GetPoint(), and SetPoint().

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 265 of file itkFEMLoadLandmark.h.

Referenced by GetSolution(), and SetSolution().

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

Definition at line 252 of file itkFEMLoadLandmark.h.

Referenced by GetSource(), ScalePointAndForce(), and SetSource().

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

Point in global coordinates in the deformed configuration

Definition at line 250 of file itkFEMLoadLandmark.h.

Referenced by GetTarget(), ScalePointAndForce(), and SetTarget().


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