Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkStdMultiWidget Class Reference

#include <QmitkStdMultiWidget.h>

Inheritance diagram for QmitkStdMultiWidget:
Collaboration diagram for QmitkStdMultiWidget:

Public Types

enum  { PLANE_MODE_SLICING, PLANE_MODE_ROTATION, PLANE_MODE_SWIVEL }
 
enum  {
  LAYOUT_DEFAULT, LAYOUT_2D_IMAGES_UP, LAYOUT_2D_IMAGES_LEFT, LAYOUT_BIG_3D,
  LAYOUT_WIDGET1, LAYOUT_WIDGET2, LAYOUT_WIDGET3, LAYOUT_2X_2D_AND_3D_WIDGET,
  LAYOUT_ROW_WIDGET_3_AND_4, LAYOUT_COLUMN_WIDGET_3_AND_4, LAYOUT_ROW_WIDGET_SMALL3_AND_BIG4, LAYOUT_SMALL_UPPER_WIDGET2_BIG3_AND4,
  LAYOUT_2D_AND_3D_LEFT_2D_RIGHT_WIDGET, LAYOUT_2D_UP_AND_3D_DOWN
}
 
enum  { AXIAL, SAGITTAL, CORONAL, THREE_D }
 

Public Slots

void HandleCrosshairPositionEventDelayed ()
 Receives the signal from HandleCrosshairPositionEvent, executes the StatusBar update. More...
 
void changeLayoutTo2DImagesUp ()
 
void changeLayoutTo2DImagesLeft ()
 
void changeLayoutToDefault ()
 
void changeLayoutToBig3D ()
 
void changeLayoutToWidget1 ()
 
void changeLayoutToWidget2 ()
 
void changeLayoutToWidget3 ()
 
void changeLayoutToRowWidget3And4 ()
 
void changeLayoutToColumnWidget3And4 ()
 
void changeLayoutToRowWidgetSmall3andBig4 ()
 
void changeLayoutToSmallUpperWidget2Big3and4 ()
 
void changeLayoutTo2x2Dand3DWidget ()
 
void changeLayoutToLeft2Dand3DRight2D ()
 
void changeLayoutTo2DUpAnd3DDown ()
 
void Fit ()
 
void InitPositionTracking ()
 
void AddDisplayPlaneSubTree ()
 
void EnableStandardLevelWindow ()
 
void DisableStandardLevelWindow ()
 
bool InitializeStandardViews (const mitk::Geometry3D *geometry)
 
void wheelEvent (QWheelEvent *e) override
 
void mousePressEvent (QMouseEvent *e) override
 
void moveEvent (QMoveEvent *e) override
 
void EnsureDisplayContainsPoint (mitk::BaseRenderer *renderer, const mitk::Point3D &p)
 
void MoveCrossToPosition (const mitk::Point3D &newPosition)
 
void EnableGradientBackground ()
 
void DisableGradientBackground ()
 
void EnableDepartmentLogo ()
 
void DisableDepartmentLogo ()
 
void EnableColoredRectangles ()
 
void DisableColoredRectangles ()
 
void SetWidgetPlaneVisibility (const char *widgetName, bool visible, mitk::BaseRenderer *renderer=NULL)
 
void SetWidgetPlanesVisibility (bool visible, mitk::BaseRenderer *renderer=NULL)
 
void SetWidgetPlanesLocked (bool locked)
 
void SetWidgetPlanesRotationLocked (bool locked)
 
void SetWidgetPlanesRotationLinked (bool link)
 
void SetWidgetPlaneMode (int mode)
 
void SetGradientBackgroundColors (const mitk::Color &upper, const mitk::Color &lower)
 
void SetDepartmentLogoPath (const char *path)
 
void SetWidgetPlaneModeToSlicing (bool activate)
 
void SetWidgetPlaneModeToRotation (bool activate)
 
void SetWidgetPlaneModeToSwivel (bool activate)
 
void OnLayoutDesignChanged (int layoutDesignIndex)
 
void ResetCrosshair ()
 

Signals

void LeftMouseClicked (mitk::Point3D pointValue)
 
void WheelMoved (QWheelEvent *)
 
void WidgetPlanesRotationLinked (bool)
 
void WidgetPlanesRotationEnabled (bool)
 
void ViewsInitialized ()
 
void WidgetPlaneModeSlicing (bool)
 
void WidgetPlaneModeRotation (bool)
 
void WidgetPlaneModeSwivel (bool)
 
void WidgetPlaneModeChange (int)
 
void WidgetNotifyNewCrossHairMode (int)
 
void Moved ()
 

Public Member Functions

 QmitkStdMultiWidget (QWidget *parent=0, Qt::WindowFlags f=0, mitk::RenderingManager *renderingManager=0, mitk::BaseRenderer::RenderingMode::Type renderingMode=mitk::BaseRenderer::RenderingMode::Standard, const QString &name="stdmulti")
 
virtual ~QmitkStdMultiWidget ()
 
mitk::SliceNavigationControllerGetTimeNavigationController ()
 
void RequestUpdate ()
 
void ForceImmediateUpdate ()
 
mitk::MouseModeSwitcherGetMouseModeSwitcher ()
 
QmitkRenderWindowGetRenderWindow1 () const
 
QmitkRenderWindowGetRenderWindow2 () const
 
QmitkRenderWindowGetRenderWindow3 () const
 
QmitkRenderWindowGetRenderWindow4 () const
 
const mitk::Point3D GetCrossPosition () const
 
void EnablePositionTracking ()
 
void DisablePositionTracking ()
 
int GetLayout () const
 
bool GetGradientBackgroundFlag () const
 
mitk::DataNode::Pointer GetWidgetPlane1 ()
 Access node of widget plane 1. More...
 
mitk::DataNode::Pointer GetWidgetPlane2 ()
 Access node of widget plane 2. More...
 
mitk::DataNode::Pointer GetWidgetPlane3 ()
 Access node of widget plane 3. More...
 
mitk::DataNode::Pointer GetWidgetPlane (int id)
 Convenience method to access node of widget planes. More...
 
bool IsColoredRectanglesEnabled () const
 
bool IsDepartmentLogoEnabled () const
 
void InitializeWidget ()
 
void RemovePlanesFromDataStorage ()
 called when the StdMultiWidget is closed to remove the 3 widget planes and the helper node from the DataStorage More...
 
void AddPlanesToDataStorage ()
 
void SetDataStorage (mitk::DataStorage *ds)
 
void HandleCrosshairPositionEvent ()
 Listener to the CrosshairPositionEvent. More...
 
void ActivateMenuWidget (bool state)
 activate Menu Widget. true: activated, false: deactivated More...
 
bool IsMenuWidgetEnabled () const
 
void SetCornerAnnotationVisibility (bool visibility)
 
bool IsCornerAnnotationVisible (void) const
 
void SetDecorationProperties (std::string text, mitk::Color color, int widgetNumber)
 SetCornerAnnotation Create a corner annotation for a widget. More...
 
QmitkRenderWindowGetRenderWindow (unsigned int number)
 GetRenderWindow convinience method to get a widget. More...
 
void SetGradientBackgroundColorForRenderWindow (const mitk::Color &upper, const mitk::Color &lower, unsigned int widgetNumber)
 SetGradientBackgroundColorForRenderWindow background for a widget. More...
 
mitk::Color GetDecorationColor (unsigned int widgetNumber)
 GetDecorationColorForWidget Get the color for annotation, crosshair and rectangle. More...
 
void SetDecorationColor (unsigned int widgetNumber, mitk::Color color)
 SetDecorationColor Set the color of the decoration of the 4 widgets. More...
 
std::string GetCornerAnnotationText (unsigned int widgetNumber)
 GetCornerAnnotationText Getter for corner annotation text. More...
 
std::pair< mitk::Color, mitk::ColorGetGradientColors (unsigned int widgetNumber)
 GetGradientColors Getter for gradientbackground colors. More...
 

Public Attributes

QmitkRenderWindowmitkWidget1
 
QmitkRenderWindowmitkWidget2
 
QmitkRenderWindowmitkWidget3
 
QmitkRenderWindowmitkWidget4
 
QmitkLevelWindowWidgetlevelWindowWidget
 

Protected Member Functions

void UpdateAllWidgets ()
 
void HideAllWidgetToolbars ()
 
mitk::DataNode::Pointer GetTopLayerNode (mitk::DataStorage::SetOfObjects::ConstPointer nodes)
 
vtkSmartPointer< vtkCornerAnnotation > CreateCornerAnnotation (std::string text, mitk::Color color)
 CreateCornerAnnotation helper method to create a corner annotation. More...
 
void FillGradientBackgroundWithBlack ()
 FillGradientBackgroundWithBlack Internal helper method to initialize the gradient background colors with black. More...
 

Protected Attributes

QHBoxLayout * QmitkStdMultiWidgetLayout
 
int m_Layout
 
int m_PlaneMode
 
mitk::RenderingManagerm_RenderingManager
 
mitk::LogoOverlay::Pointer m_LogoRendering
 
bool m_GradientBackgroundFlag
 
mitk::MouseModeSwitcher::Pointer m_MouseModeSwitcher
 
mitk::SliceNavigationControllerm_TimeNavigationController
 
mitk::DataStorage::Pointer m_DataStorage
 
mitk::DataNode::Pointer m_PlaneNode1
 m_PlaneNode1 the 3 helper objects which contain the plane geometry. More...
 
mitk::DataNode::Pointer m_PlaneNode2
 
mitk::DataNode::Pointer m_PlaneNode3
 
mitk::DataNode::Pointer m_ParentNodeForGeometryPlanes
 m_ParentNodeForGeometryPlanes This helper object is added to the datastorage and contains the 3 planes for displaying the image geometry (crosshair and 3D planes). More...
 
mitk::Color m_DecorationColorWidget4
 m_DecorationColorWidget4 color for annotation and rectangle of widget 4. More...
 
std::pair< mitk::Color, mitk::Colorm_GradientBackgroundColors [4]
 m_GradientBackgroundColors Contains the colors of the gradient background. More...
 
QSplitter * m_MainSplit
 
QSplitter * m_LayoutSplit
 
QSplitter * m_SubSplit1
 
QSplitter * m_SubSplit2
 
QWidget * mitkWidget1Container
 
QWidget * mitkWidget2Container
 
QWidget * mitkWidget3Container
 
QWidget * mitkWidget4Container
 
vtkSmartPointer< vtkCornerAnnotation > m_CornerAnnotations [4]
 
vtkSmartPointer< vtkMitkRectanglePropm_RectangleProps [4]
 
bool m_PendingCrosshairPositionEvent
 
bool m_CrosshairNavigationEnabled
 

Detailed Description

Examples:
Step8.cpp.

Definition at line 51 of file QmitkStdMultiWidget.h.

Constructor & Destructor Documentation

Member Function Documentation

void QmitkStdMultiWidget::ActivateMenuWidget ( bool  state)

activate Menu Widget. true: activated, false: deactivated

Definition at line 1915 of file QmitkStdMultiWidget.cpp.

References QmitkRenderWindow::ActivateMenuWidget(), mitkWidget1, mitkWidget2, mitkWidget3, and mitkWidget4.

Referenced by QmitkStdMultiWidget().

void QmitkStdMultiWidget::AddPlanesToDataStorage ( )
void QmitkStdMultiWidget::changeLayoutToRowWidgetSmall3andBig4 ( )
slot
vtkSmartPointer<vtkCornerAnnotation> QmitkStdMultiWidget::CreateCornerAnnotation ( std::string  text,
mitk::Color  color 
)
protected

CreateCornerAnnotation helper method to create a corner annotation.

Parameters
textof the annotation.
colorof the annotation.
Returns
the complete CornerAnnotation.
void QmitkStdMultiWidget::DisableColoredRectangles ( )
slot

Definition at line 1978 of file QmitkStdMultiWidget.cpp.

References m_RectangleProps.

void QmitkStdMultiWidget::DisableDepartmentLogo ( )
slot

Definition at line 1674 of file QmitkStdMultiWidget.cpp.

References m_LogoRendering, and RequestUpdate().

void QmitkStdMultiWidget::DisableGradientBackground ( )
slot
void QmitkStdMultiWidget::DisablePositionTracking ( )

Definition at line 1483 of file QmitkStdMultiWidget.cpp.

Referenced by ~QmitkStdMultiWidget().

void QmitkStdMultiWidget::DisableStandardLevelWindow ( )
slot

Definition at line 1391 of file QmitkStdMultiWidget.cpp.

References levelWindowWidget.

void QmitkStdMultiWidget::EnableColoredRectangles ( )
slot

Definition at line 1970 of file QmitkStdMultiWidget.cpp.

References m_RectangleProps.

void QmitkStdMultiWidget::EnableDepartmentLogo ( )
slot

Definition at line 1668 of file QmitkStdMultiWidget.cpp.

References m_LogoRendering, and RequestUpdate().

void QmitkStdMultiWidget::EnableGradientBackground ( )
slot
void QmitkStdMultiWidget::EnablePositionTracking ( )

Definition at line 1479 of file QmitkStdMultiWidget.cpp.

void QmitkStdMultiWidget::EnableStandardLevelWindow ( )
slot
void QmitkStdMultiWidget::FillGradientBackgroundWithBlack ( )
protected

FillGradientBackgroundWithBlack Internal helper method to initialize the gradient background colors with black.

Definition at line 323 of file QmitkStdMultiWidget.cpp.

References m_GradientBackgroundColors.

Referenced by InitializeWidget().

void QmitkStdMultiWidget::Fit ( )
slot
void QmitkStdMultiWidget::ForceImmediateUpdate ( )
std::string QmitkStdMultiWidget::GetCornerAnnotationText ( unsigned int  widgetNumber)

GetCornerAnnotationText Getter for corner annotation text.

Parameters
widgetNumberthe widget number (0-3).
Returns
The text in the corner annotation.

Definition at line 401 of file QmitkStdMultiWidget.cpp.

References m_CornerAnnotations, and MITK_ERROR.

mitk::Color QmitkStdMultiWidget::GetDecorationColor ( unsigned int  widgetNumber)

GetDecorationColorForWidget Get the color for annotation, crosshair and rectangle.

Parameters
widgetNumberNumber of the renderwindow (0-3).
Returns
Color in mitk format.

Definition at line 344 of file QmitkStdMultiWidget.cpp.

References m_DecorationColorWidget4, m_PlaneNode1, m_PlaneNode2, m_PlaneNode3, and MITK_ERROR.

Referenced by InitializeWidget().

bool QmitkStdMultiWidget::GetGradientBackgroundFlag ( ) const

Definition at line 1643 of file QmitkStdMultiWidget.cpp.

References m_GradientBackgroundFlag.

std::pair< mitk::Color, mitk::Color > QmitkStdMultiWidget::GetGradientColors ( unsigned int  widgetNumber)

GetGradientColors Getter for gradientbackground colors.

Parameters
widgetNumberthe widget number (0-3).
Returns
A pair of colors. First: upper, second: lower.

Definition at line 333 of file QmitkStdMultiWidget.cpp.

References m_GradientBackgroundColors, and MITK_ERROR.

int QmitkStdMultiWidget::GetLayout ( ) const

Definition at line 1638 of file QmitkStdMultiWidget.cpp.

References m_Layout.

mitk::MouseModeSwitcher * QmitkStdMultiWidget::GetMouseModeSwitcher ( )

Definition at line 1991 of file QmitkStdMultiWidget.cpp.

References m_MouseModeSwitcher.

QmitkRenderWindow * QmitkStdMultiWidget::GetRenderWindow ( unsigned int  number)

GetRenderWindow convinience method to get a widget.

Parameters
numberof the widget (0-3)
Returns
The renderwindow widget.

Definition at line 641 of file QmitkStdMultiWidget.cpp.

References GetRenderWindow1(), GetRenderWindow2(), GetRenderWindow3(), GetRenderWindow4(), and MITK_ERROR.

Referenced by DisableGradientBackground(), EnableGradientBackground(), SetDecorationProperties(), SetGradientBackgroundColorForRenderWindow(), and SetGradientBackgroundColors().

QmitkRenderWindow * QmitkStdMultiWidget::GetRenderWindow1 ( ) const
QmitkRenderWindow * QmitkStdMultiWidget::GetRenderWindow2 ( ) const
QmitkRenderWindow * QmitkStdMultiWidget::GetRenderWindow3 ( ) const
QmitkRenderWindow * QmitkStdMultiWidget::GetRenderWindow4 ( ) const
Examples:
Step8.cpp.

Definition at line 1453 of file QmitkStdMultiWidget.cpp.

References mitkWidget4.

Referenced by GetRenderWindow(), and Step8::SetupWidgets().

mitk::SliceNavigationController * QmitkStdMultiWidget::GetTimeNavigationController ( )

Definition at line 1379 of file QmitkStdMultiWidget.cpp.

References m_TimeNavigationController.

mitk::DataNode::Pointer QmitkStdMultiWidget::GetTopLayerNode ( mitk::DataStorage::SetOfObjects::ConstPointer  nodes)
protected
mitk::DataNode::Pointer QmitkStdMultiWidget::GetWidgetPlane ( int  id)

Convenience method to access node of widget planes.

Parameters
idnumber of widget plane to be returned
Returns
DataNode holding widget plane 3

Definition at line 2011 of file QmitkStdMultiWidget.cpp.

References m_PlaneNode1, m_PlaneNode2, and m_PlaneNode3.

mitk::DataNode::Pointer QmitkStdMultiWidget::GetWidgetPlane1 ( )

Access node of widget plane 1.

Returns
DataNode holding widget plane 1

Definition at line 1996 of file QmitkStdMultiWidget.cpp.

References m_PlaneNode1.

Referenced by QmitkRenderWindowMenu::OnCrossHairMenuAboutToShow(), and QmitkRenderWindowMenu::SetCrossHairVisibility().

mitk::DataNode::Pointer QmitkStdMultiWidget::GetWidgetPlane2 ( )

Access node of widget plane 2.

Returns
DataNode holding widget plane 2

Definition at line 2001 of file QmitkStdMultiWidget.cpp.

References m_PlaneNode2.

Referenced by QmitkRenderWindowMenu::OnCrossHairMenuAboutToShow(), and QmitkRenderWindowMenu::SetCrossHairVisibility().

mitk::DataNode::Pointer QmitkStdMultiWidget::GetWidgetPlane3 ( )

Access node of widget plane 3.

Returns
DataNode holding widget plane 3

Definition at line 2006 of file QmitkStdMultiWidget.cpp.

References m_PlaneNode3.

Referenced by QmitkRenderWindowMenu::OnCrossHairMenuAboutToShow(), and QmitkRenderWindowMenu::SetCrossHairVisibility().

void QmitkStdMultiWidget::HandleCrosshairPositionEvent ( )

Listener to the CrosshairPositionEvent.

Ensures the CrosshairPositionEvent is handled only once and at the end of the Qt-Event loop

Definition at line 1512 of file QmitkStdMultiWidget.cpp.

References HandleCrosshairPositionEventDelayed(), and m_PendingCrosshairPositionEvent.

bool QmitkStdMultiWidget::InitializeStandardViews ( const mitk::Geometry3D geometry)
slot
void QmitkStdMultiWidget::InitPositionTracking ( )
slot

Definition at line 1332 of file QmitkStdMultiWidget.cpp.

bool QmitkStdMultiWidget::IsColoredRectanglesEnabled ( ) const

Definition at line 1986 of file QmitkStdMultiWidget.cpp.

References m_RectangleProps.

bool QmitkStdMultiWidget::IsCornerAnnotationVisible ( void  ) const

Definition at line 636 of file QmitkStdMultiWidget.cpp.

References m_CornerAnnotations.

bool QmitkStdMultiWidget::IsDepartmentLogoEnabled ( ) const
bool QmitkStdMultiWidget::IsMenuWidgetEnabled ( ) const
void QmitkStdMultiWidget::LeftMouseClicked ( mitk::Point3D  pointValue)
signal
void QmitkStdMultiWidget::mousePressEvent ( QMouseEvent *  e)
overrideslot

Definition at line 1425 of file QmitkStdMultiWidget.cpp.

void QmitkStdMultiWidget::Moved ( )
signal

Referenced by moveEvent().

void QmitkStdMultiWidget::moveEvent ( QMoveEvent *  e)
overrideslot

Definition at line 1429 of file QmitkStdMultiWidget.cpp.

References Moved().

void QmitkStdMultiWidget::RemovePlanesFromDataStorage ( )

called when the StdMultiWidget is closed to remove the 3 widget planes and the helper node from the DataStorage

Definition at line 422 of file QmitkStdMultiWidget.cpp.

References m_DataStorage, m_ParentNodeForGeometryPlanes, m_PlaneNode1, m_PlaneNode2, and m_PlaneNode3.

void QmitkStdMultiWidget::ResetCrosshair ( )
slot
void QmitkStdMultiWidget::SetCornerAnnotationVisibility ( bool  visibility)

Definition at line 628 of file QmitkStdMultiWidget.cpp.

References m_CornerAnnotations.

void QmitkStdMultiWidget::SetDataStorage ( mitk::DataStorage ds)
void QmitkStdMultiWidget::SetDecorationColor ( unsigned int  widgetNumber,
mitk::Color  color 
)

SetDecorationColor Set the color of the decoration of the 4 widgets.

This is used to color the frame of the renderwindow and the corner annatation. For the first 3 widgets, this color is a property of the helper object nodes which contain the respective plane geometry. For widget 4, this is a member, since there is no data node for this widget.

Definition at line 1928 of file QmitkStdMultiWidget.cpp.

References m_DecorationColorWidget4, m_PlaneNode1, m_PlaneNode2, m_PlaneNode3, and MITK_ERROR.

void QmitkStdMultiWidget::SetDecorationProperties ( std::string  text,
mitk::Color  color,
int  widgetNumber 
)

SetCornerAnnotation Create a corner annotation for a widget.

Parameters
textThe text of the annotation.
colorThe color.
widgetNumberThe widget (0-3).

Definition at line 602 of file QmitkStdMultiWidget.cpp.

References mitk::RenderWindowBase::GetRenderer(), GetRenderWindow(), mitk::BaseRenderer::GetVtkRenderer(), m_CornerAnnotations, m_RectangleProps, and MITK_ERROR.

Referenced by InitializeWidget().

void QmitkStdMultiWidget::SetDepartmentLogoPath ( const char *  path)
slot
void QmitkStdMultiWidget::SetGradientBackgroundColorForRenderWindow ( const mitk::Color upper,
const mitk::Color lower,
unsigned int  widgetNumber 
)

SetGradientBackgroundColorForRenderWindow background for a widget.

If two different input colors are, a gradient background is generated.

Parameters
upperUpper color of the gradient background.
lowerLower color of the gradient background.
widgetNumberThe widget (0-3).

Definition at line 1760 of file QmitkStdMultiWidget.cpp.

References mitk::RenderWindowBase::GetRenderer(), GetRenderWindow(), mitk::BaseRenderer::GetVtkRenderer(), m_GradientBackgroundColors, m_GradientBackgroundFlag, and MITK_ERROR.

void QmitkStdMultiWidget::SetGradientBackgroundColors ( const mitk::Color upper,
const mitk::Color lower 
)
slot
void QmitkStdMultiWidget::SetWidgetPlaneMode ( int  mode)
slot
void QmitkStdMultiWidget::SetWidgetPlaneModeToRotation ( bool  activate)
slot

Definition at line 1804 of file QmitkStdMultiWidget.cpp.

References PLANE_MODE_ROTATION, and SetWidgetPlaneMode().

void QmitkStdMultiWidget::SetWidgetPlaneModeToSlicing ( bool  activate)
slot

Definition at line 1796 of file QmitkStdMultiWidget.cpp.

References PLANE_MODE_SLICING, and SetWidgetPlaneMode().

void QmitkStdMultiWidget::SetWidgetPlaneModeToSwivel ( bool  activate)
slot

Definition at line 1812 of file QmitkStdMultiWidget.cpp.

References PLANE_MODE_SWIVEL, and SetWidgetPlaneMode().

void QmitkStdMultiWidget::SetWidgetPlanesLocked ( bool  locked)
slot
void QmitkStdMultiWidget::SetWidgetPlanesRotationLinked ( bool  link)
slot

Definition at line 1728 of file QmitkStdMultiWidget.cpp.

References WidgetPlanesRotationLinked().

void QmitkStdMultiWidget::SetWidgetPlanesRotationLocked ( bool  locked)
slot
void QmitkStdMultiWidget::SetWidgetPlanesVisibility ( bool  visible,
mitk::BaseRenderer renderer = NULL 
)
slot
void QmitkStdMultiWidget::SetWidgetPlaneVisibility ( const char *  widgetName,
bool  visible,
mitk::BaseRenderer renderer = NULL 
)
slot

Definition at line 1685 of file QmitkStdMultiWidget.cpp.

References m_DataStorage, and mitk::DataNode::SetVisibility().

void QmitkStdMultiWidget::ViewsInitialized ( )
signal
void QmitkStdMultiWidget::wheelEvent ( QWheelEvent *  e)
overrideslot

Definition at line 1420 of file QmitkStdMultiWidget.cpp.

References WheelMoved().

void QmitkStdMultiWidget::WheelMoved ( QWheelEvent *  )
signal

Referenced by wheelEvent().

void QmitkStdMultiWidget::WidgetNotifyNewCrossHairMode ( int  )
signal
void QmitkStdMultiWidget::WidgetPlaneModeChange ( int  )
signal
void QmitkStdMultiWidget::WidgetPlaneModeRotation ( bool  )
signal
void QmitkStdMultiWidget::WidgetPlaneModeSlicing ( bool  )
signal
void QmitkStdMultiWidget::WidgetPlaneModeSwivel ( bool  )
signal
void QmitkStdMultiWidget::WidgetPlanesRotationEnabled ( bool  )
signal
void QmitkStdMultiWidget::WidgetPlanesRotationLinked ( bool  )
signal

Member Data Documentation

vtkSmartPointer<vtkCornerAnnotation> QmitkStdMultiWidget::m_CornerAnnotations[4]
protected
bool QmitkStdMultiWidget::m_CrosshairNavigationEnabled
protected

Definition at line 414 of file QmitkStdMultiWidget.h.

mitk::Color QmitkStdMultiWidget::m_DecorationColorWidget4
protected

m_DecorationColorWidget4 color for annotation and rectangle of widget 4.

For other widgets1-3, the color is a property of the respective data node. There is no node for widget 4, hence, we need an extra member.

Definition at line 392 of file QmitkStdMultiWidget.h.

Referenced by GetDecorationColor(), InitializeWidget(), and SetDecorationColor().

std::pair<mitk::Color, mitk::Color> QmitkStdMultiWidget::m_GradientBackgroundColors[4]
protected

m_GradientBackgroundColors Contains the colors of the gradient background.

Definition at line 398 of file QmitkStdMultiWidget.h.

Referenced by FillGradientBackgroundWithBlack(), GetGradientColors(), InitializeWidget(), and SetGradientBackgroundColorForRenderWindow().

bool QmitkStdMultiWidget::m_GradientBackgroundFlag
protected
mitk::MouseModeSwitcher::Pointer QmitkStdMultiWidget::m_MouseModeSwitcher
protected
mitk::DataNode::Pointer QmitkStdMultiWidget::m_ParentNodeForGeometryPlanes
protected

m_ParentNodeForGeometryPlanes This helper object is added to the datastorage and contains the 3 planes for displaying the image geometry (crosshair and 3D planes).

Definition at line 384 of file QmitkStdMultiWidget.h.

Referenced by AddDisplayPlaneSubTree(), AddPlanesToDataStorage(), InitializeWidget(), and RemovePlanesFromDataStorage().

bool QmitkStdMultiWidget::m_PendingCrosshairPositionEvent
protected
int QmitkStdMultiWidget::m_PlaneMode
protected

Definition at line 361 of file QmitkStdMultiWidget.h.

Referenced by InitializeWidget().

mitk::DataNode::Pointer QmitkStdMultiWidget::m_PlaneNode1
protected
vtkSmartPointer<vtkMitkRectangleProp> QmitkStdMultiWidget::m_RectangleProps[4]
protected
mitk::SliceNavigationController* QmitkStdMultiWidget::m_TimeNavigationController
protected

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