ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
itk::fem::LoadLandmark Class Reference

#include <itkFEMLoadLandmark.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef LoadLandmark Self
typedef LoadElement Superclass

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)
Element::Pointer GetContainedElement ()
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 (Element::Pointer 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)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const

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

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.


Member Typedef Documentation

Reimplemented from itk::fem::LoadElement.

Definition at line 46 of file itkFEMLoadLandmark.h.

Reimplemented from itk::fem::LoadElement.

Definition at line 45 of file itkFEMLoadLandmark.h.

Standard class typedefs.

Reimplemented from itk::fem::LoadElement.

Definition at line 43 of file itkFEMLoadLandmark.h.

Reimplemented from itk::fem::LoadElement.

Definition at line 44 of file itkFEMLoadLandmark.h.


Constructor & Destructor Documentation

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.

Assign the LoadLandmark to an element

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.

Get the element containing the landmark

Definition at line 199 of file itkFEMLoadLandmark.h.

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

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.

Access the location of the point load

Definition at line 78 of file itkFEMLoadLandmark.h.

References m_Point.

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.

Access the location of the point load

Definition at line 94 of file itkFEMLoadLandmark.h.

References m_Source.

Definition at line 99 of file itkFEMLoadLandmark.h.

References m_Source.

Access the location of the point load

Definition at line 152 of file itkFEMLoadLandmark.h.

References m_Target.

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.

Reimplemented from itk::fem::LoadElement.

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

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.

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.

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.

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().

Definition at line 254 of file itkFEMLoadLandmark.h.

Referenced by GetForce(), and SetForce().

Point in __local coordinates__ in the undeformed configuration

Definition at line 245 of file itkFEMLoadLandmark.h.

Referenced by GetPoint(), and SetPoint().

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().

Definition at line 252 of file itkFEMLoadLandmark.h.

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

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: