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

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

#include <GradientOpacityWidget.h>

Inherits QWidget.

Public Slots

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

Public Member Functions

int getGrayLevel ()
 
double getOpacity ()
 
 GradientOpacityWidget (QWidget *dad)
 
 GradientOpacityWidget (QWidget *dad, int grayLevel, double opacity)
 

Private Attributes

QWidget * dad
 
Ui_GradientOpacityWidget ui
 

Detailed Description

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

volume_rendering_2.png
The gradient opacity widget is the second widget.

Constructor & Destructor Documentation

◆ GradientOpacityWidget() [1/2]

GradientOpacityWidget::GradientOpacityWidget ( QWidget *  dad)

References dad, and ui.

◆ GradientOpacityWidget() [2/2]

GradientOpacityWidget::GradientOpacityWidget ( QWidget *  dad,
int  grayLevel,
double  opacity 
)

References dad, and ui.

Member Function Documentation

◆ getGrayLevel()

int GradientOpacityWidget::getGrayLevel ( )

References ui.

◆ getOpacity()

double GradientOpacityWidget::getOpacity ( )

References ui.

◆ grayLevelChanged

void GradientOpacityWidget::grayLevelChanged ( int  gray)
virtualslot

References ui.

◆ opacityChanged

void GradientOpacityWidget::opacityChanged ( double  value)
virtualslot

◆ remove

void GradientOpacityWidget::remove ( )
virtualslot

Member Data Documentation

◆ dad

QWidget* GradientOpacityWidget::dad
private

Referenced by GradientOpacityWidget(), and remove().

◆ ui

Ui_GradientOpacityWidget GradientOpacityWidget::ui
private

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