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

This widget handle specifically the transparency in the output image. More...

#include <TransparencyPointWidget.h>

Inherits QWidget.

Public Slots

virtual void grayLevelChanged (int)
 
virtual void remove ()
 
virtual void transparencyChanged (double)
 

Public Member Functions

int getGrayLevel ()
 
double getTransparency ()
 
 TransparencyPointWidget (QWidget *dad)
 
 TransparencyPointWidget (QWidget *dad, int grayLevel, double transparency)
 

Private Attributes

QWidget * dad
 
Ui_TransparencyPointWidget ui
 

Detailed Description

This widget handle specifically the transparency in the output image.

Note
The transparency is stored on the alpha channel of the voxel. This widget is stored within the camitk::VolumeRenderingWidget
volume_rendering_2.png
The transparency widget appears in the top.

Constructor & Destructor Documentation

◆ TransparencyPointWidget() [1/2]

TransparencyPointWidget::TransparencyPointWidget ( QWidget *  dad)

References dad, and ui.

◆ TransparencyPointWidget() [2/2]

TransparencyPointWidget::TransparencyPointWidget ( QWidget *  dad,
int  grayLevel,
double  transparency 
)

References dad, and ui.

Member Function Documentation

◆ getGrayLevel()

int TransparencyPointWidget::getGrayLevel ( )

References ui.

◆ getTransparency()

double TransparencyPointWidget::getTransparency ( )

References ui.

◆ grayLevelChanged

void TransparencyPointWidget::grayLevelChanged ( int  gray)
virtualslot

References ui.

◆ remove

void TransparencyPointWidget::remove ( )
virtualslot

◆ transparencyChanged

void TransparencyPointWidget::transparencyChanged ( double  value)
virtualslot

Member Data Documentation

◆ dad

QWidget* TransparencyPointWidget::dad
private

Referenced by remove(), and TransparencyPointWidget().

◆ ui

Ui_TransparencyPointWidget TransparencyPointWidget::ui
private

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