Shapeworks Studio
2.1
Shape analysis software suite
|
A container class that holds particle position information for the PSMParticleSystem class. More...
#include <itkPSMContainer.h>
Classes | |
class | ConstIterator |
class | Iterator |
struct | ltcmp |
Public Types | |
typedef T | DataType |
typedef PSMContainer | Self |
typedef DataObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef std::map< unsigned int, T, ltcmp > | MapType |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (PSMContainer, DataObject) | |
ConstIterator | GetBegin () const |
ConstIterator | GetEnd () const |
MapType::const_iterator | GetMapBegin () const |
MapType::const_iterator | GetMapEnd () const |
MapType::iterator | GetMapBegin () |
MapType::iterator | GetMapEnd () |
T & | operator[] (const unsigned long int &k) |
const T & | operator[] (const unsigned long int &k) const |
bool | HasIndex (unsigned long int k) const |
unsigned long int | GetSize () const |
MapType::size_type | Erase (const unsigned int &k) |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const |
A container class that holds particle position information for the PSMParticleSystem class.
This class is a wrapper around an stl map data structure that holds particle position information (points). It provides the necessary iterators and less-than comparison methods.
Definition at line 42 of file itkPSMContainer.h.
typedef T itk::PSMContainer< T >::DataType |
Standard class typedefs
Definition at line 46 of file itkPSMContainer.h.
typedef std::map<unsigned int, T, ltcmp> itk::PSMContainer< T >::MapType |
The underlying type of the container structure: an stl map
Definition at line 69 of file itkPSMContainer.h.
|
inline |
Erase the element in the container with index k. Return value is 1 on success.
Definition at line 135 of file itkPSMContainer.h.
|
inline |
Return iterators for container values.
Definition at line 103 of file itkPSMContainer.h.
|
inline |
Return iterators for the underlying map container.
Definition at line 109 of file itkPSMContainer.h.
|
inline |
Number of objects in the container.
Definition at line 131 of file itkPSMContainer.h.
|
inline |
Returns true if index k is in the container and false otherwise.
Definition at line 124 of file itkPSMContainer.h.
itk::PSMContainer< T >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::PSMContainer< T >::itkTypeMacro | ( | PSMContainer< T > | , |
DataObject | |||
) |
Run-time type information (and related methods).
|
inline |
Returns a reference to the object associated with index k. If the index k does not already exist, this method inserts a new entry for k.
Definition at line 120 of file itkPSMContainer.h.