ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkFEMLoadElementBase.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef std::vector< const Element * > | ElementPointersVectorType |
typedef Element::Float | Float |
typedef SmartPointer< Self > | Pointer |
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) |
ElementPointersVectorType & | GetElementArray () |
const ElementPointersVectorType & | GetElementArray () 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 |
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.
typedef SmartPointer<const Self> itk::fem::LoadElement::ConstPointer |
Reimplemented from itk::fem::Load.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadEdge, itk::fem::LoadGrav, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, and itk::fem::LoadPoint.
Definition at line 52 of file itkFEMLoadElementBase.h.
typedef std::vector<const Element *> itk::fem::LoadElement::ElementPointersVectorType |
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.
Reimplemented from itk::fem::Load.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadEdge, itk::fem::LoadGrav, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, and itk::fem::LoadPoint.
Definition at line 51 of file itkFEMLoadElementBase.h.
Standard class typedefs.
Reimplemented from itk::fem::Load.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadEdge, itk::fem::LoadGrav, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, and itk::fem::LoadPoint.
Definition at line 49 of file itkFEMLoadElementBase.h.
Reimplemented from itk::fem::Load.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadEdge, itk::fem::LoadGrav, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, and itk::fem::LoadPoint.
Definition at line 50 of file itkFEMLoadElementBase.h.
itk::fem::LoadElement::LoadElement | ( | ) | [inline] |
Definition at line 75 of file itkFEMLoadElementBase.h.
void itk::fem::LoadElement::AddNextElement | ( | Element::ConstPointer | e | ) | [inline] |
Definition at line 78 of file itkFEMLoadElementBase.h.
References AddNextElementInternal(), and itk::SmartPointer< TObjectType >::GetPointer().
void itk::fem::LoadElement::AddNextElement | ( | Element::Pointer | e | ) | [inline] |
Definition at line 82 of file itkFEMLoadElementBase.h.
References AddNextElementInternal(), and itk::SmartPointer< TObjectType >::GetPointer().
void itk::fem::LoadElement::AddNextElementInternal | ( | const Element * | e | ) | [protected] |
Referenced by AddNextElement().
virtual void itk::fem::LoadElement::ApplyLoad | ( | Element::ConstPointer | , |
Element::VectorType & | |||
) | [inline, virtual] |
Apply the load to the specified element
Reimplemented in itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadLandmark, itk::fem::LoadGravConst, itk::fem::LoadPoint, and itk::fem::LoadEdge.
Definition at line 102 of file itkFEMLoadElementBase.h.
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.
const ElementPointersVectorType& itk::fem::LoadElement::GetElementArray | ( | ) | const [inline] |
Definition at line 96 of file itkFEMLoadElementBase.h.
References itk::fem::Load::m_Element.
virtual const char* itk::fem::LoadElement::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::fem::Load.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadEdge, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, itk::fem::LoadGrav, and itk::fem::LoadPoint.
unsigned int itk::fem::LoadElement::GetNumberOfElements | ( | void | ) |
static Pointer itk::fem::LoadElement::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::LightObject.
Reimplemented in itk::fem::LoadGravConst, itk::fem::ImageMetricLoad< TMoving, TFixed >, itk::fem::FiniteDifferenceFunctionLoad< TMoving, TFixed >, itk::fem::LoadEdge, itk::fem::LoadLandmark, itk::fem::LoadTest< TClass >, and itk::fem::LoadPoint.
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().