Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Controls the time-related properties of the time stepper, according to the given input world time geometry. More...
#include <mitkTimeNavigationController.h>
Classes | |
class | TimeEvent |
Public Types | |
typedef TimeNavigationController | Self |
typedef BaseController | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::BaseController | |
typedef BaseController | Self |
typedef OperationActor | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
void | SetInputWorldTimeGeometry (const TimeGeometry *geometry) |
Set the input time geometry out of which the time-related properties will be generated. More... | |
virtual const mitk::TimeGeometry * | GetInputWorldTimeGeometry () |
virtual void | Update () |
Do the actual time-related properties extraction and send the currently selected time step to the connected observers (renderers). More... | |
virtual void | SendTime () |
Send the currently selected time step to the connected observers (renderers). More... | |
template<typename T > | |
void | ConnectTimeEvent (T *receiver) |
template<typename T > | |
void | Disconnect (T *receiver) |
TimeStepType | GetSelectedTimeStep () const |
Convenience method that returns the time step currently selected by the controller. More... | |
TimePointType | GetSelectedTimePoint () const |
Convenience method that returns the time point that corresponds to the selected time step. The conversion is done using the time geometry of the controller. If the time geometry is not yet set, this function will always return 0.0. More... | |
Public Member Functions inherited from mitk::BaseController | |
Stepper * | GetStepper () |
Get the stepper through the corresponding dimension. More... | |
const Stepper * | GetStepper () const |
Public Member Functions inherited from mitk::OperationActor | |
itkTypeMacroNoParent (OperationActor) virtual ~OperationActor() | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Static Public Member Functions inherited from mitk::BaseController | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Protected Types | |
typedef std::map< void *, std::list< unsigned long > > | ObserverTagsMapType |
Protected Member Functions | |
TimeNavigationController () | |
~TimeNavigationController () override | |
Protected Member Functions inherited from mitk::BaseController | |
BaseController () | |
Default Constructor. More... | |
~BaseController () override | |
Default Destructor. More... | |
void | ExecuteOperation (Operation *) override |
Protected Attributes | |
TimeGeometry::ConstPointer | m_InputWorldTimeGeometry |
bool | m_BlockUpdate |
ObserverTagsMapType | m_ReceiverToObserverTagsMap |
Protected Attributes inherited from mitk::BaseController | |
Stepper::Pointer | m_Stepper |
unsigned long | m_LastUpdateTime |
Controls the time-related properties of the time stepper, according to the given input world time geometry.
A TimeNavigationController takes a TimeGeometry as input world time geometry and sets the properties of the associated stepper (BaseController). The time-related properties are:
The timestep controls the selection of a specific time point from the TimeGeometry. The TimeNavigationController generates ITK events to tell observers, like a BaseRenderer, when the selected timestep changes.
Example:
Vvisible navigation widgets can be connected to a TimeNavigationController, e.g., a QmitkSliceNavigationWidget (for Qt):
Definition at line 69 of file mitkTimeNavigationController.h.
typedef itk::SmartPointer<const Self> mitk::TimeNavigationController::ConstPointer |
Definition at line 73 of file mitkTimeNavigationController.h.
|
protected |
Definition at line 166 of file mitkTimeNavigationController.h.
Definition at line 73 of file mitkTimeNavigationController.h.
Definition at line 73 of file mitkTimeNavigationController.h.
Definition at line 73 of file mitkTimeNavigationController.h.
|
protected |
|
overrideprotected |
|
inline |
Definition at line 121 of file mitkTimeNavigationController.h.
|
inline |
Definition at line 132 of file mitkTimeNavigationController.h.
|
inlineoverridevirtual |
Reimplemented from mitk::BaseController.
Definition at line 73 of file mitkTimeNavigationController.h.
|
virtual |
Reimplemented from mitk::BaseController.
|
virtual |
TimePointType mitk::TimeNavigationController::GetSelectedTimePoint | ( | ) | const |
Convenience method that returns the time point that corresponds to the selected time step. The conversion is done using the time geometry of the controller. If the time geometry is not yet set, this function will always return 0.0.
TimeStepType mitk::TimeNavigationController::GetSelectedTimeStep | ( | ) | const |
Convenience method that returns the time step currently selected by the controller.
|
inlinestatic |
Definition at line 73 of file mitkTimeNavigationController.h.
|
static |
|
virtual |
Send the currently selected time step to the connected observers (renderers).
Called by Update().
void mitk::TimeNavigationController::SetInputWorldTimeGeometry | ( | const TimeGeometry * | geometry | ) |
Set the input time geometry out of which the time-related properties will be generated.
Any previous set input geometry (3D or Time) will be ignored in the future.
|
virtual |
Do the actual time-related properties extraction and send the currently selected time step to the connected observers (renderers).
|
protected |
Definition at line 164 of file mitkTimeNavigationController.h.
|
protected |
Definition at line 162 of file mitkTimeNavigationController.h.
|
protected |
Definition at line 167 of file mitkTimeNavigationController.h.