Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::fem::LoadElement Class Reference

Virtual element load base class. More...

#include <itkFEMLoadElementBase.h>

Inheritance diagram for itk::fem::LoadElement:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef LoadElement Self
typedef Load Superclass
typedef SelfPointer
typedef const SelfConstPointer
typedef Element::Float Float
typedef std::vector< Element::ConstPointerElementPointersVectorType

Public Member Functions

virtual Baseclass::Pointer Clone () const
virtual int ClassID () const
virtual void Read (std::istream &f, void *info)
void Write (std::ostream &f) const
 LoadElement ()

Static Public Member Functions

Self::Pointer New ()

Static Public Attributes

const int CLID

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

typedef const Self* itk::fem::LoadElement::ConstPointer
 

Const pointer or SmartPointer to an object.

Reimplemented from itk::fem::Load.

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

Definition at line 46 of file itkFEMLoadElementBase.h.

typedef std::vector<Element::ConstPointer> itk::fem::LoadElement::ElementPointersVectorType
 

Type of array of pointers to element objects Definition at line 57 of file itkFEMLoadElementBase.h.

typedef Element::Float itk::fem::LoadElement::Float
 

Float type used in Element and derived classes

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

Definition at line 52 of file itkFEMLoadElementBase.h.

typedef Self* itk::fem::LoadElement::Pointer
 

Pointer or SmartPointer to an object.

Reimplemented from itk::fem::Load.

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

Definition at line 46 of file itkFEMLoadElementBase.h.

typedef LoadElement itk::fem::LoadElement::Self
 

Standard Self typedef.

Reimplemented from itk::fem::Load.

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

Definition at line 46 of file itkFEMLoadElementBase.h.

typedef Load itk::fem::LoadElement::Superclass
 

Standard Superclass typedef.

Reimplemented from itk::fem::Load.

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

Definition at line 46 of file itkFEMLoadElementBase.h.


Constructor & Destructor Documentation

itk::fem::LoadElement::LoadElement  )  [inline]
 

Definition at line 65 of file itkFEMLoadElementBase.h.


Member Function Documentation

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

Virtual function to access the class ID

Implements itk::fem::FEMLightObject.

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

Definition at line 46 of file itkFEMLoadElementBase.h.

virtual Baseclass::Pointer itk::fem::LoadElement::Clone  )  const [virtual]
 

Create a new object from the existing one

Implements itk::fem::FEMLightObject.

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

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

Object creation in an itk compatible way

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

Definition at line 46 of file itkFEMLoadElementBase.h.

virtual void itk::fem::LoadElement::Read std::istream &  f,
void *  info
[virtual]
 

pointers to element objects on which the load acts

Reimplemented from itk::fem::FEMLightObject.

Reimplemented in itk::fem::LoadEdge, itk::fem::LoadGravConst, itk::fem::LoadLandmark, and itk::fem::LoadTest< TClass >.

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

Write an object to the output stream. Call this member to write the data members in the current object to the output stream. Here we also need to know which derived class we actually are, so that we can write the class name. The class name is obtained by calling the virtual ClassID() member function and passing the result to the FEMObjectFactory.

Implementations of Write member funtion in derived classes should first call the parent's implementation of Write and finaly write whatever they need.

Reimplemented from itk::fem::FEMLightObject.

Reimplemented in itk::fem::LoadEdge, itk::fem::LoadGravConst, itk::fem::LoadLandmark, and itk::fem::LoadTest< TClass >.


Member Data Documentation

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

Class ID for FEM object factory

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

Definition at line 46 of file itkFEMLoadElementBase.h.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:22:23 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000