ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::fem::Load Class Reference

#include <itkFEMLoadBase.h>

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

Detailed Description

General abstract load base class.

All other load classes that can be used in a FEM system are defined by deriving this one. The load class defines an external load that acts on the system. For each specific subtype of load, a separate load abstract class should be derived. For example we have LoadElement, which defines the base for all loads that act on a specific element in a system.

Definition at line 39 of file itkFEMLoadBase.h.

Public Types

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

const ElementGetElement () const
 
virtual const char * GetNameOfClass () 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 Pointer CreateAnother () const
 
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
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, Indent indent) const
 
- Protected Member Functions inherited from itk::fem::FEMLightObject
 FEMLightObject ()
 
 FEMLightObject (const FEMLightObject &o)
 
virtual ~FEMLightObject ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

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
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

Array class that holds special pointers to the load objects

Definition at line 50 of file itkFEMLoadBase.h.

Definition at line 47 of file itkFEMLoadBase.h.

Definition at line 46 of file itkFEMLoadBase.h.

Standard class typedefs.

Definition at line 44 of file itkFEMLoadBase.h.

Definition at line 45 of file itkFEMLoadBase.h.

Member Function Documentation

const Element* itk::fem::Load::GetElement ( ) const
inline

Get the element containing the degree of freedom on which the force is being applied.

Definition at line 77 of file itkFEMLoadBase.h.

References m_Element.

virtual const char* itk::fem::Load::GetNameOfClass ( ) const
virtual
virtual Solution::ConstPointer itk::fem::Load::GetSolution ( )
inlinevirtual
virtual void itk::fem::Load::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::FEMLightObject.

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

void itk::fem::Load::SetElement ( const Element el)
inline

Get the element containing the degree of freedom on which the force is being applied.

Definition at line 86 of file itkFEMLoadBase.h.

References m_Element.

virtual void itk::fem::Load::SetSolution ( Solution::ConstPointer  )
inlinevirtual

Sets the pointer to solution vector. This function is automatically called by the Solver class on every load object.

Some types of external Loads may need access to previous values of solution vector. If a derived class needs that, it should implement this function, and store the passed pointer accordingly. If the result vector is not required, the functionn should be left unimplemented, so that only the dummy implementation in base class is called.

param ptr Pointer to the object of Solution class.

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

Definition at line 67 of file itkFEMLoadBase.h.

Member Data Documentation

Element::ConstPointer itk::fem::Load::m_Element
protected

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