ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
itk::fem::LoadElement Class Reference

#include <itkFEMLoadElementBase.h>

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

List of all members.

Public Types

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
- Public Types inherited from itk::fem::FEMLightObject
typedef Self Baseclass
- Public Types inherited from itk::LightObject

Public Member Functions

void AddNextElement (Element::ConstPointer e)
void AddNextElement (Element::Pointer e)
virtual void ApplyLoad (Element::ConstPointer, Element::VectorType &)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
Element::ConstPointer GetElement (int i)
ElementPointersVectorTypeGetElementArray ()
const ElementPointersVectorTypeGetElementArray () const
virtual const char * GetNameOfClass () const
unsigned int GetNumberOfElements (void)
 LoadElement ()
- Public Member Functions inherited from itk::fem::Load
const ElementGetElement () const
virtual Solution::ConstPointer GetSolution ()
void SetElement (const Element *el)
virtual void SetSolution (Solution::ConstPointer)
- 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 ()

Protected Member Functions

void AddNextElementInternal (const Element *e)
virtual void PrintSelf (std::ostream &os, Indent indent) const

Additional Inherited Members

- 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
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock

Detailed Description

Virtual element load base class.

This load class defines an external load that acts on elements in a system. The vector with pointers to elements defines, on which elements the load acts. The derived load classes should provide members, that allow the Element's class Fe() member function to uniquely transform the load into nodal loads. No special requirements are enforced on those members.

Ultimately, when assembling the right hand side of the master equation (master force vector) the Element's Fe() member function is called with the pointer to the LoadElement class that is prescribed on that element. Fe() function shuld dynamically cast this pointer to specific load class, which it can handle and return the element's force vector.

Definition at line 44 of file itkFEMLoadElementBase.h.


Member Typedef Documentation

Type of array of pointers to element objects

Definition at line 72 of file itkFEMLoadElementBase.h.

Float type used in Element and derived classes

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

Definition at line 67 of file itkFEMLoadElementBase.h.


Constructor & Destructor Documentation

itk::fem::LoadElement::LoadElement ( )
inline

Definition at line 75 of file itkFEMLoadElementBase.h.


Member Function Documentation

void itk::fem::LoadElement::AddNextElement ( Element::ConstPointer  e)
inline
void itk::fem::LoadElement::AddNextElement ( Element::Pointer  e)
inline
void itk::fem::LoadElement::AddNextElementInternal ( const Element e)
protected

Referenced by AddNextElement().

virtual void itk::fem::LoadElement::ApplyLoad ( Element::ConstPointer  ,
Element::VectorType  
)
inlinevirtual
virtual::itk::LightObject::Pointer itk::fem::LoadElement::CreateAnother ( void  ) const
virtual

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

Reimplemented from itk::LightObject.

Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadEdge, itk::fem::LoadTest< TClass >, itk::fem::LoadLandmark, and itk::fem::LoadPoint.

Element::ConstPointer itk::fem::LoadElement::GetElement ( int  i)
ElementPointersVectorType& itk::fem::LoadElement::GetElementArray ( )
inline

Definition at line 91 of file itkFEMLoadElementBase.h.

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

const ElementPointersVectorType& itk::fem::LoadElement::GetElementArray ( ) const
inline

Definition at line 96 of file itkFEMLoadElementBase.h.

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

virtual const char* itk::fem::LoadElement::GetNameOfClass ( ) const
virtual
unsigned int itk::fem::LoadElement::GetNumberOfElements ( void  )
static Pointer itk::fem::LoadElement::New ( )
static
virtual void itk::fem::LoadElement::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::Load.

Reimplemented in itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::LoadLandmark, itk::fem::LoadNoisyLandmark, itk::fem::LoadGravConst, itk::fem::LoadPoint, itk::fem::LoadEdge, and itk::fem::LoadGrav.

Referenced by itk::fem::LoadGrav::PrintSelf().


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