#include <itkFEMElementBase.h>
Inheritance diagram for itk::fem::Element::Node:
Public Types | |
typedef Node | Self |
typedef FEMLightObject | Superclass |
typedef Self * | Pointer |
typedef const Self * | ConstPointer |
typedef double | Float |
typedef FEMPArray< Self > | ArrayType |
typedef std::set< Element * > | SetOfElements |
Public Methods | |
virtual Baseclass::Pointer | Clone () const |
virtual int | ClassID () const |
Node () | |
Node (Float x, Float y) | |
Node (Float x, Float y, Float z) | |
const VectorType & | GetCoordinates (void) const |
void | SetCoordinates (const VectorType &coords) |
virtual void | ClearDegreesOfFreedom (void) const |
virtual void | Read (std::istream &f, void *info) |
virtual void | Write (std::ostream &f) const |
DegreeOfFreedomIDType | GetDegreeOfFreedom (unsigned int i) const |
void | SetDegreeOfFreedom (unsigned int i, DegreeOfFreedomIDType dof) const |
Static Public Methods | |
Self::Pointer | New () |
Public Attributes | |
SetOfElements | m_elements |
Static Public Attributes | |
const int | CLID |
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 137 of file itkFEMElementBase.h.
|
Array class that holds special pointers to the nodes. Definition at line 150 of file itkFEMElementBase.h. |
|
Const pointer or SmartPointer to an object. Reimplemented from itk::fem::FEMLightObject. Definition at line 139 of file itkFEMElementBase.h. |
|
Floating point precision type. Definition at line 145 of file itkFEMElementBase.h. |
|
Pointer or SmartPointer to an object. Reimplemented from itk::fem::FEMLightObject. Definition at line 139 of file itkFEMElementBase.h. |
|
Standard Self typedef. Reimplemented from itk::fem::FEMLightObject. Definition at line 139 of file itkFEMElementBase.h. |
|
List of pointers to elements that use this node. External code is responsible for maintaining the list. Definition at line 225 of file itkFEMElementBase.h. Referenced by itk::fem::Node::ClearDegreesOfFreedom(). |
|
Standard Superclass typedef. Reimplemented from itk::fem::FEMLightObject. Definition at line 139 of file itkFEMElementBase.h. |
|
Default constructor Definition at line 165 of file itkFEMElementBase.h. |
|
Create 2D node. Definition at line 170 of file itkFEMElementBase.h. |
|
Create 3D node. Definition at line 176 of file itkFEMElementBase.h. |
|
Virtual function to access the class ID Implements itk::fem::FEMLightObject. Definition at line 139 of file itkFEMElementBase.h. |
|
Definition at line 212 of file itkFEMElementBase.h. References itk::fem::Node::m_elements, and itk::fem::Node::SetOfElements. |
|
Create a new object from the existing one Implements itk::fem::FEMLightObject. |
|
Return a reference to a vector that contains coordinates of this node. Definition at line 183 of file itkFEMElementBase.h. |
|
Get DOF IDs associated with this node. Definition at line 195 of file itkFEMElementBase.h. |
|
Object creation in an itk compatible way Definition at line 139 of file itkFEMElementBase.h. |
|
Read an object data from input stream. Call this member to initialize the data members in the current object by reading data from provided input stream. Derived classes should first call the the parent's read function, to initialize the data from parent. Note that you must manually create the object of desired type using the FEMObjectFactory before you can call read function (this is pretty obvious). In this class only the global number is read from file. Derived classes may require some additional info in order to perform the reading. Pack this info in an object and pass a pointer to it in the info parameter. If you need runtime typechecking, use a polymorphic class and dynamic_cast operator inside the implementation of Read. Reimplemented from itk::fem::FEMLightObject. |
|
Set coordinates of a node. Definition at line 189 of file itkFEMElementBase.h. |
|
Set DOF IDs associated with this node. Definition at line 205 of file itkFEMElementBase.h. |
|
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. |
|
Class ID for FEM object factory Definition at line 139 of file itkFEMElementBase.h. |
|
Definition at line 226 of file itkFEMElementBase.h. Referenced by itk::fem::Node::ClearDegreesOfFreedom(). |