Computer Assited Medical Intervention Tool Kit  version 4.1
Public Slots | Public Member Functions | Private Attributes | List of all members
ColorPointWidget Class Reference

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

#include <ColorPointWidget.h>

Inherits QWidget.

Public Slots

virtual void colorButtonClicked ()
 
virtual void grayLevelChanged (int)
 
virtual void remove ()
 

Public Member Functions

 ColorPointWidget (QWidget *dad)
 
 ColorPointWidget (QWidget *dad, int grayLevel, QColor color)
 
QColor getColor ()
 
int getGrayLevel ()
 

Private Attributes

QColor currentColor
 
QWidget * dad
 
Ui_ColorPointWidget ui
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ ColorPointWidget() [1/2]

ColorPointWidget::ColorPointWidget ( QWidget *  dad)

References currentColor, dad, and ui.

◆ ColorPointWidget() [2/2]

ColorPointWidget::ColorPointWidget ( QWidget *  dad,
int  grayLevel,
QColor  color 
)

References currentColor, dad, and ui.

Member Function Documentation

◆ colorButtonClicked

void ColorPointWidget::colorButtonClicked ( )
virtualslot

References currentColor, and ui.

◆ getColor()

QColor ColorPointWidget::getColor ( )

References currentColor.

◆ getGrayLevel()

int ColorPointWidget::getGrayLevel ( )

References ui.

◆ grayLevelChanged

void ColorPointWidget::grayLevelChanged ( int  gray)
virtualslot

References ui.

◆ remove

void ColorPointWidget::remove ( )
virtualslot

Member Data Documentation

◆ currentColor

QColor ColorPointWidget::currentColor
private

◆ dad

QWidget* ColorPointWidget::dad
private

Referenced by ColorPointWidget(), and remove().

◆ ui

Ui_ColorPointWidget ColorPointWidget::ui
private

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