This widget handle specifically the color of each voxel (R, G, B) in the output rendered image. More...
#include <ColorPointWidget.h>
Public Slots | |
virtual void | colorButtonClicked () |
virtual void | remove () |
Public Member Functions | |
ColorPointWidget (QWidget *volumeRenderingWidget) | |
ColorPointWidget (QWidget *volumeRenderingWidget, double grayLevel, QColor color) | |
QColor | getColor () |
double | getGrayLevel () |
Private Attributes | |
QColor | currentColor |
Ui_ColorPointWidget | ui |
QWidget * | volumeRenderingWidget |
This widget handle specifically the color of each voxel (R, G, B) in the output rendered image.
ColorPointWidget::ColorPointWidget | ( | QWidget * | volumeRenderingWidget | ) |
References currentColor, ui, and volumeRenderingWidget.
ColorPointWidget::ColorPointWidget | ( | QWidget * | volumeRenderingWidget, |
double | grayLevel, | ||
QColor | color | ||
) |
References currentColor, ui, and volumeRenderingWidget.
|
virtualslot |
References currentColor, and ui.
QColor ColorPointWidget::getColor | ( | ) |
References currentColor.
double ColorPointWidget::getGrayLevel | ( | ) |
References ui.
|
virtualslot |
References VolumeRenderingWidget::removeColorPoint(), and volumeRenderingWidget.
|
private |
Referenced by colorButtonClicked(), ColorPointWidget(), and getColor().
|
private |
Referenced by colorButtonClicked(), ColorPointWidget(), and getGrayLevel().
|
private |
Referenced by ColorPointWidget(), and remove().