Skip to content


This class appears to be an array of GenericContainers (e.g. std::vector) that implements the Observer interface. The array size tracks the number of domains in the system. E.g. one per domain. More...

#include <GenericContainerArray.h>

Inherits from std::vector< GenericContainer< T >::Pointer >, shapeworks::Observer

Public Types

typedef T DataType
typedef GenericContainerArray Self
typedef Observer Superclass
typedef itk::SmartPointer< Self > Pointer
typedef itk::SmartPointer< const Self > ConstPointer
typedef itk::WeakPointer< const Self > ConstWeakPointer

Public Functions

itkNewMacro(Self )
itkTypeMacro(ParticleContainer , Observer )
virtual void DomainAddEventCallback(Object * , const itk::EventObject & )
virtual void PositionAddEventCallback(Object * o, const itk::EventObject & e)
virtual void PositionRemoveEventCallback(Object * , const itk::EventObject & )
void ZeroAllValues()

Protected Functions

virtual ~GenericContainerArray()
void PrintSelf(std::ostream & os, itk::Indent indent) const

Additional inherited members

Public Classes inherited from shapeworks::Observer

struct DefinedCallbacksStruct

Public Functions inherited from shapeworks::Observer

virtual void TransformSetEventCallback(Object * , const itk::EventObject & )
virtual void PrefixTransformSetEventCallback(Object * , const itk::EventObject & )
virtual void NeighborhoodSetEventCallback(Object * , const itk::EventObject & )
virtual void PositionSetEventCallback(Object * , const itk::EventObject & )

Protected Functions inherited from shapeworks::Observer

virtual ~Observer()

Public Attributes inherited from shapeworks::Observer

DefinedCallbacksStruct m_DefinedCallbacks

Detailed Description

template <class T >
class shapeworks::GenericContainerArray;

This class appears to be an array of GenericContainers (e.g. std::vector) that implements the Observer interface. The array size tracks the number of domains in the system. E.g. one per domain.

Public Types Documentation

typedef DataType

typedef T shapeworks::GenericContainerArray< T >::DataType;

Standard class typedefs

typedef Self

typedef GenericContainerArray shapeworks::GenericContainerArray< T >::Self;

typedef Superclass

typedef Observer shapeworks::GenericContainerArray< T >::Superclass;

typedef Pointer

typedef itk::SmartPointer<Self> shapeworks::GenericContainerArray< T >::Pointer;

typedef ConstPointer

typedef itk::SmartPointer<const Self> shapeworks::GenericContainerArray< T >::ConstPointer;

typedef ConstWeakPointer

typedef itk::WeakPointer<const Self> shapeworks::GenericContainerArray< T >::ConstWeakPointer;

Public Functions Documentation

function itkNewMacro


Method for creation through the object factory.

function itkTypeMacro

    ParticleContainer ,

Run-time type information (and related methods).

function DomainAddEventCallback

inline virtual void DomainAddEventCallback(
    Object * ,
    const itk::EventObject & 

Reimplements: shapeworks::Observer::DomainAddEventCallback

Callbacks that may be defined by a subclass. If a subclass defines one of these callback methods, the corresponding flag in m_DefinedCallbacks should be set to true so that the ParticleSystem will know to register the appropriate event with this method.

function PositionAddEventCallback

inline virtual void PositionAddEventCallback(
    Object * o,
    const itk::EventObject & e

Reimplements: shapeworks::Observer::PositionAddEventCallback

function PositionRemoveEventCallback

inline virtual void PositionRemoveEventCallback(
    Object * ,
    const itk::EventObject & 

Reimplements: shapeworks::Observer::PositionRemoveEventCallback

function ZeroAllValues

inline void ZeroAllValues()

Protected Functions Documentation

function GenericContainerArray

inline GenericContainerArray()

function ~GenericContainerArray

inline virtual ~GenericContainerArray()

function PrintSelf

inline void PrintSelf(
    std::ostream & os,
    itk::Indent indent
) const

Updated on 2024-07-12 at 20:10:34 +0000