Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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

QVTK_OBJECTbool threshold
 

Public Slots

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 setMRMLVolumePropertyNode (vtkMRMLNode *node)
 Convenient function to connect with signal/slots.
 
void setMRMLVolumePropertyNode (vtkMRMLVolumePropertyNode *volumePropertyNode)
 
void spreadAllPoints (double factor, bool dontSpreadFirstAndLast=false)
 

Signals

void chartsExtentChanged ()
 
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

◆ threshold

QVTK_OBJECTbool qMRMLVolumePropertyNodeWidget::threshold
readwrite

Definition at line 47 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

◆ 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

◆ 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

◆ 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 91 of file qMRMLVolumePropertyNodeWidget.h.


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