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

#include <itkFEMLoadElementBase.h>

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

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.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef std::vector< const
Element * > 
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

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 Types inherited from itk::LightObject
typedef int InternalReferenceCountType
- Protected Attributes inherited from itk::fem::Load
Element::ConstPointer m_Element

Member Typedef Documentation

Definition at line 52 of file itkFEMLoadElementBase.h.

Type of array of pointers to element objects

Definition at line 72 of file itkFEMLoadElementBase.h.

Float type used in Element and derived classes

Definition at line 67 of file itkFEMLoadElementBase.h.

Definition at line 51 of file itkFEMLoadElementBase.h.

Standard class typedefs.

Definition at line 49 of file itkFEMLoadElementBase.h.

Definition at line 50 of file itkFEMLoadElementBase.h.

Constructor & Destructor Documentation

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

Definition at line 75 of file itkFEMLoadElementBase.h.

Member Function Documentation

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

Referenced by AddNextElement().

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

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::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadTest< TClass >, itk::fem::LoadLandmark, and itk::fem::LoadPoint.

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

Definition at line 91 of file itkFEMLoadElementBase.h.

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

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

Definition at line 96 of file itkFEMLoadElementBase.h.

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

virtual const char* itk::fem::LoadElement::GetNameOfClass ( ) const
unsigned int itk::fem::LoadElement::GetNumberOfElements ( void  )
static Pointer itk::fem::LoadElement::New ( )

Method for creation through the object factory.

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

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: