Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
Medical Imaging Interaction Toolkit

Controls the selection of the slice the associated BaseRenderer will display. More...

#include <mitkSliceNavigationController.h>

Inheritance diagram for mitk::SliceNavigationController:
Collaboration diagram for mitk::SliceNavigationController:

Classes

class  GeometrySendEvent
 
class  GeometrySliceEvent
 
class  GeometryTimeEvent
 
class  GeometryUpdateEvent
 
class  TimeGeometryEvent
 

Public Types

enum  ViewDirection { Axial, Sagittal, Frontal, Original }
 Possible view directions, Original will uses the PlaneGeometry instances in a SlicedGeometry3D provided as input world geometry (by SetInputWorldGeometry). More...
 
typedef SliceNavigationController Self
 
typedef BaseController Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef TimeGeometryEvent TimeSlicedGeometryEvent
 
- Public Types inherited from mitk::BaseController
typedef BaseController Self
 
typedef mitk::OperationActor Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const override
 
virtual const char * GetClassName () const
 
void SetInputWorldGeometry3D (const mitk::BaseGeometry *geometry)
 Set the input world geometry3D out of which the geometries for slicing will be created. More...
 
virtual const mitk::BaseGeometryGetInputWorldGeometry3D ()
 
void SetInputWorldGeometry (const mitk::TimeSlicedGeometry *geometry)
 Set the input world geometry3D out of which the geometries for slicing will be created. More...
 
TimeSlicedGeometryGetInputWorldGeometry ()
 
void SetInputWorldTimeGeometry (const mitk::TimeGeometry *geometry)
 
virtual const mitk::TimeGeometryGetInputWorldTimeGeometry ()
 
virtual const mitk::TimeGeometryGetCreatedWorldGeometry ()
 Access the created geometry. More...
 
 itkSetEnumMacro (ViewDirection, ViewDirection)
 Set the desired view directions. More...
 
 itkGetEnumMacro (ViewDirection, ViewDirection)
 
 itkSetEnumMacro (DefaultViewDirection, ViewDirection)
 Set the default view direction. More...
 
 itkGetEnumMacro (DefaultViewDirection, ViewDirection)
 
const char * GetViewDirectionAsString () const
 
virtual void SetViewDirectionToDefault ()
 
virtual void Update ()
 Do the actual creation and send it to the connected observers (renderers) More...
 
virtual void Update (ViewDirection viewDirection, bool top=true, bool frontside=true, bool rotated=false)
 Extended version of Update, additionally allowing to specify the direction/orientation of the created geometry. More...
 
virtual void SendCreatedWorldGeometry ()
 Send the created geometry to the connected observers (renderers) More...
 
virtual void SendCreatedWorldGeometryUpdate ()
 Tell observers to re-read the currently selected 2D geometry. More...
 
virtual void SendSlice ()
 Send the currently selected slice to the connected observers (renderers) More...
 
virtual void SendTime ()
 Send the currently selected time to the connected observers (renderers) More...
 
 itkEventMacro (UpdateEvent, itk::AnyEvent)
 
template<typename T >
void ConnectGeometrySendEvent (T *receiver)
 
template<typename T >
void ConnectGeometryUpdateEvent (T *receiver)
 
template<typename T >
void ConnectGeometrySliceEvent (T *receiver, bool connectSendEvent=true)
 
template<typename T >
void ConnectGeometryTimeEvent (T *receiver, bool connectSendEvent=true)
 
template<typename T >
void ConnectGeometryEvents (T *receiver)
 
template<typename T >
void Disconnect (T *receiver)
 
virtual void SetGeometry (const itk::EventObject &geometrySliceEvent)
 To connect multiple SliceNavigationController, we can act as an observer ourselves: implemented interface. More...
 
virtual void SetGeometrySlice (const itk::EventObject &geometrySliceEvent)
 To connect multiple SliceNavigationController, we can act as an observer ourselves: implemented interface. More...
 
virtual void SetGeometryTime (const itk::EventObject &geometryTimeEvent)
 To connect multiple SliceNavigationController, we can act as an observer ourselves: implemented interface. More...
 
void SelectSliceByPoint (const mitk::Point3D &point)
 Positions the SNC according to the specified point. More...
 
mitk::TimeGeometryGetCreatedWorldGeometry ()
 Returns the TimeGeometry created by the SNC. More...
 
const mitk::BaseGeometryGetCurrentGeometry3D ()
 Returns the BaseGeometry of the currently selected time step. More...
 
const mitk::PlaneGeometryGetCurrentPlaneGeometry ()
 Returns the currently selected Plane in the current BaseGeometry (if existent). More...
 
void SetRenderer (BaseRenderer *renderer)
 Sets the BaseRenderer associated with this SNC (if any). While the BaseRenderer is not directly used by SNC, this is a convenience method to enable BaseRenderer access via the SNC. More...
 
BaseRendererGetRenderer () const
 Gets the BaseRenderer associated with this SNC (if any). While the BaseRenderer is not directly used by SNC, this is a convenience method to enable BaseRenderer access via the SNC. Returns nullptr if no BaseRenderer has been specified. More...
 
void ReorientSlices (const mitk::Point3D &point, const mitk::Vector3D &normal)
 Re-orients the slice stack. All slices will be oriented to the given normal vector. The given point (world coordinates) defines the selected slice. Careful: The resulting axis vectors are not clearly defined this way. If you want to define them clearly, use ReorientSlices (const mitk::Point3D &point, const mitk::Vector3D &axisVec0, const mitk::Vector3D &axisVec1). More...
 
void ReorientSlices (const mitk::Point3D &point, const mitk::Vector3D &axisVec0, const mitk::Vector3D &axisVec1)
 Re-orients the slice stack so that all planes are oriented according to the given axis vectors. The given Point eventually defines selected slice. More...
 
void ExecuteOperation (Operation *operation) override
 
virtual void SetSliceLocked (bool _arg)
 Feature option to lock planes during mouse interaction. This option flag disables the mouse event which causes the center cross to move near by. More...
 
virtual bool GetSliceLocked ()
 
virtual void SliceLockedOn ()
 
virtual void SliceLockedOff ()
 
virtual void SetSliceRotationLocked (bool _arg)
 Feature option to lock slice rotation. More...
 
virtual bool GetSliceRotationLocked ()
 
virtual void SliceRotationLockedOn ()
 
virtual void SliceRotationLockedOff ()
 
void AdjustSliceStepperRange ()
 Adjusts the numerical range of the slice stepper according to the current geometry orientation of this SNC's SlicedGeometry. More...
 
- Public Member Functions inherited from mitk::BaseController
mitk::StepperGetSlice ()
 Get the Stepper through the slices. More...
 
mitk::StepperGetTime ()
 Get the Stepper through the time. More...
 
- 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 ()
 

Public Attributes

Message1< mitk::Point3DSetCrosshairEvent
 

Protected Types

typedef std::map< void *, std::list< unsigned long > > ObserverTagsMapType
 

Protected Member Functions

 SliceNavigationController ()
 
 ~SliceNavigationController () override
 
virtual void SetTop (bool _arg)
 
virtual bool GetTop ()
 
virtual void TopOn ()
 
virtual void TopOff ()
 
virtual void SetFrontSide (bool _arg)
 
virtual bool GetFrontSide ()
 
virtual void FrontSideOn ()
 
virtual void FrontSideOff ()
 
virtual void SetRotated (bool _arg)
 
virtual bool GetRotated ()
 
virtual void RotatedOn ()
 
virtual void RotatedOff ()
 
- Protected Member Functions inherited from mitk::BaseController
 BaseController ()
 Default Constructor. More...
 
 ~BaseController () override
 Default Destructor. More...
 

Protected Attributes

mitk::BaseGeometry::ConstPointer m_InputWorldGeometry3D
 
mitk::TimeGeometry::ConstPointer m_InputWorldTimeGeometry
 
mitk::TimeGeometry::Pointer m_CreatedWorldGeometry
 
ViewDirection m_ViewDirection
 
ViewDirection m_DefaultViewDirection
 
mitk::RenderingManager::Pointer m_RenderingManager
 
mitk::BaseRendererm_Renderer
 
bool m_Top
 
bool m_FrontSide
 
bool m_Rotated
 
bool m_BlockUpdate
 
bool m_SliceLocked
 
bool m_SliceRotationLocked
 
unsigned int m_OldPos
 
ObserverTagsMapType m_ReceiverToObserverTagsMap
 
- Protected Attributes inherited from mitk::BaseController
Stepper::Pointer m_Time
 
Stepper::Pointer m_Slice
 
unsigned long m_LastUpdateTime
 

Detailed Description

Controls the selection of the slice the associated BaseRenderer will display.

A SliceNavigationController takes a BaseGeometry or a TimeGeometry as input world geometry (TODO what are the exact requirements?) and generates a TimeGeometry as output. The TimeGeometry holds a number of SlicedGeometry3Ds and these in turn hold a series of PlaneGeometries. One of these PlaneGeometries is selected as world geometry for the BaseRenderers associated to 2D views.

The SliceNavigationController holds has Steppers (one for the slice, a second for the time step), which control the selection of a single PlaneGeometry from the TimeGeometry. SliceNavigationController generates ITK events to tell observers, like a BaseRenderer, when the selected slice or timestep changes.

Example:

// Initialization
// Tell the navigator the geometry to be sliced (with geometry a
// BaseGeometry::ConstPointer)
sliceCtrl->SetInputWorldGeometry(geometry.GetPointer());
// Tell the navigator in which direction it shall slice the data
sliceCtrl->SetViewDirection(mitk::SliceNavigationController::Axial);
// Connect one or more BaseRenderer to this navigator, i.e.: events sent
// by the navigator when stepping through the slices (e.g. by
// sliceCtrl->GetSlice()->Next()) will be received by the BaseRenderer
// (in this example only slice-changes, see also ConnectGeometryTimeEvent
// and ConnectGeometryEvents.)
sliceCtrl->ConnectGeometrySliceEvent(renderer.GetPointer());
//create a world geometry and send the information to the connected renderer(s)
sliceCtrl->Update();

You can connect visible navigators to a SliceNavigationController, e.g., a QmitkSliderNavigator (for Qt):

// Create the visible navigator (a slider with a spin-box)
QmitkSliderNavigator* navigator =
new QmitkSliderNavigator(parent, "slidernavigator");
// Connect the navigator to the slice-stepper of the
// SliceNavigationController. For initialization (position, mininal and
// maximal values) the values of the SliceNavigationController are used.
// Thus, accessing methods of a navigator is normally not necessary, since
// everything can be set via the (Qt-independent) SliceNavigationController.
// The QmitkStepperAdapter converts the Qt-signals to Qt-independent
// itk-events.
new QmitkStepperAdapter(navigator, sliceCtrl->GetSlice(), "navigatoradaptor");

If you do not want that all renderwindows are updated when a new slice is selected, you can use a specific RenderingManager, which updates only those renderwindows that should be updated. This is sometimes useful when a 3D view does not need to be updated when the slices in some 2D views are changed. QmitkSliderNavigator (for Qt):

// create a specific RenderingManager
// tell the RenderingManager to update only renderwindow1 and renderwindow2
myManager->AddRenderWindow(renderwindow1);
myManager->AddRenderWindow(renderwindow2);
// tell the SliceNavigationController of renderwindow1 and renderwindow2
// to use the specific RenderingManager instead of the global one
renderwindow1->GetSliceNavigationController()->SetRenderingManager(myManager);
renderwindow2->GetSliceNavigationController()->SetRenderingManager(myManager);

Definition at line 148 of file mitkSliceNavigationController.h.

Member Typedef Documentation

◆ ConstPointer

◆ ObserverTagsMapType

typedef std::map<void *, std::list<unsigned long> > mitk::SliceNavigationController::ObserverTagsMapType
protected

Definition at line 500 of file mitkSliceNavigationController.h.

◆ Pointer

◆ Self

◆ Superclass

◆ TimeSlicedGeometryEvent

Member Enumeration Documentation

◆ ViewDirection

Possible view directions, Original will uses the PlaneGeometry instances in a SlicedGeometry3D provided as input world geometry (by SetInputWorldGeometry).

Enumerator
Axial 
Sagittal 
Frontal 
Original 

Definition at line 162 of file mitkSliceNavigationController.h.

Constructor & Destructor Documentation

◆ SliceNavigationController()

mitk::SliceNavigationController::SliceNavigationController ( )
protected

◆ ~SliceNavigationController()

mitk::SliceNavigationController::~SliceNavigationController ( )
overrideprotected

Definition at line 84 of file mitkSliceNavigationController.cpp.

Member Function Documentation

◆ AdjustSliceStepperRange()

void mitk::SliceNavigationController::AdjustSliceStepperRange ( )

Adjusts the numerical range of the slice stepper according to the current geometry orientation of this SNC's SlicedGeometry.

Definition at line 544 of file mitkSliceNavigationController.cpp.

References GetCurrentGeometry3D(), k(), mitk::BaseController::m_Slice, max(), and min().

Referenced by mitk::SlicedGeometry3D::ExecuteOperation(), and Update().

◆ ConnectGeometryEvents()

template<typename T >
void mitk::SliceNavigationController::ConnectGeometryEvents ( T *  receiver)
inline

Definition at line 355 of file mitkSliceNavigationController.h.

◆ ConnectGeometrySendEvent()

template<typename T >
void mitk::SliceNavigationController::ConnectGeometrySendEvent ( T *  receiver)
inline

Definition at line 311 of file mitkSliceNavigationController.h.

◆ ConnectGeometrySliceEvent()

template<typename T >
void mitk::SliceNavigationController::ConnectGeometrySliceEvent ( T *  receiver,
bool  connectSendEvent = true 
)
inline

Definition at line 331 of file mitkSliceNavigationController.h.

◆ ConnectGeometryTimeEvent()

template<typename T >
void mitk::SliceNavigationController::ConnectGeometryTimeEvent ( T *  receiver,
bool  connectSendEvent = true 
)
inline

◆ ConnectGeometryUpdateEvent()

template<typename T >
void mitk::SliceNavigationController::ConnectGeometryUpdateEvent ( T *  receiver)
inline

Definition at line 321 of file mitkSliceNavigationController.h.

◆ Disconnect()

template<typename T >
void mitk::SliceNavigationController::Disconnect ( T *  receiver)
inline

◆ ExecuteOperation()

◆ FrontSideOff()

virtual void mitk::SliceNavigationController::FrontSideOff ( )
protectedvirtual

◆ FrontSideOn()

virtual void mitk::SliceNavigationController::FrontSideOn ( )
protectedvirtual

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::SliceNavigationController::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::BaseController.

Definition at line 151 of file mitkSliceNavigationController.h.

◆ GetClassName()

virtual const char* mitk::SliceNavigationController::GetClassName ( ) const
virtual

Reimplemented from mitk::BaseController.

◆ GetCreatedWorldGeometry() [1/2]

mitk::TimeGeometry * mitk::SliceNavigationController::GetCreatedWorldGeometry ( )
virtual

◆ GetCreatedWorldGeometry() [2/2]

mitk::TimeGeometry* mitk::SliceNavigationController::GetCreatedWorldGeometry ( )

Returns the TimeGeometry created by the SNC.

◆ GetCurrentGeometry3D()

const mitk::BaseGeometry * mitk::SliceNavigationController::GetCurrentGeometry3D ( )

Returns the BaseGeometry of the currently selected time step.

Definition at line 514 of file mitkSliceNavigationController.cpp.

References mitk::BaseController::GetTime(), and m_CreatedWorldGeometry.

Referenced by mitk::SegTool2D::AddContourmarker(), AdjustSliceStepperRange(), and GetCurrentPlaneGeometry().

◆ GetCurrentPlaneGeometry()

◆ GetFrontSide()

virtual bool mitk::SliceNavigationController::GetFrontSide ( )
protectedvirtual

◆ GetInputWorldGeometry()

TimeSlicedGeometry* mitk::SliceNavigationController::GetInputWorldGeometry ( )

◆ GetInputWorldGeometry3D()

virtual const mitk::BaseGeometry* mitk::SliceNavigationController::GetInputWorldGeometry3D ( )
virtual

◆ GetInputWorldTimeGeometry()

virtual const mitk::TimeGeometry* mitk::SliceNavigationController::GetInputWorldTimeGeometry ( )
virtual

◆ GetRenderer()

BaseRenderer * mitk::SliceNavigationController::GetRenderer ( ) const

Gets the BaseRenderer associated with this SNC (if any). While the BaseRenderer is not directly used by SNC, this is a convenience method to enable BaseRenderer access via the SNC. Returns nullptr if no BaseRenderer has been specified.

Definition at line 543 of file mitkSliceNavigationController.cpp.

References m_Renderer.

Referenced by QmitkSliceBasedInterpolatorWidget::CreateActionToSliceDimension(), QmitkStdMultiWidget::HandleCrosshairPositionEventDelayed(), QmitkSlicesInterpolator::OnSliceChanged(), QmitkSlicesInterpolator::OnSurfaceInterpolationFinished(), and QmitkSliceBasedInterpolatorWidget::UpdateVisibleSuggestion().

◆ GetRotated()

virtual bool mitk::SliceNavigationController::GetRotated ( )
protectedvirtual

◆ GetSliceLocked()

◆ GetSliceRotationLocked()

virtual bool mitk::SliceNavigationController::GetSliceRotationLocked ( )
virtual

◆ GetStaticNameOfClass()

static const char* mitk::SliceNavigationController::GetStaticNameOfClass ( )
inlinestatic

Definition at line 151 of file mitkSliceNavigationController.h.

◆ GetTop()

virtual bool mitk::SliceNavigationController::GetTop ( )
protectedvirtual

◆ GetViewDirectionAsString()

const char * mitk::SliceNavigationController::GetViewDirectionAsString ( ) const

◆ itkEventMacro()

mitk::SliceNavigationController::itkEventMacro ( UpdateEvent  ,
itk::AnyEvent   
)

◆ itkGetEnumMacro() [1/2]

mitk::SliceNavigationController::itkGetEnumMacro ( ViewDirection  ,
ViewDirection   
)

◆ itkGetEnumMacro() [2/2]

mitk::SliceNavigationController::itkGetEnumMacro ( DefaultViewDirection  ,
ViewDirection   
)

◆ itkSetEnumMacro() [1/2]

mitk::SliceNavigationController::itkSetEnumMacro ( ViewDirection  ,
ViewDirection   
)

Set the desired view directions.

See also
ViewDirection
Update(ViewDirection viewDirection, bool top = true, bool frontside = true, bool rotated = false)

◆ itkSetEnumMacro() [2/2]

mitk::SliceNavigationController::itkSetEnumMacro ( DefaultViewDirection  ,
ViewDirection   
)

Set the default view direction.

This is used to re-initialize the view direction of the SNC to the default value with SetViewDirectionToDefault()

See also
ViewDirection
Update(ViewDirection viewDirection, bool top = true, bool frontside = true, bool rotated = false)

◆ New()

static Pointer mitk::SliceNavigationController::New ( )
static

◆ ReorientSlices() [1/2]

void mitk::SliceNavigationController::ReorientSlices ( const mitk::Point3D point,
const mitk::Vector3D normal 
)

Re-orients the slice stack. All slices will be oriented to the given normal vector. The given point (world coordinates) defines the selected slice. Careful: The resulting axis vectors are not clearly defined this way. If you want to define them clearly, use ReorientSlices (const mitk::Point3D &point, const mitk::Vector3D &axisVec0, const mitk::Vector3D &axisVec1).

Definition at line 486 of file mitkSliceNavigationController.cpp.

References m_CreatedWorldGeometry, mitk::OpORIENT, and SendCreatedWorldGeometryUpdate().

◆ ReorientSlices() [2/2]

void mitk::SliceNavigationController::ReorientSlices ( const mitk::Point3D point,
const mitk::Vector3D axisVec0,
const mitk::Vector3D axisVec1 
)

Re-orients the slice stack so that all planes are oriented according to the given axis vectors. The given Point eventually defines selected slice.

Definition at line 500 of file mitkSliceNavigationController.cpp.

References m_CreatedWorldGeometry, mitk::OpORIENT, and SendCreatedWorldGeometryUpdate().

◆ RotatedOff()

virtual void mitk::SliceNavigationController::RotatedOff ( )
protectedvirtual

◆ RotatedOn()

virtual void mitk::SliceNavigationController::RotatedOn ( )
protectedvirtual

◆ SelectSliceByPoint()

◆ SendCreatedWorldGeometry()

void mitk::SliceNavigationController::SendCreatedWorldGeometry ( )
virtual

Send the created geometry to the connected observers (renderers)

Called by Update().

Definition at line 347 of file mitkSliceNavigationController.cpp.

References m_BlockUpdate, and m_CreatedWorldGeometry.

Referenced by Update().

◆ SendCreatedWorldGeometryUpdate()

void mitk::SliceNavigationController::SendCreatedWorldGeometryUpdate ( )
virtual

Tell observers to re-read the currently selected 2D geometry.

Definition at line 357 of file mitkSliceNavigationController.cpp.

References m_BlockUpdate, m_CreatedWorldGeometry, and mitk::BaseController::m_Slice.

Referenced by ExecuteOperation(), ReorientSlices(), and SelectSliceByPoint().

◆ SendSlice()

void mitk::SliceNavigationController::SendSlice ( )
virtual

◆ SendTime()

void mitk::SliceNavigationController::SendTime ( )
virtual

Send the currently selected time to the connected observers (renderers)

Called by Update().

Definition at line 377 of file mitkSliceNavigationController.cpp.

References mitk::RenderingManager::GetInstance(), m_BlockUpdate, m_CreatedWorldGeometry, mitk::BaseController::m_Time, and mitk::RenderingManager::RequestUpdateAll().

Referenced by SliceNavigationController(), and Update().

◆ SetFrontSide()

virtual void mitk::SliceNavigationController::SetFrontSide ( bool  _arg)
protectedvirtual

Referenced by Update().

◆ SetGeometry()

void mitk::SliceNavigationController::SetGeometry ( const itk::EventObject &  geometrySliceEvent)
virtual

To connect multiple SliceNavigationController, we can act as an observer ourselves: implemented interface.

Warning
not implemented

Definition at line 389 of file mitkSliceNavigationController.cpp.

◆ SetGeometrySlice()

void mitk::SliceNavigationController::SetGeometrySlice ( const itk::EventObject &  geometrySliceEvent)
virtual

To connect multiple SliceNavigationController, we can act as an observer ourselves: implemented interface.

Definition at line 411 of file mitkSliceNavigationController.cpp.

References mitk::BaseController::GetSlice(), and mitk::Stepper::SetPos().

◆ SetGeometryTime()

void mitk::SliceNavigationController::SetGeometryTime ( const itk::EventObject &  geometryTimeEvent)
virtual

To connect multiple SliceNavigationController, we can act as an observer ourselves: implemented interface.

Definition at line 390 of file mitkSliceNavigationController.cpp.

References mitk::BaseController::GetTime(), m_CreatedWorldGeometry, mitk::Stepper::SetPos(), and mitk::TimeGeometry::TimeStepToTimePoint().

◆ SetInputWorldGeometry()

void mitk::SliceNavigationController::SetInputWorldGeometry ( const mitk::TimeSlicedGeometry geometry)

Set the input world geometry3D out of which the geometries for slicing will be created.

Any previous previous set input geometry (3D or Time) will be ignored in future.

Deprecated:
(as of 2013_09) Please use TimeGeometry instead of TimeSlicedGeometry. For more information see http://www.mitk.org/Development/Refactoring%20of%20the%20Geometry%20Classes%20-%20Part%201

◆ SetInputWorldGeometry3D()

void mitk::SliceNavigationController::SetInputWorldGeometry3D ( const mitk::BaseGeometry geometry)

Set the input world geometry3D out of which the geometries for slicing will be created.

Any previous previous set input geometry (3D or Time) will be ignored in future.

Definition at line 85 of file mitkSliceNavigationController.cpp.

References mitk::eps, mitk::BaseGeometry::GetBoundingBox(), m_InputWorldGeometry3D, and m_InputWorldTimeGeometry.

◆ SetInputWorldTimeGeometry()

◆ SetRenderer()

void mitk::SliceNavigationController::SetRenderer ( BaseRenderer renderer)

Sets the BaseRenderer associated with this SNC (if any). While the BaseRenderer is not directly used by SNC, this is a convenience method to enable BaseRenderer access via the SNC.

Definition at line 542 of file mitkSliceNavigationController.cpp.

References m_Renderer.

◆ SetRotated()

virtual void mitk::SliceNavigationController::SetRotated ( bool  _arg)
protectedvirtual

Referenced by Update().

◆ SetSliceLocked()

virtual void mitk::SliceNavigationController::SetSliceLocked ( bool  _arg)
virtual

Feature option to lock planes during mouse interaction. This option flag disables the mouse event which causes the center cross to move near by.

◆ SetSliceRotationLocked()

virtual void mitk::SliceNavigationController::SetSliceRotationLocked ( bool  _arg)
virtual

Feature option to lock slice rotation.

This option flag disables separately the rotation of a slice which is implemented in mitkSliceRotator.

◆ SetTop()

virtual void mitk::SliceNavigationController::SetTop ( bool  _arg)
protectedvirtual

Referenced by Update().

◆ SetViewDirectionToDefault()

void mitk::SliceNavigationController::SetViewDirectionToDefault ( )
virtual

◆ SliceLockedOff()

virtual void mitk::SliceNavigationController::SliceLockedOff ( )
virtual

◆ SliceLockedOn()

virtual void mitk::SliceNavigationController::SliceLockedOn ( )
virtual

◆ SliceRotationLockedOff()

virtual void mitk::SliceNavigationController::SliceRotationLockedOff ( )
virtual

◆ SliceRotationLockedOn()

virtual void mitk::SliceNavigationController::SliceRotationLockedOn ( )
virtual

◆ TopOff()

virtual void mitk::SliceNavigationController::TopOff ( )
protectedvirtual

◆ TopOn()

virtual void mitk::SliceNavigationController::TopOn ( )
protectedvirtual

◆ Update() [1/2]

void mitk::SliceNavigationController::Update ( )
virtual

◆ Update() [2/2]

Member Data Documentation

◆ m_BlockUpdate

bool mitk::SliceNavigationController::m_BlockUpdate
protected

◆ m_CreatedWorldGeometry

◆ m_DefaultViewDirection

ViewDirection mitk::SliceNavigationController::m_DefaultViewDirection
protected

Definition at line 472 of file mitkSliceNavigationController.h.

Referenced by SetViewDirectionToDefault().

◆ m_FrontSide

bool mitk::SliceNavigationController::m_FrontSide
protected

Definition at line 491 of file mitkSliceNavigationController.h.

Referenced by SliceNavigationController().

◆ m_InputWorldGeometry3D

mitk::BaseGeometry::ConstPointer mitk::SliceNavigationController::m_InputWorldGeometry3D
protected

◆ m_InputWorldTimeGeometry

mitk::TimeGeometry::ConstPointer mitk::SliceNavigationController::m_InputWorldTimeGeometry
protected

◆ m_OldPos

unsigned int mitk::SliceNavigationController::m_OldPos
protected

Definition at line 498 of file mitkSliceNavigationController.h.

◆ m_ReceiverToObserverTagsMap

ObserverTagsMapType mitk::SliceNavigationController::m_ReceiverToObserverTagsMap
protected

Definition at line 501 of file mitkSliceNavigationController.h.

◆ m_Renderer

mitk::BaseRenderer* mitk::SliceNavigationController::m_Renderer
protected

Definition at line 476 of file mitkSliceNavigationController.h.

Referenced by GetRenderer(), and SetRenderer().

◆ m_RenderingManager

mitk::RenderingManager::Pointer mitk::SliceNavigationController::m_RenderingManager
protected

Definition at line 474 of file mitkSliceNavigationController.h.

◆ m_Rotated

bool mitk::SliceNavigationController::m_Rotated
protected

Definition at line 492 of file mitkSliceNavigationController.h.

Referenced by SliceNavigationController().

◆ m_SliceLocked

bool mitk::SliceNavigationController::m_SliceLocked
protected

Definition at line 496 of file mitkSliceNavigationController.h.

Referenced by ExecuteOperation().

◆ m_SliceRotationLocked

bool mitk::SliceNavigationController::m_SliceRotationLocked
protected

Definition at line 497 of file mitkSliceNavigationController.h.

◆ m_Top

bool mitk::SliceNavigationController::m_Top
protected

Definition at line 488 of file mitkSliceNavigationController.h.

Referenced by SliceNavigationController().

◆ m_ViewDirection

ViewDirection mitk::SliceNavigationController::m_ViewDirection
protected

◆ SetCrosshairEvent


The documentation for this class was generated from the following files: