17 #ifndef STEPPER_H_HEADER_INCLUDED_C1E77191
18 #define STEPPER_H_HEADER_INCLUDED_C1E77191
24 #include <itkObject.h>
25 #include <itkObjectFactory.h>
55 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
57 itkGetConstMacro(Pos,
unsigned int);
59 virtual
void SetPos(
unsigned int pos)
65 newPos = (pos > m_Steps - 1 ? m_Steps - 1 : pos);
72 if (this->m_Pos != newPos)
79 itkGetConstMacro(Steps,
unsigned int);
80 itkSetMacro(Steps,
unsigned int);
82 itkGetConstMacro(AutoRepeat,
bool);
83 itkSetMacro(AutoRepeat,
bool);
84 itkBooleanMacro(AutoRepeat);
87 itkSetMacro(PingPong,
bool);
88 itkGetConstMacro(PingPong,
bool);
89 itkBooleanMacro(PingPong);
93 itkSetMacro(InverseDirection,
bool);
94 itkGetConstMacro(InverseDirection,
bool);
95 itkBooleanMacro(InverseDirection);
98 void InvalidateRange();
101 bool HasValidRange()
const;
103 bool HasRange()
const;
105 void SetUnitName(
const char *unitName);
106 const char *GetUnitName()
const;
107 void RemoveUnitName();
108 bool HasUnitName()
const;
112 virtual void Previous();
114 virtual void First();
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Helper class to step through a list.