18 #ifndef __itkPSMEvents_h 19 #define __itkPSMEvents_h 21 #include "itkEventObject.h" 52 {
return m_ThreadID; }
53 void SetThreadID(
int i)
59 m_ThreadID = v.m_ThreadID;
62 { m_ThreadID = v.m_ThreadID;
return *
this; }
65 virtual const char *
GetEventName()
const {
return "ParticleEvent"; }
67 virtual bool CheckEvent(const ::itk::EventObject* e)
const 68 {
return dynamic_cast<const Self*
>(e); }
70 virtual ::itk::EventObject* MakeObject()
const 93 m_PositionIndex = v.m_PositionIndex;
94 m_DomainIndex = v.m_DomainIndex;
98 ParticleEvent::operator=(v);
99 m_PositionIndex = v.m_PositionIndex;
100 m_DomainIndex = v.m_DomainIndex;
106 { m_PositionIndex = i; }
107 int GetPositionIndex()
const 108 {
return m_PositionIndex; }
112 { m_DomainIndex = i; }
113 int GetDomainIndex()
const 114 {
return m_DomainIndex; }
void SetDomainIndex(int i)
ParticleEventWithIndex(const ParticleEventWithIndex &v)
virtual const char * GetEventName() const
An event class that specializes EventObject for the PSMParticleSystem class.
void SetPositionIndex(int i)
ParticleEvent(const ParticleEvent &v)