ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkFEMElementBase.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Node | Self |
typedef FEMLightObject | Superclass |
Public Member Functions | |
virtual void | ClearDegreesOfFreedom (void) const |
const VectorType & | GetCoordinates (void) const |
void | SetCoordinates (const VectorType &coords) |
DegreeOfFreedomIDType | GetDegreeOfFreedom (unsigned int i) const |
void | SetDegreeOfFreedom (unsigned int i, DegreeOfFreedomIDType dof) const |
Private Attributes | |
VectorType | m_coordinates |
std::vector < DegreeOfFreedomIDType > | m_dof |
typedef double | Float |
typedef FEMPArray< Self > | ArrayType |
static Pointer | New (void) |
virtual const char * | GetNameOfClass () const |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
Node () | |
~Node () | |
typedef std::set< Element * > | SetOfElements |
SetOfElements | m_elements |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
Class that stores information required to define a node.
A node can define a point in space and can hold an arbitrary number of coordinates and the DOFs. Since the only classes that use nodes are the elements, the node class is defined within an element base class.
Definition at line 147 of file itkFEMElementBase.h.
Array class that holds special pointers to the nodes.
Definition at line 201 of file itkFEMElementBase.h.
typedef SmartPointer<const Self> itk::fem::Element::Node::ConstPointer |
Reimplemented from itk::fem::FEMLightObject.
Definition at line 155 of file itkFEMElementBase.h.
typedef double itk::fem::Element::Node::Float |
Floating point precision type.
Definition at line 196 of file itkFEMElementBase.h.
Reimplemented from itk::fem::FEMLightObject.
Definition at line 154 of file itkFEMElementBase.h.
typedef Node itk::fem::Element::Node::Self |
Standard class typedefs.
Reimplemented from itk::fem::FEMLightObject.
Definition at line 152 of file itkFEMElementBase.h.
typedef std::set<Element *> itk::fem::Element::Node::SetOfElements |
List of pointers to elements that use this node. External code is responsible for maintaining the list.
Definition at line 273 of file itkFEMElementBase.h.
Reimplemented from itk::fem::FEMLightObject.
Definition at line 153 of file itkFEMElementBase.h.
itk::fem::Element::Node::Node | ( | ) | [inline] |
Default constructor
Definition at line 206 of file itkFEMElementBase.h.
itk::fem::Element::Node::~Node | ( | ) | [inline] |
Destructor
Definition at line 213 of file itkFEMElementBase.h.
References ClearDegreesOfFreedom(), and m_elements.
virtual void itk::fem::Element::Node::ClearDegreesOfFreedom | ( | void | ) | const [inline, virtual] |
virtual::itk::LightObject::Pointer itk::fem::Element::Node::CreateAnother | ( | void | ) | const [inline, virtual] |
CreateAnother method will clone the existing instance of this type, including its internal member variables.
Reimplemented from itk::LightObject.
Definition at line 177 of file itkFEMElementBase.h.
References itk::fem::FEMLightObject::GetGlobalNumber(), m_coordinates, m_dof, m_elements, and New().
const VectorType& itk::fem::Element::Node::GetCoordinates | ( | void | ) | const [inline] |
Return a reference to a vector that contains coordinates of this node.
Definition at line 224 of file itkFEMElementBase.h.
References m_coordinates.
DegreeOfFreedomIDType itk::fem::Element::Node::GetDegreeOfFreedom | ( | unsigned int | i | ) | const [inline] |
Get DOF IDs associated with this node.
Definition at line 240 of file itkFEMElementBase.h.
References itk::fem::Element::InvalidDegreeOfFreedomID, and m_dof.
virtual const char* itk::fem::Element::Node::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::fem::FEMLightObject.
static Pointer itk::fem::Element::Node::New | ( | void | ) | [inline, static] |
Method for creation through the object factory.
Reimplemented from itk::LightObject.
Definition at line 159 of file itkFEMElementBase.h.
References itk::SmartPointer< TObjectType >::IsNull(), and itk::SmartPointer< TObjectType >::UnRegister().
Referenced by CreateAnother().
virtual void itk::fem::Element::Node::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [inline, protected, virtual] |
List of pointers to elements that use this node. External code is responsible for maintaining the list.
Reimplemented from itk::fem::FEMLightObject.
Definition at line 276 of file itkFEMElementBase.h.
References itk::fem::FEMLightObject::PrintSelf().
void itk::fem::Element::Node::SetCoordinates | ( | const VectorType & | coords | ) | [inline] |
Set coordinates of a node.
Definition at line 232 of file itkFEMElementBase.h.
References m_coordinates.
void itk::fem::Element::Node::SetDegreeOfFreedom | ( | unsigned int | i, |
DegreeOfFreedomIDType | dof | ||
) | const [inline] |
Set DOF IDs associated with this node.
Definition at line 253 of file itkFEMElementBase.h.
References itk::fem::Element::InvalidDegreeOfFreedomID, and m_dof.
Vector object that holds node coordinates.
Definition at line 289 of file itkFEMElementBase.h.
Referenced by CreateAnother(), GetCoordinates(), and SetCoordinates().
std::vector<DegreeOfFreedomIDType> itk::fem::Element::Node::m_dof [mutable, private] |
Array that holds IDs of degrees of freedom that are defined at this node.
Definition at line 295 of file itkFEMElementBase.h.
Referenced by ClearDegreesOfFreedom(), CreateAnother(), GetDegreeOfFreedom(), and SetDegreeOfFreedom().
List of pointers to elements that use this node. External code is responsible for maintaining the list.
Definition at line 274 of file itkFEMElementBase.h.
Referenced by CreateAnother(), and ~Node().