Computer Assited Medical Intervention Tool Kit  version 5.0
ColorPointWidget Class Reference

This widget handle specifically the color of each voxel (R, G, B) in the output rendered image. More...

#include <ColorPointWidget.h>

+ Inheritance diagram for ColorPointWidget:
+ Collaboration diagram for ColorPointWidget:

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
 

Detailed Description

This widget handle specifically the color of each voxel (R, G, B) in the output rendered image.

The color point widget appears in the bottom part of the widget.

Constructor & Destructor Documentation

◆ ColorPointWidget() [1/2]

ColorPointWidget::ColorPointWidget ( QWidget *  volumeRenderingWidget)

◆ ColorPointWidget() [2/2]

ColorPointWidget::ColorPointWidget ( QWidget *  volumeRenderingWidget,
double  grayLevel,
QColor  color 
)

Member Function Documentation

◆ colorButtonClicked

void ColorPointWidget::colorButtonClicked ( )
virtualslot

References currentColor, and ui.

◆ getColor()

QColor ColorPointWidget::getColor ( )

References currentColor.

◆ getGrayLevel()

double ColorPointWidget::getGrayLevel ( )

References ui.

◆ remove

void ColorPointWidget::remove ( )
virtualslot

References VolumeRenderingWidget::removeColorPoint(), and volumeRenderingWidget.

+ Here is the call graph for this function:

Member Data Documentation

◆ currentColor

QColor ColorPointWidget::currentColor
private

◆ ui

Ui_ColorPointWidget ColorPointWidget::ui
private

◆ volumeRenderingWidget

QWidget* ColorPointWidget::volumeRenderingWidget
private

Referenced by ColorPointWidget(), and remove().


The documentation for this class was generated from the following files: