ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkFEMLoadBase.h>
Public Types | |
typedef FEMPArray< Self > | ArrayType |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Load | Self |
typedef FEMLightObject | Superclass |
Public Member Functions | |
Element::ConstPointer | GetElement () const |
virtual const char * | GetNameOfClass () const |
virtual Solution::ConstPointer | GetSolution () |
virtual void | SetSolution (Solution::ConstPointer) |
void | SetElement (Element::ConstPointer el) |
void | SetElement (Element::Pointer el) |
Protected Member Functions | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
Element::ConstPointer | m_Element |
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.
typedef FEMPArray<Self> itk::fem::Load::ArrayType |
Array class that holds special pointers to the load objects
Definition at line 50 of file itkFEMLoadBase.h.
typedef SmartPointer<const Self> itk::fem::Load::ConstPointer |
Reimplemented from itk::fem::FEMLightObject.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadBCMFC, itk::fem::LoadElement, itk::fem::LoadNode, itk::fem::LoadEdge, itk::fem::LoadGrav, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, itk::fem::LoadPoint, and itk::fem::LoadBC.
Definition at line 47 of file itkFEMLoadBase.h.
typedef SmartPointer<Self> itk::fem::Load::Pointer |
Reimplemented from itk::fem::FEMLightObject.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadBCMFC, itk::fem::LoadElement, itk::fem::LoadNode, itk::fem::LoadEdge, itk::fem::LoadGrav, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, itk::fem::LoadPoint, and itk::fem::LoadBC.
Definition at line 46 of file itkFEMLoadBase.h.
typedef Load itk::fem::Load::Self |
Standard class typedefs.
Reimplemented from itk::fem::FEMLightObject.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadBCMFC, itk::fem::LoadElement, itk::fem::LoadNode, itk::fem::LoadEdge, itk::fem::LoadGrav, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, itk::fem::LoadPoint, and itk::fem::LoadBC.
Definition at line 44 of file itkFEMLoadBase.h.
Reimplemented from itk::fem::FEMLightObject.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadBCMFC, itk::fem::LoadElement, itk::fem::LoadNode, itk::fem::LoadEdge, itk::fem::LoadGrav, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, itk::fem::LoadPoint, and itk::fem::LoadBC.
Definition at line 45 of file itkFEMLoadBase.h.
Element::ConstPointer 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] |
Run-time type information (and related methods).
Reimplemented from itk::fem::FEMLightObject.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadBCMFC, itk::fem::LoadElement, itk::fem::LoadNode, itk::fem::LoadEdge, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, itk::fem::LoadGrav, itk::fem::LoadPoint, and itk::fem::LoadBC.
virtual Solution::ConstPointer itk::fem::Load::GetSolution | ( | ) | [inline, virtual] |
Reimplemented in itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, and itk::fem::LoadLandmark.
Definition at line 68 of file itkFEMLoadBase.h.
virtual void itk::fem::Load::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::FEMLightObject.
Reimplemented in itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::LoadLandmark, 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 | ( | Element::ConstPointer | 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.
void itk::fem::Load::SetElement | ( | Element::Pointer | el | ) | [inline] |
Get the element containing the degree of freedom on which the force is being applied.
Definition at line 90 of file itkFEMLoadBase.h.
References itk::SmartPointer< TObjectType >::GetPointer(), and m_Element.
virtual void itk::fem::Load::SetSolution | ( | Solution::ConstPointer | ) | [inline, virtual] |
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.
Element::ConstPointer itk::fem::Load::m_Element [protected] |
Pointer to an element in a system that contains the DOF on which the external force is applied.
Definition at line 102 of file itkFEMLoadBase.h.
Referenced by itk::fem::LoadTest< TClass >::CreateAnother(), itk::fem::LoadLandmark::GetContainedElement(), GetElement(), itk::fem::LoadElement::GetElementArray(), itk::fem::LoadNode::LoadNode(), itk::fem::LoadLandmark::SetContainedElement(), and SetElement().