Computer Assited Medical Intervention Tool Kit  version 5.0
GradientOpacityWidget Class Reference

This widget handle specifically the gradient opacity in the output image. More...

#include <GradientOpacityWidget.h>

+ Inheritance diagram for GradientOpacityWidget:
+ Collaboration diagram for GradientOpacityWidget:

Public Slots

virtual void remove ()
 

Public Member Functions

double getGrayLevel ()
 
double getOpacity ()
 
 GradientOpacityWidget (QWidget *volumeRenderingWidget)
 
 GradientOpacityWidget (QWidget *volumeRenderingWidget, double grayLevel, double opacity)
 

Private Attributes

Ui_GradientOpacityWidget ui
 
QWidget * volumeRenderingWidget
 

Detailed Description

This widget handle specifically the gradient opacity in the output image.

The gradient opacity widget is the second widget.

Constructor & Destructor Documentation

◆ GradientOpacityWidget() [1/2]

GradientOpacityWidget::GradientOpacityWidget ( QWidget *  volumeRenderingWidget)

References ui, and volumeRenderingWidget.

◆ GradientOpacityWidget() [2/2]

GradientOpacityWidget::GradientOpacityWidget ( QWidget *  volumeRenderingWidget,
double  grayLevel,
double  opacity 
)

References ui, and volumeRenderingWidget.

Member Function Documentation

◆ getGrayLevel()

double GradientOpacityWidget::getGrayLevel ( )

References ui.

◆ getOpacity()

double GradientOpacityWidget::getOpacity ( )

References ui.

◆ remove

void GradientOpacityWidget::remove ( )
virtualslot

References VolumeRenderingWidget::removeOpacityPoint(), and volumeRenderingWidget.

+ Here is the call graph for this function:

Member Data Documentation

◆ ui

Ui_GradientOpacityWidget GradientOpacityWidget::ui
private

◆ volumeRenderingWidget

QWidget* GradientOpacityWidget::volumeRenderingWidget
private

Referenced by GradientOpacityWidget(), and remove().


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