Slicer  4.8
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

enum  ControlMode { Data = 0, LUT = 1, DataType = 2, Manual = 3 }
 

Properties

double maximumValue
 
double minimumValue
 
ControlMode scalarRangeMode
 

Public Slots

void setActiveScalarName (const QString &)
 
void setClipping (bool)
 
void setColor (const QColor &)
 
void setDistanceToColorNode (vtkMRMLNode *)
 
void setEdgeColor (const QColor &)
 
void setEdgeVisibility (bool)
 
void setInterpolation (int)
 
void setLighting (bool)
 
void setLineWidth (double)
 
void setMaximumValue (double max)
 
void setMinimumValue (double min)
 Set min/max of scalar range. More...
 
void setMRMLModelDisplayNode (vtkMRMLModelDisplayNode *node)
 Set the volume node to display. More...
 
void setMRMLModelDisplayNode (vtkMRMLNode *node)
 Utility function to be connected with generic signals. More...
 
void setMRMLModelOrHierarchyNode (vtkMRMLNode *modelNode)
 
void setOpacity (double)
 
void setPointSize (double)
 
void setRepresentation (int)
 
void setScalarRangeMode (int scalarRangeMode)
 Set Auto/Manual mode. More...
 
void setScalarsColorNode (vtkMRMLNode *)
 
void setScalarsColorNode (vtkMRMLColorNode *)
 
void setScalarsDisplayRange (double min, double max)
 
void setScalarsVisibility (bool)
 
void setShowFaces (int)
 
void setSliceDisplayMode (int)
 
void setSliceIntersectionOpacity (double)
 
void setSliceIntersectionThickness (int)
 
void setSliceIntersectionVisible (bool)
 
void setThresholdRange (double min, double max)
 
void setTresholdEnabled (bool b)
 
void setVisibility (bool)
 

Signals

void minMaxValuesChanged (double min, double max)
 Signal sent if the min/max value is updated. More...
 
void scalarRangeModeValueChanged (ControlMode value)
 Signal sent if the auto/manual value is updated. More...
 

Public Member Functions

QString activeScalarName () const
 
bool clipping () const
 
double maximumValue () const
 Get maximum of the scalar display range. More...
 
double minimumValue () const
 Get minimum of the scalar display range. More...
 
vtkMRMLNodemrmlDisplayableNode () const
 
vtkMRMLModelDisplayNodemrmlModelDisplayNode () const
 
 qMRMLModelDisplayNodeWidget (QWidget *parent=0)
 
ControlMode scalarRangeMode () const
 
vtkMRMLColorNodescalarsColorNode () const
 
bool scalarsVisibility () const
 
void setScalarRangeMode (ControlMode autoScalarRange)
 Set scalar range mode. More...
 
double sliceIntersectionOpacity () const
 
int sliceIntersectionThickness () const
 
bool sliceIntersectionVisible () const
 
bool visibility () const
 
virtual ~qMRMLModelDisplayNodeWidget ()
 

Protected Slots

vtkMRMLSelectionNodegetSelectionNode (vtkMRMLScene *mrmlScene)
 
void updateNodeFromProperty ()
 
void updateWidgetFromMRML ()
 

Protected Attributes

QScopedPointer< qMRMLModelDisplayNodeWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 40 of file qMRMLModelDisplayNodeWidget.h.

Member Enumeration Documentation

◆ ControlMode

Enumerator
Data 
LUT 
DataType 
Manual 

Definition at line 68 of file qMRMLModelDisplayNodeWidget.h.

Property Documentation

◆ maximumValue

double qMRMLModelDisplayNodeWidget::maximumValue
readwrite

Definition at line 47 of file qMRMLModelDisplayNodeWidget.h.

◆ minimumValue

double qMRMLModelDisplayNodeWidget::minimumValue
readwrite

Definition at line 46 of file qMRMLModelDisplayNodeWidget.h.

◆ scalarRangeMode

ControlMode qMRMLModelDisplayNodeWidget::scalarRangeMode
readwrite

Definition at line 45 of file qMRMLModelDisplayNodeWidget.h.

Constructor & Destructor Documentation

◆ qMRMLModelDisplayNodeWidget()

qMRMLModelDisplayNodeWidget::qMRMLModelDisplayNodeWidget ( QWidget *  parent = 0)

◆ ~qMRMLModelDisplayNodeWidget()

virtual qMRMLModelDisplayNodeWidget::~qMRMLModelDisplayNodeWidget ( )
virtual

Member Function Documentation

◆ activeScalarName()

QString qMRMLModelDisplayNodeWidget::activeScalarName ( ) const

◆ clipping()

bool qMRMLModelDisplayNodeWidget::clipping ( ) const

◆ getSelectionNode

vtkMRMLSelectionNode* qMRMLModelDisplayNodeWidget::getSelectionNode ( vtkMRMLScene mrmlScene)
protectedslot

◆ maximumValue()

double qMRMLModelDisplayNodeWidget::maximumValue ( ) const

Get maximum of the scalar display range.

◆ minimumValue()

double qMRMLModelDisplayNodeWidget::minimumValue ( ) const

Get minimum of the scalar display range.

◆ minMaxValuesChanged

void qMRMLModelDisplayNodeWidget::minMaxValuesChanged ( double  min,
double  max 
)
signal

Signal sent if the min/max value is updated.

◆ mrmlDisplayableNode()

vtkMRMLNode* qMRMLModelDisplayNodeWidget::mrmlDisplayableNode ( ) const

◆ mrmlModelDisplayNode()

vtkMRMLModelDisplayNode* qMRMLModelDisplayNodeWidget::mrmlModelDisplayNode ( ) const

◆ scalarRangeMode()

ControlMode qMRMLModelDisplayNodeWidget::scalarRangeMode ( ) const

◆ scalarRangeModeValueChanged

void qMRMLModelDisplayNodeWidget::scalarRangeModeValueChanged ( ControlMode  value)
signal

Signal sent if the auto/manual value is updated.

◆ scalarsColorNode()

vtkMRMLColorNode* qMRMLModelDisplayNodeWidget::scalarsColorNode ( ) const

◆ scalarsVisibility()

bool qMRMLModelDisplayNodeWidget::scalarsVisibility ( ) const

◆ setActiveScalarName

void qMRMLModelDisplayNodeWidget::setActiveScalarName ( const QString &  )
slot

◆ setClipping

void qMRMLModelDisplayNodeWidget::setClipping ( bool  )
slot

◆ setColor

void qMRMLModelDisplayNodeWidget::setColor ( const QColor &  )
slot

◆ 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

◆ setMaximumValue

void qMRMLModelDisplayNodeWidget::setMaximumValue ( double  max)
slot

◆ setMinimumValue

void qMRMLModelDisplayNodeWidget::setMinimumValue ( double  min)
slot

Set min/max of scalar range.

◆ setMRMLModelDisplayNode [1/2]

void qMRMLModelDisplayNodeWidget::setMRMLModelDisplayNode ( vtkMRMLModelDisplayNode node)
slot

Set the volume node to display.

◆ setMRMLModelDisplayNode [2/2]

void qMRMLModelDisplayNodeWidget::setMRMLModelDisplayNode ( vtkMRMLNode node)
slot

Utility function to be connected with generic signals.

◆ setMRMLModelOrHierarchyNode

void qMRMLModelDisplayNodeWidget::setMRMLModelOrHierarchyNode ( vtkMRMLNode modelNode)
slot

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

◆ setOpacity

void qMRMLModelDisplayNodeWidget::setOpacity ( double  )
slot

◆ setPointSize

void qMRMLModelDisplayNodeWidget::setPointSize ( double  )
slot

◆ setRepresentation

void qMRMLModelDisplayNodeWidget::setRepresentation ( int  )
slot

◆ setScalarRangeMode() [1/2]

void qMRMLModelDisplayNodeWidget::setScalarRangeMode ( ControlMode  autoScalarRange)

Set scalar range mode.

◆ setScalarRangeMode [2/2]

void qMRMLModelDisplayNodeWidget::setScalarRangeMode ( int  scalarRangeMode)
slot

Set Auto/Manual mode.

◆ setScalarsColorNode [1/2]

void qMRMLModelDisplayNodeWidget::setScalarsColorNode ( vtkMRMLNode )
slot

◆ setScalarsColorNode [2/2]

void qMRMLModelDisplayNodeWidget::setScalarsColorNode ( vtkMRMLColorNode )
slot

◆ setScalarsDisplayRange

void qMRMLModelDisplayNodeWidget::setScalarsDisplayRange ( double  min,
double  max 
)
slot

◆ setScalarsVisibility

void qMRMLModelDisplayNodeWidget::setScalarsVisibility ( bool  )
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

◆ setThresholdRange

void qMRMLModelDisplayNodeWidget::setThresholdRange ( double  min,
double  max 
)
slot

◆ setTresholdEnabled

void qMRMLModelDisplayNodeWidget::setTresholdEnabled ( bool  b)
slot

◆ setVisibility

void qMRMLModelDisplayNodeWidget::setVisibility ( bool  )
slot

◆ sliceIntersectionOpacity()

double qMRMLModelDisplayNodeWidget::sliceIntersectionOpacity ( ) const

◆ sliceIntersectionThickness()

int qMRMLModelDisplayNodeWidget::sliceIntersectionThickness ( ) const

◆ sliceIntersectionVisible()

bool qMRMLModelDisplayNodeWidget::sliceIntersectionVisible ( ) const

◆ updateNodeFromProperty

void qMRMLModelDisplayNodeWidget::updateNodeFromProperty ( )
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 145 of file qMRMLModelDisplayNodeWidget.h.


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