ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkFEMPArray.h>
Array class that holds special pointers to objects. Every object must contain a variable member of type int called GN (global number). You can search for an object with specific GN within an array.
Definition at line 40 of file itkFEMPArray.h.
Public Types | |
typedef T | ClassType |
typedef ClassType::ConstPointer | ClassTypeConstPointer |
typedef ClassType::Pointer | ClassTypePointer |
typedef const Self * | ConstPointer |
typedef Self * | Pointer |
typedef FEMPArray | Self |
typedef std::vector< FEMP< T > > | Superclass |
Public Member Functions | |
ClassTypePointer | Find (int gn) |
ClassTypeConstPointer | Find (int gn) const |
ClassTypePointer | operator() (int i) |
ClassTypeConstPointer | operator() (int i) const |
int | Renumber () |
Additional Inherited Members | |
Public Attributes inherited from std::vector< T > | |
T | elements |
typedef T itk::fem::FEMPArray< T >::ClassType |
Easy access to the base class of objects inside the array.
Definition at line 63 of file itkFEMPArray.h.
typedef ClassType::ConstPointer itk::fem::FEMPArray< T >::ClassTypeConstPointer |
Definition at line 65 of file itkFEMPArray.h.
typedef ClassType::Pointer itk::fem::FEMPArray< T >::ClassTypePointer |
Definition at line 64 of file itkFEMPArray.h.
typedef const Self* itk::fem::FEMPArray< T >::ConstPointer |
Definition at line 58 of file itkFEMPArray.h.
typedef Self* itk::fem::FEMPArray< T >::Pointer |
Dumb pointer typedef support.
Definition at line 57 of file itkFEMPArray.h.
typedef FEMPArray itk::fem::FEMPArray< T >::Self |
Standard Self typedef
Definition at line 47 of file itkFEMPArray.h.
typedef std::vector<FEMP<T> > itk::fem::FEMPArray< T >::Superclass |
Standard Superclass typedef
Definition at line 52 of file itkFEMPArray.h.
FEMPArray< T >::ClassTypePointer itk::fem::FEMPArray< T >::Find | ( | int | gn | ) |
Finds and returns a pointer to the object with specific global number
Find function for for non-const objects
We din't find an object with that GN...
Return a pointer to the found object.
Definition at line 105 of file itkFEMPArray.h.
FEMPArray< T >::ClassTypeConstPointer itk::fem::FEMPArray< T >::Find | ( | int | gn | ) | const |
Find function for for const objects
We din't find an object with that GN...
Return a pointer to the found object.
Definition at line 139 of file itkFEMPArray.h.
|
inline |
Returns a pointer to i-th object stored in an array (not a pointer to FEMP of that object).
Definition at line 77 of file itkFEMPArray.h.
|
inline |
Returns a pointer to i-th object stored in an array (not a pointer to FEMP of that object). This function works on the const arrays.
Definition at line 86 of file itkFEMPArray.h.
int itk::fem::FEMPArray< T >::Renumber | ( | ) |
Applies new numbers to objects in array so that they are in order (0,1,2,...). This speeds up finding object by global number a lot. The function returns total number of objects in an array.
Definition at line 169 of file itkFEMPArray.h.