Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Slots | Public Member Functions | Protected Slots
qMRMLThreeDViewControllerWidget Class Reference

#include <Libs/MRML/Widgets/qMRMLThreeDViewControllerWidget.h>

Inheritance diagram for qMRMLThreeDViewControllerWidget:
Inheritance graph
[legend]
Collaboration diagram for qMRMLThreeDViewControllerWidget:
Collaboration graph
[legend]

Public Types

typedef qMRMLViewControllerBar Superclass
 Superclass typedef. More...
 
- Public Types inherited from qMRMLViewControllerBar
enum  LayoutBehavior { Popup =0, Panel }
 
typedef qMRMLWidget Superclass
 Superclass typedef. More...
 
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass
 

Public Slots

void lookFromAxis (const ctkAxesWidget::Axis &axis)
 
void pitchView ()
 
void resetFocalPoint ()
 
void rockView (bool enabled)
 
void rollView ()
 
void set3DAxisLabelVisible (bool visible)
 
void set3DAxisVisible (bool visible)
 
void setAnimationMode (int newAnimationMode)
 
void setBackgroundColor (const QColor &color, QColor color2=QColor())
 If the second color is not set, the first color is used. More...
 
void setBlackBackground ()
 Utility function to change the color of the background to black. More...
 
void setFPSVisible (bool visible)
 
void setLightBlueBackground ()
 Utility function to change the color of the background to blue. More...
 
void setMRMLScene (vtkMRMLScene *newScene) override
 
void setMRMLViewNode (vtkMRMLViewNode *viewNode)
 
void setOrientationMarkerSize (int size)
 
void setOrientationMarkerType (int type)
 
void setOrthographicModeEnabled (bool enabled)
 
void setRulerColor (int color)
 
void setRulerType (int type)
 
void setStereoType (int newStereoType)
 
void setThreeDView (qMRMLThreeDView *threeDView)
 
void setUseDepthPeeling (bool use)
 
void setViewLink (bool linked)
 Link/Unlink the view controls and the cameras across all viewes. More...
 
void setWhiteBackground ()
 Utility function to change the color of the background to white. More...
 
void spinView (bool enabled)
 
void yawView ()
 
void zoomIn ()
 
void zoomOut ()
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...
 

Public Member Functions

 qMRMLThreeDViewControllerWidget (QWidget *parent=nullptr)
 Constructors. More...
 
void setQuadBufferStereoSupportEnabled (bool value)
 
void setViewColor (const QColor &newViewColor)
 Set the color for the view. More...
 
void setViewLabel (const QString &newViewLabel)
 
void setViewLogic (vtkMRMLViewLogic *newViewLogic)
 
void setViewLogics (vtkCollection *logics)
 
QColor viewColor () const
 Get the color for the view. More...
 
QString viewLabel () const
 Get the label for the view (abbreviation for the view name) More...
 
vtkMRMLViewLogicviewLogic () const
 Get ViewLogic. More...
 
 ~qMRMLThreeDViewControllerWidget () override
 
- Public Member Functions inherited from qMRMLViewControllerBar
Q_INVOKABLE QLayout * barLayout ()
 
Q_INVOKABLE QWidget * barWidget ()
 
Q_INVOKABLE QToolButton * pinButton ()
 Push-pin icon that shows additional options when clicked. More...
 
 qMRMLViewControllerBar (QWidget *parent=nullptr)
 Constructors. More...
 
Q_INVOKABLE void setLayoutBehavior (LayoutBehavior behavior)
 
Q_INVOKABLE QLabel * viewLabel ()
 Label that displays the view's name. More...
 
 ~qMRMLViewControllerBar () override
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 
 ~qMRMLWidget () override
 

Protected Slots

void updateViewFromMRMLCamera ()
 
void updateWidgetFromMRMLView ()
 

Additional Inherited Members

- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
 
- Static Public Member Functions inherited from qMRMLWidget
static Q_INVOKABLE void postInitializeApplication ()
 Initialization that needs to be performed after application object is created. More...
 
static Q_INVOKABLE void preInitializeApplication ()
 
- Protected Member Functions inherited from qMRMLViewControllerBar
 qMRMLViewControllerBar (qMRMLViewControllerBarPrivate *pimpl, QWidget *parent=nullptr)
 
- Protected Attributes inherited from qMRMLViewControllerBar
QScopedPointer< qMRMLViewControllerBarPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 42 of file qMRMLThreeDViewControllerWidget.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 49 of file qMRMLThreeDViewControllerWidget.h.

Constructor & Destructor Documentation

◆ qMRMLThreeDViewControllerWidget()

qMRMLThreeDViewControllerWidget::qMRMLThreeDViewControllerWidget ( QWidget *  parent = nullptr)
explicit

Constructors.

◆ ~qMRMLThreeDViewControllerWidget()

qMRMLThreeDViewControllerWidget::~qMRMLThreeDViewControllerWidget ( )
override

Member Function Documentation

◆ lookFromAxis

void qMRMLThreeDViewControllerWidget::lookFromAxis ( const ctkAxesWidget::Axis &  axis)
slot

◆ pitchView

void qMRMLThreeDViewControllerWidget::pitchView ( )
slot

◆ resetFocalPoint

void qMRMLThreeDViewControllerWidget::resetFocalPoint ( )
slot

◆ rockView

void qMRMLThreeDViewControllerWidget::rockView ( bool  enabled)
slot

◆ rollView

void qMRMLThreeDViewControllerWidget::rollView ( )
slot

◆ set3DAxisLabelVisible

void qMRMLThreeDViewControllerWidget::set3DAxisLabelVisible ( bool  visible)
slot

◆ set3DAxisVisible

void qMRMLThreeDViewControllerWidget::set3DAxisVisible ( bool  visible)
slot

◆ setAnimationMode

void qMRMLThreeDViewControllerWidget::setAnimationMode ( int  newAnimationMode)
slot

◆ setBackgroundColor

void qMRMLThreeDViewControllerWidget::setBackgroundColor ( const QColor &  color,
QColor  color2 = QColor() 
)
slot

If the second color is not set, the first color is used.

◆ setBlackBackground

void qMRMLThreeDViewControllerWidget::setBlackBackground ( )
slot

Utility function to change the color of the background to black.

◆ setFPSVisible

void qMRMLThreeDViewControllerWidget::setFPSVisible ( bool  visible)
slot

Show or hide the FPS in the lower right corner. False by default.

◆ setLightBlueBackground

void qMRMLThreeDViewControllerWidget::setLightBlueBackground ( )
slot

Utility function to change the color of the background to blue.

◆ setMRMLScene

void qMRMLThreeDViewControllerWidget::setMRMLScene ( vtkMRMLScene newScene)
overrideslot

◆ setMRMLViewNode

void qMRMLThreeDViewControllerWidget::setMRMLViewNode ( vtkMRMLViewNode viewNode)
slot

◆ setOrientationMarkerSize

void qMRMLThreeDViewControllerWidget::setOrientationMarkerSize ( int  size)
slot

◆ setOrientationMarkerType

void qMRMLThreeDViewControllerWidget::setOrientationMarkerType ( int  type)
slot

◆ setOrthographicModeEnabled

void qMRMLThreeDViewControllerWidget::setOrthographicModeEnabled ( bool  enabled)
slot

◆ setQuadBufferStereoSupportEnabled()

void qMRMLThreeDViewControllerWidget::setQuadBufferStereoSupportEnabled ( bool  value)

◆ setRulerColor

void qMRMLThreeDViewControllerWidget::setRulerColor ( int  color)
slot

◆ setRulerType

void qMRMLThreeDViewControllerWidget::setRulerType ( int  type)
slot

◆ setStereoType

void qMRMLThreeDViewControllerWidget::setStereoType ( int  newStereoType)
slot

◆ setThreeDView

void qMRMLThreeDViewControllerWidget::setThreeDView ( qMRMLThreeDView threeDView)
slot

◆ setUseDepthPeeling

void qMRMLThreeDViewControllerWidget::setUseDepthPeeling ( bool  use)
slot

Use or not depth peeling in the first renderer. False by default.

◆ setViewColor()

void qMRMLThreeDViewControllerWidget::setViewColor ( const QColor &  newViewColor)

Set the color for the view.

◆ setViewLabel()

void qMRMLThreeDViewControllerWidget::setViewLabel ( const QString &  newViewLabel)

Set the label for the 3D view (abbreviation for the view name)

◆ setViewLink

void qMRMLThreeDViewControllerWidget::setViewLink ( bool  linked)
slot

Link/Unlink the view controls and the cameras across all viewes.

◆ setViewLogic()

void qMRMLThreeDViewControllerWidget::setViewLogic ( vtkMRMLViewLogic newViewLogic)

Set newViewLogic Use if two instances of the controller need to observe the same logic.

◆ setViewLogics()

void qMRMLThreeDViewControllerWidget::setViewLogics ( vtkCollection *  logics)

TODO: Ideally the view logics should be retrieved by the viewLogic until then, we manually set them.

◆ setWhiteBackground

void qMRMLThreeDViewControllerWidget::setWhiteBackground ( )
slot

Utility function to change the color of the background to white.

◆ spinView

void qMRMLThreeDViewControllerWidget::spinView ( bool  enabled)
slot

◆ updateViewFromMRMLCamera

void qMRMLThreeDViewControllerWidget::updateViewFromMRMLCamera ( )
protectedslot

◆ updateWidgetFromMRMLView

void qMRMLThreeDViewControllerWidget::updateWidgetFromMRMLView ( )
protectedslot

◆ viewColor()

QColor qMRMLThreeDViewControllerWidget::viewColor ( ) const

Get the color for the view.

◆ viewLabel()

QString qMRMLThreeDViewControllerWidget::viewLabel ( ) const

Get the label for the view (abbreviation for the view name)

◆ viewLogic()

vtkMRMLViewLogic* qMRMLThreeDViewControllerWidget::viewLogic ( ) const

Get ViewLogic.

◆ yawView

void qMRMLThreeDViewControllerWidget::yawView ( )
slot

◆ zoomIn

void qMRMLThreeDViewControllerWidget::zoomIn ( )
slot

◆ zoomOut

void qMRMLThreeDViewControllerWidget::zoomOut ( )
slot

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