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
qMRMLModelDisplayNodeWidget Class Reference

#include <Modules/Loadable/Models/Widgets/qMRMLModelDisplayNodeWidget.h>

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

Public Types

typedef qMRMLWidget Superclass
 
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass
 

Properties

bool clippingConfigurationButtonVisible
 

Public Slots

void setBackfaceBrightnessOffset (double newOffset)
 
void setBackfaceHueOffset (double newOffset)
 
void setBackfaceSaturationOffset (double newOffset)
 
void setClipping (bool)
 
void setClippingConfigurationButtonVisible (bool)
 Show/hide "Configure..." button for clipping. More...
 
void setColor (const QColor &)
 
void setCurrentSubjectHierarchyItemID (vtkIdType currentItemID)
 
void setCurrentSubjectHierarchyItemIDs (QList< vtkIdType > currentItemIDs)
 
void setDistanceToColorNode (vtkMRMLNode *)
 
void setEdgeColor (const QColor &)
 
void setEdgeVisibility (bool)
 
void setInterpolation (int)
 
void setLighting (bool)
 
void setLineWidth (double)
 
void setMRMLDisplayNode (vtkMRMLDisplayNode *displayNode)
 Set display node (may be model or folder display node) More...
 
void setMRMLModelDisplayNode (vtkMRMLModelDisplayNode *node)
 Set the model display node. More...
 
void setMRMLModelDisplayNode (vtkMRMLNode *node)
 Utility function to be connected with generic signals. More...
 
void setMRMLScene (vtkMRMLScene *newScene) override
 Set the scene. More...
 
void setOpacity (double)
 
void setPointSize (double)
 
void setRepresentation (int)
 
void setShowFaces (int)
 
void setSliceDisplayMode (int)
 
void setSliceIntersectionOpacity (double)
 
void setSliceIntersectionThickness (int)
 
void setSliceIntersectionVisible (bool)
 
void setVisibility (bool)
 
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...
 

Signals

void clippingConfigurationButtonClicked ()
 Signal sent if clipping configuration button is clicked. More...
 
void clippingToggled (bool)
 Signal sent if user toggles clipping checkbox on the GUI. More...
 
void displayNodeChanged ()
 Signal sent if the any property in the display node is changed. More...
 
void scalarRangeModeValueChanged (vtkMRMLDisplayNode::ScalarRangeFlagType value)
 Signal sent if the auto/manual value is updated. More...
 
- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Public Member Functions

bool clipping () const
 
bool clippingConfigurationButtonVisible () const
 
vtkIdType currentSubjectHierarchyItemID () const
 Get current item (if single selection) More...
 
QList< vtkIdType > currentSubjectHierarchyItemIDs () const
 Get current items (if multi selection) More...
 
vtkMRMLDisplayNodemrmlDisplayNode () const
 Get current display node (may be model or folder display node) More...
 
vtkMRMLModelDisplayNodemrmlModelDisplayNode () const
 Get model display node (if model was selected not folder) More...
 
 qMRMLModelDisplayNodeWidget (QWidget *parent=nullptr)
 
double sliceIntersectionOpacity () const
 
int sliceIntersectionThickness () const
 
bool sliceIntersectionVisible () const
 
bool visibility () const
 
 ~qMRMLModelDisplayNodeWidget () 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=Qt::WindowFlags())
 
 ~qMRMLWidget () override
 

Protected Slots

void updateDisplayNodesFromProperty ()
 
void updateWidgetFromMRML ()
 

Protected Attributes

QScopedPointer< qMRMLModelDisplayNodeWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr
 

Additional Inherited Members

- Static Public Member Functions inherited from qMRMLWidget
static Q_INVOKABLE QPixmap pixmapFromIcon (const QIcon &icon)
 
static Q_INVOKABLE void postInitializeApplication ()
 Initialization that needs to be performed after application object is created. More...
 
static Q_INVOKABLE void preInitializeApplication ()
 

Detailed Description

Definition at line 40 of file qMRMLModelDisplayNodeWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 48 of file qMRMLModelDisplayNodeWidget.h.

Property Documentation

◆ clippingConfigurationButtonVisible

bool qMRMLModelDisplayNodeWidget::clippingConfigurationButtonVisible
readwrite

Definition at line 45 of file qMRMLModelDisplayNodeWidget.h.

Constructor & Destructor Documentation

◆ qMRMLModelDisplayNodeWidget()

qMRMLModelDisplayNodeWidget::qMRMLModelDisplayNodeWidget ( QWidget *  parent = nullptr)

◆ ~qMRMLModelDisplayNodeWidget()

qMRMLModelDisplayNodeWidget::~qMRMLModelDisplayNodeWidget ( )
override

Member Function Documentation

◆ clipping()

bool qMRMLModelDisplayNodeWidget::clipping ( ) const

◆ clippingConfigurationButtonClicked

void qMRMLModelDisplayNodeWidget::clippingConfigurationButtonClicked ( )
signal

Signal sent if clipping configuration button is clicked.

◆ clippingConfigurationButtonVisible()

bool qMRMLModelDisplayNodeWidget::clippingConfigurationButtonVisible ( ) const

◆ clippingToggled

void qMRMLModelDisplayNodeWidget::clippingToggled ( bool  )
signal

Signal sent if user toggles clipping checkbox on the GUI.

◆ currentSubjectHierarchyItemID()

vtkIdType qMRMLModelDisplayNodeWidget::currentSubjectHierarchyItemID ( ) const

Get current item (if single selection)

◆ currentSubjectHierarchyItemIDs()

QList<vtkIdType> qMRMLModelDisplayNodeWidget::currentSubjectHierarchyItemIDs ( ) const

Get current items (if multi selection)

◆ displayNodeChanged

void qMRMLModelDisplayNodeWidget::displayNodeChanged ( )
signal

Signal sent if the any property in the display node is changed.

◆ mrmlDisplayNode()

vtkMRMLDisplayNode* qMRMLModelDisplayNodeWidget::mrmlDisplayNode ( ) const

Get current display node (may be model or folder display node)

◆ mrmlModelDisplayNode()

vtkMRMLModelDisplayNode* qMRMLModelDisplayNodeWidget::mrmlModelDisplayNode ( ) const

Get model display node (if model was selected not folder)

◆ scalarRangeModeValueChanged

void qMRMLModelDisplayNodeWidget::scalarRangeModeValueChanged ( vtkMRMLDisplayNode::ScalarRangeFlagType  value)
signal

Signal sent if the auto/manual value is updated.

◆ setBackfaceBrightnessOffset

void qMRMLModelDisplayNodeWidget::setBackfaceBrightnessOffset ( double  newOffset)
slot

◆ setBackfaceHueOffset

void qMRMLModelDisplayNodeWidget::setBackfaceHueOffset ( double  newOffset)
slot

◆ setBackfaceSaturationOffset

void qMRMLModelDisplayNodeWidget::setBackfaceSaturationOffset ( double  newOffset)
slot

◆ setClipping

void qMRMLModelDisplayNodeWidget::setClipping ( bool  )
slot

◆ setClippingConfigurationButtonVisible

void qMRMLModelDisplayNodeWidget::setClippingConfigurationButtonVisible ( bool  )
slot

Show/hide "Configure..." button for clipping.

◆ setColor

void qMRMLModelDisplayNodeWidget::setColor ( const QColor &  )
slot

◆ setCurrentSubjectHierarchyItemID

void qMRMLModelDisplayNodeWidget::setCurrentSubjectHierarchyItemID ( vtkIdType  currentItemID)
slot

Utility function to be connected with generic signals, it internally shows the 1st display node. can be set from the item of a model node or a folder.

◆ setCurrentSubjectHierarchyItemIDs

void qMRMLModelDisplayNodeWidget::setCurrentSubjectHierarchyItemIDs ( QList< vtkIdType >  currentItemIDs)
slot

Set the current subject hierarchy items. Both model and folder items are supported. In case of multi selection, the first item's display properties are displayed in the widget, but the changed settings are applied on all selected items if applicable.

◆ setDistanceToColorNode

void qMRMLModelDisplayNodeWidget::setDistanceToColorNode ( vtkMRMLNode )
slot

◆ setEdgeColor

void qMRMLModelDisplayNodeWidget::setEdgeColor ( const QColor &  )
slot

◆ setEdgeVisibility

void qMRMLModelDisplayNodeWidget::setEdgeVisibility ( bool  )
slot

◆ setInterpolation

void qMRMLModelDisplayNodeWidget::setInterpolation ( int  )
slot

◆ setLighting

void qMRMLModelDisplayNodeWidget::setLighting ( bool  )
slot

◆ setLineWidth

void qMRMLModelDisplayNodeWidget::setLineWidth ( double  )
slot

◆ setMRMLDisplayNode

void qMRMLModelDisplayNodeWidget::setMRMLDisplayNode ( vtkMRMLDisplayNode displayNode)
slot

Set display node (may be model or folder display node)

◆ setMRMLModelDisplayNode [1/2]

void qMRMLModelDisplayNodeWidget::setMRMLModelDisplayNode ( vtkMRMLModelDisplayNode node)
slot

Set the model display node.

◆ setMRMLModelDisplayNode [2/2]

void qMRMLModelDisplayNodeWidget::setMRMLModelDisplayNode ( vtkMRMLNode node)
slot

Utility function to be connected with generic signals.

◆ setMRMLScene

void qMRMLModelDisplayNodeWidget::setMRMLScene ( vtkMRMLScene newScene)
overrideslot

Set the scene.

◆ setOpacity

void qMRMLModelDisplayNodeWidget::setOpacity ( double  )
slot

◆ setPointSize

void qMRMLModelDisplayNodeWidget::setPointSize ( double  )
slot

◆ setRepresentation

void qMRMLModelDisplayNodeWidget::setRepresentation ( int  )
slot

◆ setShowFaces

void qMRMLModelDisplayNodeWidget::setShowFaces ( int  )
slot

◆ setSliceDisplayMode

void qMRMLModelDisplayNodeWidget::setSliceDisplayMode ( int  )
slot

◆ setSliceIntersectionOpacity

void qMRMLModelDisplayNodeWidget::setSliceIntersectionOpacity ( double  )
slot

◆ setSliceIntersectionThickness

void qMRMLModelDisplayNodeWidget::setSliceIntersectionThickness ( int  )
slot

◆ setSliceIntersectionVisible

void qMRMLModelDisplayNodeWidget::setSliceIntersectionVisible ( bool  )
slot

◆ setVisibility

void qMRMLModelDisplayNodeWidget::setVisibility ( bool  )
slot

◆ sliceIntersectionOpacity()

double qMRMLModelDisplayNodeWidget::sliceIntersectionOpacity ( ) const

◆ sliceIntersectionThickness()

int qMRMLModelDisplayNodeWidget::sliceIntersectionThickness ( ) const

◆ sliceIntersectionVisible()

bool qMRMLModelDisplayNodeWidget::sliceIntersectionVisible ( ) const

◆ updateDisplayNodesFromProperty

void qMRMLModelDisplayNodeWidget::updateDisplayNodesFromProperty ( )
protectedslot

◆ updateWidgetFromMRML

void qMRMLModelDisplayNodeWidget::updateWidgetFromMRML ( )
protectedslot

◆ visibility()

bool qMRMLModelDisplayNodeWidget::visibility ( ) const

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLModelDisplayNodeWidgetPrivate> qMRMLModelDisplayNodeWidget::d_ptr
protected

Definition at line 130 of file qMRMLModelDisplayNodeWidget.h.


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