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

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

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

Public Types

typedef QWidget Superclass
 Constructors. More...
 

Properties

bool threshold
 

Public Slots

void moveAllPoints (double x, double y=0., bool dontMoveFirstAndLast=false)
 
void setChartsExtent (double extent[2])
 Set chart extent. More...
 
void setChartsExtent (double min, double max)
 
void setMRMLVolumePropertyNode (vtkMRMLNode *node)
 Convenient function to connect with signal/slots. More...
 
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

bool 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: