Computer Assited Medical Intervention Tool Kit  version 5.0
TransparencyPointWidget Class Reference

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

#include <TransparencyPointWidget.h>

+ Inheritance diagram for TransparencyPointWidget:
+ Collaboration diagram for TransparencyPointWidget:

Public Slots

virtual void remove ()
 

Public Member Functions

double getGrayLevel ()
 
double getTransparency ()
 
 TransparencyPointWidget (QWidget *volumeRenderingWidget)
 
 TransparencyPointWidget (QWidget *volumeRenderingWidget, double grayLevel, double transparency)
 

Private Attributes

Ui_TransparencyPointWidget ui
 
QWidget * volumeRenderingWidget
 

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 VolumeRenderingWidget
The transparency widget appears in the top.

Constructor & Destructor Documentation

◆ TransparencyPointWidget() [1/2]

TransparencyPointWidget::TransparencyPointWidget ( QWidget *  volumeRenderingWidget)

References ui, and volumeRenderingWidget.

◆ TransparencyPointWidget() [2/2]

TransparencyPointWidget::TransparencyPointWidget ( QWidget *  volumeRenderingWidget,
double  grayLevel,
double  transparency 
)

References ui, and volumeRenderingWidget.

Member Function Documentation

◆ getGrayLevel()

double TransparencyPointWidget::getGrayLevel ( )

References ui.

◆ getTransparency()

double TransparencyPointWidget::getTransparency ( )

References ui.

◆ remove

void TransparencyPointWidget::remove ( )
virtualslot

References VolumeRenderingWidget::removeTransparencyPoint(), and volumeRenderingWidget.

+ Here is the call graph for this function:

Member Data Documentation

◆ ui

Ui_TransparencyPointWidget TransparencyPointWidget::ui
private

◆ volumeRenderingWidget

QWidget* TransparencyPointWidget::volumeRenderingWidget
private

Referenced by remove(), and TransparencyPointWidget().


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