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

Static Public Member Functions

static Pointer New ()

Protected Member Functions

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

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 funtion 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

Definition at line 75 of file itkFEMLoadElementBase.h.


Member Function Documentation

void itk::fem::LoadElement::AddNextElementInternal ( const Element e) [protected]

Referenced by AddNextElement().

virtual void itk::fem::LoadElement::ApplyLoad ( Element::ConstPointer  ,
Element::VectorType  
) [inline, virtual]
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.

Definition at line 91 of file itkFEMLoadElementBase.h.

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

Definition at line 96 of file itkFEMLoadElementBase.h.

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

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

Reimplemented in itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::LoadLandmark, 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: