21 #ifndef __qMRMLVolumePropertyNodeWidget_h 22 #define __qMRMLVolumePropertyNodeWidget_h 28 #include <ctkVTKObject.h> 31 #include "qSlicerVolumeRenderingModuleWidgetsExport.h" 32 class qMRMLVolumePropertyNodeWidgetPrivate;
39 class vtkControlPointsItem;
40 class vtkVolumeProperty;
47 Q_PROPERTY(
bool threshold READ hasThreshold WRITE setThreshold)
57 vtkVolumeProperty* volumeProperty()
const;
62 void chartsBounds(
double bounds[4])
const;
63 void chartsExtent(
double extent[4])
const;
65 void setThreshold(
bool enable);
66 bool hasThreshold()
const;
73 void moveAllPoints(
double x,
double y = 0.,
74 bool dontMoveFirstAndLast =
false);
75 void spreadAllPoints(
double factor,
76 bool dontSpreadFirstAndLast =
false);
79 void thresholdChanged(
bool enabled);
80 void volumePropertyChanged();
81 void chartsExtentChanged();
84 void updateFromVolumePropertyNode();
87 QScopedPointer<qMRMLVolumePropertyNodeWidgetPrivate>
d_ptr;
Abstract Superclass for all specific types of MRML nodes.
vtkMRMLVolumePropertyNode contains the transfer functions (scalar opacity, color and gradient opacity...