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

#include <Modules/Loadable/VolumeRendering/Widgets/qSlicerVolumeRenderingPresetComboBox.h>

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

Public Types

typedef qSlicerWidget Superclass
 Constructors. More...
 

Properties

bool showIcons
 

Public Slots

void applyPreset (vtkMRMLNode *volumePropertyNode)
 
void setCurrentNode (vtkMRMLNode *node)
 Set selected preset node in the combobox. Triggers update of the volume property node. More...
 
void setCurrentNodeID (const QString &nodeID)
 
void setMRMLVolumePropertyNode (vtkMRMLNode *node)
 
void updatePresetSliderRange ()
 
- Public Slots inherited from qSlicerWidget
void setMRMLScene (vtkMRMLScene *scene) override
 

Signals

void currentNodeChanged (vtkMRMLNode *node)
 
void currentNodeIDChanged (const QString &id)
 
void presetOffsetChanged (double xOffset, double yOffset, bool dontMoveFirstAndLast)
 
- Signals inherited from qSlicerWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Public Member Functions

Q_INVOKABLE vtkMRMLNodecurrentNode () const
 
Q_INVOKABLE QString currentNodeID () const
 
Q_INVOKABLE vtkMRMLVolumePropertyNodemrmlVolumePropertyNode () const
 
 qSlicerVolumeRenderingPresetComboBox (QWidget *parent=nullptr)
 
void setShowIcons (bool show)
 
bool showIcons () const
 
 ~qSlicerVolumeRenderingPresetComboBox () override
 
- Public Member Functions inherited from qSlicerWidget
vtkSlicerApplicationLogicappLogic () const
 
vtkMRMLAbstractLogicmoduleLogic (const QString &moduleName) const
 
 qSlicerWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~qSlicerWidget () override
 
- Public Member Functions inherited from qSlicerObject
vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
 qSlicerObject ()
 
virtual void setMRMLScene (vtkMRMLScene *)
 Set the current MRML scene to the widget. More...
 
virtual ~qSlicerObject ()
 

Protected Slots

void endInteraction ()
 
void interaction ()
 
void offsetPreset (double newPosition)
 
void resetOffset ()
 
void startInteraction ()
 

Protected Attributes

QScopedPointer< qSlicerVolumeRenderingPresetComboBoxPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerWidget
QScopedPointer< qSlicerWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 

Detailed Description

Definition at line 35 of file qSlicerVolumeRenderingPresetComboBox.h.

Member Typedef Documentation

◆ Superclass

Constructors.

Definition at line 43 of file qSlicerVolumeRenderingPresetComboBox.h.

Property Documentation

◆ showIcons

bool qSlicerVolumeRenderingPresetComboBox::showIcons
readwrite

Definition at line 39 of file qSlicerVolumeRenderingPresetComboBox.h.

Constructor & Destructor Documentation

◆ qSlicerVolumeRenderingPresetComboBox()

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

◆ ~qSlicerVolumeRenderingPresetComboBox()

qSlicerVolumeRenderingPresetComboBox::~qSlicerVolumeRenderingPresetComboBox ( )
override

Member Function Documentation

◆ applyPreset

void qSlicerVolumeRenderingPresetComboBox::applyPreset ( vtkMRMLNode volumePropertyNode)
slot

◆ currentNode()

Q_INVOKABLE vtkMRMLNode* qSlicerVolumeRenderingPresetComboBox::currentNode ( ) const

Get selected preset node in the combobox. Note: This node is not in the main MRML scene, but from the private presets scene

◆ currentNodeChanged

void qSlicerVolumeRenderingPresetComboBox::currentNodeChanged ( vtkMRMLNode node)
signal

◆ currentNodeID()

Q_INVOKABLE QString qSlicerVolumeRenderingPresetComboBox::currentNodeID ( ) const

Return the currently selected node id . "" if no node is selected Utility function that is based on currentNode

◆ currentNodeIDChanged

void qSlicerVolumeRenderingPresetComboBox::currentNodeIDChanged ( const QString &  id)
signal

◆ endInteraction

void qSlicerVolumeRenderingPresetComboBox::endInteraction ( )
protectedslot

◆ interaction

void qSlicerVolumeRenderingPresetComboBox::interaction ( )
protectedslot

◆ mrmlVolumePropertyNode()

Q_INVOKABLE vtkMRMLVolumePropertyNode* qSlicerVolumeRenderingPresetComboBox::mrmlVolumePropertyNode ( ) const

Get volume property node controlling volume rendering transfer functions. Its content mirrors the currently selected preset node in the combobox.

◆ offsetPreset

void qSlicerVolumeRenderingPresetComboBox::offsetPreset ( double  newPosition)
protectedslot

◆ presetOffsetChanged

void qSlicerVolumeRenderingPresetComboBox::presetOffsetChanged ( double  xOffset,
double  yOffset,
bool  dontMoveFirstAndLast 
)
signal

Signal notifying about offset change. Handled by

See also
qMRMLVolumePropertyNodeWidget or
ctkVTKVolumePropertyWidget by moving all control points.

◆ resetOffset

void qSlicerVolumeRenderingPresetComboBox::resetOffset ( )
protectedslot

◆ setCurrentNode

void qSlicerVolumeRenderingPresetComboBox::setCurrentNode ( vtkMRMLNode node)
slot

Set selected preset node in the combobox. Triggers update of the volume property node.

◆ setCurrentNodeID

void qSlicerVolumeRenderingPresetComboBox::setCurrentNodeID ( const QString &  nodeID)
slot

Select the node to be current. If nodeID is invalid (or can't be found in the scene), the current node becomes 0.

◆ setMRMLVolumePropertyNode

void qSlicerVolumeRenderingPresetComboBox::setMRMLVolumePropertyNode ( vtkMRMLNode node)
slot

Set volume property node controlling volume rendering transfer functions. Its content mirrors the currently selected preset node in the combobox.

◆ setShowIcons()

void qSlicerVolumeRenderingPresetComboBox::setShowIcons ( bool  show)

◆ showIcons()

bool qSlicerVolumeRenderingPresetComboBox::showIcons ( ) const

◆ startInteraction

void qSlicerVolumeRenderingPresetComboBox::startInteraction ( )
protectedslot

◆ updatePresetSliderRange

void qSlicerVolumeRenderingPresetComboBox::updatePresetSliderRange ( )
slot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerVolumeRenderingPresetComboBoxPrivate> qSlicerVolumeRenderingPresetComboBox::d_ptr
protected

Definition at line 92 of file qSlicerVolumeRenderingPresetComboBox.h.


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