18 #ifndef __itkPSMAttribute_h 19 #define __itkPSMAttribute_h 21 #include "itkDataObject.h" 23 #include "itkWeakPointer.h" 24 #include "itkCommand.h" 25 #include "itkPSMEvents.h" 34 template<
unsigned int VDimension>
40 typedef DataObject Superclass;
41 typedef SmartPointer<Self> Pointer;
42 typedef SmartPointer<const Self> ConstPointer;
43 typedef WeakPointer<const Self> ConstWeakPointer;
58 EventWithIndex(
false),
59 DomainAddEvent(
false),
60 TransformSetEvent(
false),
61 PrefixTransformSetEvent(
false),
62 NeighborhoodSetEvent(
false),
63 PositionSetEvent(
false),
64 PositionAddEvent(
false),
65 PositionRemoveEvent(
false) {}
69 bool TransformSetEvent;
70 bool PrefixTransformSetEvent;
71 bool NeighborhoodSetEvent;
72 bool PositionSetEvent;
73 bool PositionAddEvent;
74 bool PositionRemoveEvent;
84 virtual void EventWithIndexCallback(Object *,
const EventObject &) {}
85 virtual void DomainAddEventCallback(Object *,
const EventObject &) {}
86 virtual void TransformSetEventCallback(Object *,
const EventObject &) {}
87 virtual void PrefixTransformSetEventCallback(Object *,
const EventObject &) {}
88 virtual void NeighborhoodSetEventCallback(Object *,
const EventObject &) {}
89 virtual void PositionSetEventCallback(Object *,
const EventObject &) {}
90 virtual void PositionAddEventCallback(Object *,
const EventObject &) {}
91 virtual void PositionRemoveEventCallback(Object *,
const EventObject &) {}
97 void PrintSelf(std::ostream& os, Indent indent)
const 98 { Superclass::PrintSelf(os,indent); }
102 void operator=(
const Self&);
virtual void EventCallback(Object *, const EventObject &)
Base class for PSMParticleSystem attribute classes.