Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::fem::FEMPArray< T > Class Template Reference

Array for FEMP objects. More...

#include <itkFEMPArray.h>

List of all members.

Public Types

typedef T ClassType
typedef ClassType::ConstPointer ClassTypeConstPointer
typedef ClassType::Pointer ClassTypePointer
typedef const SelfConstPointer
typedef SelfPointer
typedef FEMPArray Self
typedef std::vector< FEMP< T > > Superclass

Public Member Functions

ClassTypeConstPointer operator() (int i) const
ClassTypePointer operator() (int i)
int Renumber ()



ClassTypeConstPointer Find (int gn) const
ClassTypePointer Find (int gn)

Detailed Description

template<class T>
class itk::fem::FEMPArray< T >

Array for FEMP objects.

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 37 of file itkFEMPArray.h.


Member Typedef Documentation

template<class T>
typedef T itk::fem::FEMPArray< T >::ClassType

Easy (and required on MSVC) access to the base class of objects inside the array.

Definition at line 60 of file itkFEMPArray.h.

Definition at line 62 of file itkFEMPArray.h.

template<class T>
typedef ClassType::Pointer itk::fem::FEMPArray< T >::ClassTypePointer

Definition at line 61 of file itkFEMPArray.h.

template<class T>
typedef const Self* itk::fem::FEMPArray< T >::ConstPointer

Definition at line 55 of file itkFEMPArray.h.

template<class T>
typedef Self* itk::fem::FEMPArray< T >::Pointer

Dumb pointer typedef support.

Definition at line 54 of file itkFEMPArray.h.

template<class T>
typedef FEMPArray itk::fem::FEMPArray< T >::Self

Standard Self typedef

Definition at line 44 of file itkFEMPArray.h.

template<class T>
typedef std::vector<FEMP<T> > itk::fem::FEMPArray< T >::Superclass

Standard Superclass typedef

Definition at line 49 of file itkFEMPArray.h.


Member Function Documentation

template<class T >
FEMPArray< T >::ClassTypeConstPointer itk::fem::FEMPArray< T >::Find ( int  gn  )  const [inline]

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 140 of file itkFEMPArray.h.

template<class T >
FEMPArray< T >::ClassTypePointer itk::fem::FEMPArray< T >::Find ( int  gn  )  [inline]

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 103 of file itkFEMPArray.h.

template<class T>
ClassTypeConstPointer itk::fem::FEMPArray< T >::operator() ( int  i  )  const [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 83 of file itkFEMPArray.h.

template<class T>
ClassTypePointer itk::fem::FEMPArray< T >::operator() ( int  i  )  [inline]

Returns a pointer to i-th object stored in an array (not a pointer to FEMP of that object).

Definition at line 74 of file itkFEMPArray.h.

template<class T >
int itk::fem::FEMPArray< T >::Renumber (  )  [inline]

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 172 of file itkFEMPArray.h.


The documentation for this class was generated from the following file:

Generated at Sat Apr 17 01:48:14 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000