20 #include <itkObject.h>
21 #include <itkObjectFactory.h>
51 itkFactorylessNewMacro(
Self);
53 itkGetConstMacro(Pos,
unsigned int);
55 virtual void SetPos(
unsigned int pos)
61 newPos = (pos > m_Steps - 1 ? m_Steps - 1 : pos);
68 if (this->m_Pos != newPos)
75 itkGetConstMacro(Steps,
unsigned int);
76 itkSetMacro(Steps,
unsigned int);
78 itkGetConstMacro(AutoRepeat,
bool);
79 itkSetMacro(AutoRepeat,
bool);
80 itkBooleanMacro(AutoRepeat);
83 itkSetMacro(PingPong,
bool);
84 itkGetConstMacro(PingPong,
bool);
85 itkBooleanMacro(PingPong);
89 itkSetMacro(InverseDirection,
bool);
90 itkGetConstMacro(InverseDirection,
bool);
91 itkBooleanMacro(InverseDirection);
94 void InvalidateRange();
97 bool HasValidRange()
const;
99 bool HasRange()
const;
101 void SetUnitName(
const char *unitName);
102 const char *GetUnitName()
const;
103 void RemoveUnitName();
104 bool HasUnitName()
const;
108 virtual void Previous();
110 virtual void MoveSlice(
int sliceDelta);
112 virtual void First();