Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Helper class to step through a list. More...
#include <mitkMultiStepper.h>
Public Member Functions | |
mitkClassMacro (MultiStepper, Stepper) | |
Pointer | Clone () const |
void | AddStepper (Stepper::Pointer stepper, unsigned int repeat=1) |
void | RemoveStepper (Stepper::Pointer stepper, unsigned int repeat=1) |
void | SetPos (unsigned int pos) override |
void | SetSteps (const unsigned int steps) override |
Public Member Functions inherited from mitk::Stepper | |
virtual std::vector< std::string > | GetClassHierarchy () const |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
virtual unsigned int | GetPos () const |
virtual unsigned int | GetSteps () const |
virtual bool | GetAutoRepeat () const |
virtual void | SetAutoRepeat (bool _arg) |
virtual void | AutoRepeatOn () |
virtual void | AutoRepeatOff () |
virtual void | SetPingPong (bool _arg) |
virtual bool | GetPingPong () const |
virtual void | PingPongOn () |
virtual void | PingPongOff () |
virtual void | SetInverseDirection (bool _arg) |
virtual bool | GetInverseDirection () const |
virtual void | InverseDirectionOn () |
virtual void | InverseDirectionOff () |
void | SetRange (ScalarType min, ScalarType max) |
void | InvalidateRange () |
ScalarType | GetRangeMin () const |
ScalarType | GetRangeMax () const |
bool | HasValidRange () const |
void | RemoveRange () |
bool | HasRange () const |
void | SetUnitName (const char *unitName) |
const char * | GetUnitName () const |
void | RemoveUnitName () |
bool | HasUnitName () const |
virtual void | Next () |
virtual void | Previous () |
virtual void | MoveSlice (int sliceDelta) |
virtual void | First () |
virtual void | Last () |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from mitk::Stepper | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Protected Types | |
typedef std::set< Stepper::Pointer > | StepperSet |
typedef std::map< Stepper::Pointer, unsigned int > | ScaleFactorMap |
Protected Member Functions | |
MultiStepper () | |
~MultiStepper () override | |
void | UpdateStepCount () |
Protected Member Functions inherited from mitk::Stepper | |
Stepper () | |
~Stepper () override | |
void | Increase () |
void | Decrease () |
Protected Attributes | |
StepperSet | m_SubSteppers |
ScaleFactorMap | m_ScaleFactors |
Stepper::Pointer | m_LargestRangeStepper |
Protected Attributes inherited from mitk::Stepper | |
unsigned int | m_Pos |
unsigned int | m_Steps |
bool | m_AutoRepeat |
bool | m_PingPong |
bool | m_InverseDirection |
ScalarType | m_RangeMin |
ScalarType | m_RangeMax |
bool | m_RangeValid |
bool | m_HasRange |
std::string | m_UnitName |
bool | m_HasUnitName |
Additional Inherited Members | |
Public Types inherited from mitk::Stepper | |
typedef Stepper | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Helper class to step through a list.
A helper class to step through a list. Does not contain the list, just the position in the list (between 0 and GetSteps()). Provides methods like First (go to the first element), Next (go to the next one), etc.
Definition at line 33 of file mitkMultiStepper.h.
|
protected |
Definition at line 52 of file mitkMultiStepper.h.
|
protected |
Definition at line 51 of file mitkMultiStepper.h.
|
protected |
|
overrideprotected |
void mitk::MultiStepper::AddStepper | ( | Stepper::Pointer | stepper, |
unsigned int | repeat = 1 |
||
) |
Pointer mitk::MultiStepper::Clone | ( | ) | const |
mitk::MultiStepper::mitkClassMacro | ( | MultiStepper | , |
Stepper | |||
) |
|
static |
void mitk::MultiStepper::RemoveStepper | ( | Stepper::Pointer | stepper, |
unsigned int | repeat = 1 |
||
) |
|
overridevirtual |
Reimplemented from mitk::Stepper.
|
overridevirtual |
Reimplemented from mitk::Stepper.
|
protected |
|
protected |
Definition at line 55 of file mitkMultiStepper.h.
|
protected |
Definition at line 54 of file mitkMultiStepper.h.
|
protected |
Definition at line 53 of file mitkMultiStepper.h.