Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
qMRMLVolumePropertyNodeWidget Class Reference

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

Inheritance diagram for qMRMLVolumePropertyNodeWidget:
Collaboration diagram for qMRMLVolumePropertyNodeWidget:

Public Types

typedef QWidget Superclass
 Constructors.
 

Properties

int componentCount
 
QVTK_OBJECTbool threshold
 

Public Slots

int componentCount () const
 Get the number of components that can be edited in the widget.
 
void moveAllPoints (double x, double y=0., bool dontMoveFirstAndLast=false)
 
void setChartsExtent (double extent[2])
 Set chart extent.
 
void setChartsExtent (double min, double max)
 
void setComponentCount (int component)
 Set the number of components that can be edited in the widget.
 
void setMRMLVolumePropertyNode (vtkMRMLNode *node)
 Convenient function to connect with signal/slots.
 
void setMRMLVolumePropertyNode (vtkMRMLVolumePropertyNode *volumePropertyNode)
 
void spreadAllPoints (double factor, bool dontSpreadFirstAndLast=false)
 
void updateIndependentComponents ()
 Set if independent components are enabled.
 

Signals

void chartsExtentChanged ()
 
void componentChanged (int component)
 
void thresholdChanged (bool enabled)
 
void volumePropertyChanged ()
 

Public Member Functions

void chartsBounds (double bounds[4]) const
 
void chartsExtent (double extent[4]) const
 
bool hasThreshold () const
 
 qMRMLVolumePropertyNodeWidget (QWidget *parent=nullptr)
 
void setThreshold (bool enable)
 
vtkVolumeProperty * volumeProperty () const
 
 ~qMRMLVolumePropertyNodeWidget () override
 

Protected Slots

void updateFromVolumePropertyNode ()
 

Protected Attributes

QScopedPointer< qMRMLVolumePropertyNodeWidgetPrivate > d_ptr
 

Detailed Description

Definition at line 42 of file qMRMLVolumePropertyNodeWidget.h.

Member Typedef Documentation

◆ Superclass

Constructors.

Definition at line 51 of file qMRMLVolumePropertyNodeWidget.h.

Property Documentation

◆ componentCount

int qMRMLVolumePropertyNodeWidget::componentCount
readwrite

Definition at line 47 of file qMRMLVolumePropertyNodeWidget.h.

◆ threshold

QVTK_OBJECTbool qMRMLVolumePropertyNodeWidget::threshold
readwrite

Definition at line 46 of file qMRMLVolumePropertyNodeWidget.h.

Constructor & Destructor Documentation

◆ qMRMLVolumePropertyNodeWidget()

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

◆ ~qMRMLVolumePropertyNodeWidget()

qMRMLVolumePropertyNodeWidget::~qMRMLVolumePropertyNodeWidget ( )
override

Member Function Documentation

◆ chartsBounds()

void qMRMLVolumePropertyNodeWidget::chartsBounds ( double bounds[4]) const

Return the outer bounds of the opacity and color transfer function views.

◆ chartsExtent()

void qMRMLVolumePropertyNodeWidget::chartsExtent ( double extent[4]) const

◆ chartsExtentChanged

void qMRMLVolumePropertyNodeWidget::chartsExtentChanged ( )
signal

◆ componentChanged

void qMRMLVolumePropertyNodeWidget::componentChanged ( int component)
signal

◆ componentCount

int qMRMLVolumePropertyNodeWidget::componentCount ( ) const
slot

Get the number of components that can be edited in the widget.

◆ hasThreshold()

bool qMRMLVolumePropertyNodeWidget::hasThreshold ( ) const

◆ moveAllPoints

void qMRMLVolumePropertyNodeWidget::moveAllPoints ( double x,
double y = 0.,
bool dontMoveFirstAndLast = false )
slot

◆ setChartsExtent [1/2]

void qMRMLVolumePropertyNodeWidget::setChartsExtent ( double extent[2])
slot

Set chart extent.

◆ setChartsExtent [2/2]

void qMRMLVolumePropertyNodeWidget::setChartsExtent ( double min,
double max )
slot

◆ setComponentCount

void qMRMLVolumePropertyNodeWidget::setComponentCount ( int component)
slot

Set the number of components that can be edited in the widget.

◆ setMRMLVolumePropertyNode [1/2]

void qMRMLVolumePropertyNodeWidget::setMRMLVolumePropertyNode ( vtkMRMLNode * node)
slot

Convenient function to connect with signal/slots.

◆ setMRMLVolumePropertyNode [2/2]

void qMRMLVolumePropertyNodeWidget::setMRMLVolumePropertyNode ( vtkMRMLVolumePropertyNode * volumePropertyNode)
slot

◆ setThreshold()

void qMRMLVolumePropertyNodeWidget::setThreshold ( bool enable)

◆ spreadAllPoints

void qMRMLVolumePropertyNodeWidget::spreadAllPoints ( double factor,
bool dontSpreadFirstAndLast = false )
slot

◆ thresholdChanged

void qMRMLVolumePropertyNodeWidget::thresholdChanged ( bool enabled)
signal

◆ updateFromVolumePropertyNode

void qMRMLVolumePropertyNodeWidget::updateFromVolumePropertyNode ( )
protectedslot

◆ updateIndependentComponents

void qMRMLVolumePropertyNodeWidget::updateIndependentComponents ( )
slot

Set if independent components are enabled.

◆ volumeProperty()

vtkVolumeProperty * qMRMLVolumePropertyNodeWidget::volumeProperty ( ) const

Return the VTK volume property associated with the MRML volume property node.

◆ volumePropertyChanged

void qMRMLVolumePropertyNodeWidget::volumePropertyChanged ( )
signal

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLVolumePropertyNodeWidgetPrivate> qMRMLVolumePropertyNodeWidget::d_ptr
protected

Definition at line 97 of file qMRMLVolumePropertyNodeWidget.h.


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