Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes

itk::fem::LoadLandmark Class Reference

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

#include <itkFEMLoadLandmark.h>

Inheritance diagram for itk::fem::LoadLandmark:
Inheritance graph
[legend]
Collaboration diagram for itk::fem::LoadLandmark:
Collaboration graph
[legend]

List of all members.

Public Types

typedef FEMPArray< SelfArrayType
typedef Self Baseclass
typedef const SelfConstPointer
typedef std::vector
< Element::ConstPointer
ElementPointersVectorType
typedef Element::Float Float
typedef SelfPointer
typedef LoadLandmark Self
typedef LoadElement Superclass

Public Member Functions

virtual void AssignToElement (Element::ArrayType::Pointer elements)
virtual int ClassID () const
virtual Baseclass::Pointer Clone () const
Element::VectorTypeGetForce ()
const Element::VectorTypeGetPoint () const
Element::VectorTypeGetSource ()
const Element::VectorTypeGetTarget () const
 LoadLandmark ()
virtual void Read (std::istream &f, void *info)
void ScalePointAndForce (double *spacing, double fwt)
void SetPoint (const vnl_vector< Float > &pt)
virtual void Write (std::ostream &f) const

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)

void SetTarget (const vnl_vector< Float > &target)

Static Public Member Functions

static FEMLightObject::Pointer CreateFromStream (std::istream &f, void *info)
static Self::Pointer New ()
static void SkipWhiteSpace (std::istream &f)

Public Attributes

double eta
int GN
vnl_vector< Floatm_force
vnl_vector< Floatm_pt
Solution::ConstPointer m_Solution
vnl_vector< Floatm_source
vnl_vector< Floatm_target

Static Public Attributes

static const int CLID
static const std::string whitespaces

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


Member Typedef Documentation

Array class that holds special pointers to the load objects

Definition at line 42 of file itkFEMLoadBase.h.

Store the base class typedef for easy access from derived classes. FEM_CLASS macro also expects this for the FEMOF...

Definition at line 64 of file itkFEMLightObject.h.

Const pointer or SmartPointer to an object.

Reimplemented from itk::fem::LoadElement.

Definition at line 35 of file itkFEMLoadLandmark.h.

Type of array of pointers to element objects

Definition at line 54 of file itkFEMLoadElementBase.h.

Float type used in Element and derived classes

Reimplemented in itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, and itk::fem::ImageMetricLoad< TMoving, TFixed >.

Definition at line 49 of file itkFEMLoadElementBase.h.

Pointer or SmartPointer to an object.

Reimplemented from itk::fem::LoadElement.

Definition at line 35 of file itkFEMLoadLandmark.h.

Standard Self typedef.

Reimplemented from itk::fem::LoadElement.

Definition at line 35 of file itkFEMLoadLandmark.h.

Standard Superclass typedef.

Reimplemented from itk::fem::LoadElement.

Definition at line 35 of file itkFEMLoadLandmark.h.


Constructor & Destructor Documentation

itk::fem::LoadLandmark::LoadLandmark (  )  [inline]

Default constructors

Definition at line 185 of file itkFEMLoadLandmark.h.


Member Function Documentation

virtual void itk::fem::LoadLandmark::AssignToElement ( Element::ArrayType::Pointer  elements  )  [virtual]

Assign the LoadLandmark to an element

virtual int itk::fem::LoadLandmark::ClassID (  )  const [inline, virtual]

Virtual function to access the class ID

Reimplemented from itk::fem::LoadElement.

Definition at line 35 of file itkFEMLoadLandmark.h.

virtual Baseclass::Pointer itk::fem::LoadLandmark::Clone (  )  const [virtual]

Create a new object from the existing one

Reimplemented from itk::fem::LoadElement.

static FEMLightObject::Pointer itk::fem::FEMLightObject::CreateFromStream ( std::istream &  f,
void *  info 
) [static, inherited]

Read object of any derived type from stream.

This static function creates an object of a class, which is derived from FEMLightObject. The class of object is first determined from the stream, then the object of that class is constructed using the FEMObjectFactory. Finally the data for this object is read from the stream, by calling the Read() member function.

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

Definition at line 95 of file itkFEMLoadLandmark.h.

References m_force.

const Element::VectorType& itk::fem::LoadLandmark::GetPoint (  )  const [inline]

Access the location of the point load

Definition at line 80 of file itkFEMLoadLandmark.h.

References m_pt.

Solution::ConstPointer itk::fem::LoadLandmark::GetSolution (  )  [inline, virtual]

Methods to access the most recent solution vector

Reimplemented from itk::fem::Load.

Definition at line 73 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 74 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 90 of file itkFEMLoadLandmark.h.

References m_source.

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

Access the location of the point load

Definition at line 136 of file itkFEMLoadLandmark.h.

References m_target.

static Self::Pointer itk::fem::LoadLandmark::New ( void   )  [inline, static]

Object creation in an itk compatible way

Reimplemented from itk::fem::LoadElement.

Definition at line 35 of file itkFEMLoadLandmark.h.

virtual void itk::fem::LoadLandmark::Read ( std::istream &  f,
void *  info 
) [virtual]

Read a LoadLandmark object from the input stream

Reimplemented from itk::fem::LoadElement.

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

Definition at line 157 of file itkFEMLoadLandmark.h.

References eta, m_source, and m_target.

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

Set the force vector

Definition at line 103 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 85 of file itkFEMLoadLandmark.h.

References m_pt.

void itk::fem::LoadLandmark::SetSolution ( Solution::ConstPointer  ptr  )  [inline, virtual]

Methods to access the most recent solution vector

Reimplemented from itk::fem::Load.

Definition at line 72 of file itkFEMLoadLandmark.h.

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

Set the force vector

Definition at line 120 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 144 of file itkFEMLoadLandmark.h.

References m_target.

static void itk::fem::FEMLightObject::SkipWhiteSpace ( std::istream &  f  )  [static, inherited]

Helper function that skips all the whitespace and comments in an input stream.

virtual void itk::fem::LoadLandmark::Write ( std::ostream &  f  )  const [virtual]

Write a LoadLandmark object to the output stream

Reimplemented from itk::fem::LoadElement.


Member Data Documentation

const int itk::fem::LoadLandmark::CLID [static]

Class ID for FEM object factory

Reimplemented from itk::fem::LoadElement.

Definition at line 35 of file itkFEMLoadLandmark.h.

Square root of the variance (eta)

Definition at line 41 of file itkFEMLoadLandmark.h.

Referenced by ScalePointAndForce().

Global number of an object (ID of an object) In general the ID's are required to be unique only within a specific type of derived classes (Elements, Nodes, ...) If the GN is not required, it can be ignored. (normally you need the GN when writing or reading objects to/from stream.

Definition at line 165 of file itkFEMLightObject.h.

Referenced by itk::fem::FEMLightObject::FEMLightObject().

Definition at line 55 of file itkFEMLoadLandmark.h.

Referenced by GetForce(), and SetForce().

Point in __local coordinates__ in the undeformed configuration

Definition at line 46 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 67 of file itkFEMLoadLandmark.h.

Referenced by GetSolution().

Definition at line 53 of file itkFEMLoadLandmark.h.

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

Point in __global coordinates__ in the deformed configuration

Definition at line 51 of file itkFEMLoadLandmark.h.

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

const std::string itk::fem::FEMLightObject::whitespaces [static, inherited]

Const string of all whitespace characters. This string is used by SkipWhiteSpace function.

Definition at line 135 of file itkFEMLightObject.h.


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

Generated at Tue Jul 13 2010 03:56:44 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000