#include <Libs/Visualization/VTK/Widgets/ctkVTKVolumePropertyWidget.h>
|
QScopedPointer< ctkVTKVolumePropertyWidgetPrivate > | d_ptr |
|
◆ ctkVTKVolumePropertyWidget()
ctkVTKVolumePropertyWidget::ctkVTKVolumePropertyWidget |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~ctkVTKVolumePropertyWidget()
virtual ctkVTKVolumePropertyWidget::~ctkVTKVolumePropertyWidget |
( |
| ) |
|
|
virtual |
◆ chartsBounds() [1/2]
Q_INVOKABLE QList<double> ctkVTKVolumePropertyWidget::chartsBounds |
( |
| ) |
const |
◆ chartsBounds() [2/2]
void ctkVTKVolumePropertyWidget::chartsBounds |
( |
double |
bounds[4] | ) |
const |
◆ chartsExtent() [1/2]
Q_INVOKABLE QList<double> ctkVTKVolumePropertyWidget::chartsExtent |
( |
| ) |
const |
◆ chartsExtent() [2/2]
void ctkVTKVolumePropertyWidget::chartsExtent |
( |
double |
extent[4] | ) |
const |
◆ chartsExtentChanged
void ctkVTKVolumePropertyWidget::chartsExtentChanged |
( |
| ) |
|
|
signal |
◆ isThresholdEnabled()
bool ctkVTKVolumePropertyWidget::isThresholdEnabled |
( |
| ) |
const |
◆ isThresholdToggleVisible()
bool ctkVTKVolumePropertyWidget::isThresholdToggleVisible |
( |
| ) |
const |
◆ moveAllPoints
void ctkVTKVolumePropertyWidget::moveAllPoints |
( |
double |
xOffset, |
|
|
double |
yOffset = 0. , |
|
|
bool |
dontSpreadFirstAndLast = false |
|
) |
| |
|
slot |
Move all the control points of the opacity, colors and gradient of a give offset.
- See also
- vtkControlPoints::movePoints()
◆ onAxesModified
void ctkVTKVolumePropertyWidget::onAxesModified |
( |
| ) |
|
|
protectedslot |
Called whenever a view (opacity, colors or gradient) has one of its axis modified. It synchronize all the views to see the same.
◆ onThresholdOpacityToggled
void ctkVTKVolumePropertyWidget::onThresholdOpacityToggled |
( |
bool |
| ) |
|
|
protectedslot |
◆ setAmbient
void ctkVTKVolumePropertyWidget::setAmbient |
( |
double |
value | ) |
|
|
protectedslot |
◆ setChartsExtent [1/2]
void ctkVTKVolumePropertyWidget::setChartsExtent |
( |
double |
extent[2] | ) |
|
|
slot |
◆ setChartsExtent [2/2]
void ctkVTKVolumePropertyWidget::setChartsExtent |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
|
slot |
◆ setDiffuse
void ctkVTKVolumePropertyWidget::setDiffuse |
( |
double |
value | ) |
|
|
protectedslot |
◆ setInterpolationMode
void ctkVTKVolumePropertyWidget::setInterpolationMode |
( |
int |
mode | ) |
|
|
protectedslot |
◆ setShade
void ctkVTKVolumePropertyWidget::setShade |
( |
bool |
| ) |
|
|
protectedslot |
◆ setSpecular
void ctkVTKVolumePropertyWidget::setSpecular |
( |
double |
value | ) |
|
|
protectedslot |
◆ setSpecularPower
void ctkVTKVolumePropertyWidget::setSpecularPower |
( |
double |
value | ) |
|
|
protectedslot |
◆ setThresholdEnabled
void ctkVTKVolumePropertyWidget::setThresholdEnabled |
( |
bool |
enable | ) |
|
|
slot |
◆ setThresholdToggleVisible()
void ctkVTKVolumePropertyWidget::setThresholdToggleVisible |
( |
bool |
showToggle | ) |
|
◆ setVolumeProperty
void ctkVTKVolumePropertyWidget::setVolumeProperty |
( |
vtkVolumeProperty * |
volumeProperty | ) |
|
|
slot |
◆ spreadAllPoints
void ctkVTKVolumePropertyWidget::spreadAllPoints |
( |
double |
factor = 1. , |
|
|
bool |
dontSpreadFirstAndLast = false |
|
) |
| |
|
slot |
Spread all the control points of the opacity, colors and gradient by a given offset. A value >0 will space the control points, a value <0. will contract them.
- See also
- vtkControlPoints::spreadPoints()
◆ thresholdEnabledChanged
void ctkVTKVolumePropertyWidget::thresholdEnabledChanged |
( |
bool |
enable | ) |
|
|
signal |
◆ updateFromVolumeProperty
void ctkVTKVolumePropertyWidget::updateFromVolumeProperty |
( |
| ) |
|
|
protectedslot |
◆ updateRange
void ctkVTKVolumePropertyWidget::updateRange |
( |
| ) |
|
|
protectedslot |
◆ volumeProperty()
vtkVolumeProperty* ctkVTKVolumePropertyWidget::volumeProperty |
( |
| ) |
const |
◆ d_ptr
QScopedPointer<ctkVTKVolumePropertyWidgetPrivate> ctkVTKVolumePropertyWidget::d_ptr |
|
protected |
◆ thresholdEnabled
QVTK_OBJECTbool ctkVTKVolumePropertyWidget::thresholdEnabled |
|
readwrite |
Control whether a range slider widget is used to edit the opacity function instead of a chart editor. False by default
Definition at line 40 of file ctkVTKVolumePropertyWidget.h.
◆ thresholdToggleVisibility
bool ctkVTKVolumePropertyWidget::thresholdToggleVisibility |
|
readwrite |
The documentation for this class was generated from the following file: