![]() |
Computer Assited Medical Intervention Tool Kit
version 3.3
|
The widget allows the user to select the desired parameter for the transfer function. More...
#include <VolumeRenderingWidget.h>
Public Slots | |
virtual void | addColor () |
Color. More... | |
virtual void | addGradientOpacity () |
Gradient Opacity. More... | |
virtual void | addTransparency () |
Transparency. More... | |
virtual void | ambiantLightSliderChanged (int) |
Ambiant Light Value Editing. More... | |
virtual void | ambiantLightSpinBoxChanged (double) |
virtual void | diffuseLightSliderChanged (int) |
Diffuse Light Value Editing. More... | |
virtual void | diffuseLightSpinBoxChanged (double) |
virtual void | load () |
Load / Save mpas. More... | |
virtual void | refreshVolumeRendering () |
When to change volume rendering. More... | |
virtual void | save () |
virtual void | specularLightSliderChanged (int) |
Specular Light Value Editing. More... | |
virtual void | specularLightSpinBoxChanged (double) |
Public Member Functions | |
void | addColor (int grayLevel, QColor color) |
void | addGradientOpacity (int grayLevel, double opacity) |
void | addTransparency (int grayLevel, double transparency) |
double | getAmbiant () |
QMap< int, QColor > | getColorPoints () |
double | getDiffuse () |
QMap< int, double > | getOpacityPoints () |
double | getSpecular () |
QMap< int, double > | getTransparencyPoints () |
void | load (QString filename) |
void | removeColorPoint (ColorPointWidget *point) |
void | removeOpacityPoint (GradientOpacityWidget *point) |
void | removeTransparencyPoint (TransparencyPointWidget *point) |
void | setAmbiant (double ambiant) |
void | setDefaultColors (QMap< int, QColor > defaultColors) |
void | setDefaultOpacities (QMap< int, double > defaultOpacities) |
void | setDefaultTransparencies (QMap< int, double > defaultTransparencies) |
void | setDiffuse (double diffuse) |
void | setSpecular (double specular) |
void | updateImage (camitk::ImageComponent *comp) |
VolumeRenderingWidget (VolumeRenderingAction *dad, QWidget *parent=0) | |
Default construtor. More... | |
~VolumeRenderingWidget () | |
Private Attributes | |
QList< ColorPointWidget * > | colorPoints |
VolumeRenderingAction * | dad |
QList< GradientOpacityWidget * > | gradientOpacities |
camitk::ImageComponent * | myImage |
QList< TransparencyPointWidget * > | transparencies |
Ui_VolumeRenderingWidget | ui |
The widget allows the user to select the desired parameter for the transfer function.
The transfer function allows to select the desired (R,G,B,alpha) values of the rendered 3D image.
VolumeRenderingWidget::VolumeRenderingWidget | ( | VolumeRenderingAction * | dad, |
QWidget * | parent = 0 |
||
) |
Default construtor.
VolumeRenderingWidget::~VolumeRenderingWidget | ( | ) |
void VolumeRenderingWidget::addColor | ( | int | grayLevel, |
QColor | color | ||
) |
|
virtualslot |
Color.
void VolumeRenderingWidget::addGradientOpacity | ( | int | grayLevel, |
double | opacity | ||
) |
|
virtualslot |
Gradient Opacity.
void VolumeRenderingWidget::addTransparency | ( | int | grayLevel, |
double | transparency | ||
) |
|
virtualslot |
Transparency.
|
virtualslot |
Ambiant Light Value Editing.
|
virtualslot |
|
virtualslot |
Diffuse Light Value Editing.
|
virtualslot |
double VolumeRenderingWidget::getAmbiant | ( | ) |
QMap<int, QColor> VolumeRenderingWidget::getColorPoints | ( | ) |
double VolumeRenderingWidget::getDiffuse | ( | ) |
QMap<int, double> VolumeRenderingWidget::getOpacityPoints | ( | ) |
double VolumeRenderingWidget::getSpecular | ( | ) |
QMap<int, double> VolumeRenderingWidget::getTransparencyPoints | ( | ) |
void VolumeRenderingWidget::load | ( | QString | filename | ) |
|
virtualslot |
Load / Save mpas.
|
virtualslot |
When to change volume rendering.
void VolumeRenderingWidget::removeColorPoint | ( | ColorPointWidget * | point | ) |
void VolumeRenderingWidget::removeOpacityPoint | ( | GradientOpacityWidget * | point | ) |
void VolumeRenderingWidget::removeTransparencyPoint | ( | TransparencyPointWidget * | point | ) |
|
virtualslot |
void VolumeRenderingWidget::setAmbiant | ( | double | ambiant | ) |
void VolumeRenderingWidget::setDefaultColors | ( | QMap< int, QColor > | defaultColors | ) |
void VolumeRenderingWidget::setDefaultOpacities | ( | QMap< int, double > | defaultOpacities | ) |
void VolumeRenderingWidget::setDefaultTransparencies | ( | QMap< int, double > | defaultTransparencies | ) |
void VolumeRenderingWidget::setDiffuse | ( | double | diffuse | ) |
void VolumeRenderingWidget::setSpecular | ( | double | specular | ) |
|
virtualslot |
Specular Light Value Editing.
|
virtualslot |
void VolumeRenderingWidget::updateImage | ( | camitk::ImageComponent * | comp | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |