Shapeworks Studio  2.1
Shape analysis software suite
List of all members | Public Types | Public Member Functions
itk::ParticleEvent Class Reference

An event class that specializes EventObject for the PSMParticleSystem class. More...

#include <itkPSMEvents.h>

+ Inheritance diagram for itk::ParticleEvent:
+ Collaboration diagram for itk::ParticleEvent:

Public Types

typedef ParticleEvent Self
 

Public Member Functions

int GetThreadID () const
 
void SetThreadID (int i)
 
 ParticleEvent (const ParticleEvent &v)
 
const ParticleEventoperator= (const ParticleEvent &v)
 
virtual const char * GetEventName () const
 
virtual bool CheckEvent (const ::itk::EventObject *e) const
 
virtual ::itk::EventObject * MakeObject () const
 

Detailed Description

An event class that specializes EventObject for the PSMParticleSystem class.

This is a parent class for all itk::EventObject-derived Particle events. These events also carry thread id information. The PSMParticleSystem class is capable of signaling events for almost any operation on its elements (particle positions, coordinate transformations, etc.). Events can be used to signal updates, for example, to visualization code in applications that use the PSMParticleSystem class.

Definition at line 42 of file itkPSMEvents.h.

Constructor & Destructor Documentation

itk::ParticleEvent::ParticleEvent ( const ParticleEvent v)
inline

Copy constructor and operator=

Definition at line 57 of file itkPSMEvents.h.

57  : EventObject(v)
58  {
59  m_ThreadID = v.m_ThreadID;
60  }

Member Function Documentation

virtual const char* itk::ParticleEvent::GetEventName ( ) const
inlinevirtual

Standard ITK event members.

Definition at line 65 of file itkPSMEvents.h.

65 { return "ParticleEvent"; }
int itk::ParticleEvent::GetThreadID ( ) const
inline

Get/Set the thread responsible for handling this particular event.

Definition at line 51 of file itkPSMEvents.h.

52  { return m_ThreadID; }

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