CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Slots | Public Member Functions | Protected Slots | Protected Attributes | Properties | List of all members
ctkVTKThresholdWidget Class Reference

#include <Libs/Visualization/VTK/Widgets/ctkVTKThresholdWidget.h>

Inheritance diagram for ctkVTKThresholdWidget:
Inheritance graph
[legend]
Collaboration diagram for ctkVTKThresholdWidget:
Collaboration graph
[legend]

Public Slots

void setOpacity (double opacity)
 
void setPiecewiseFunction (vtkPiecewiseFunction *function)
 
void setRange (double min, double max)
 
void setThresholdValues (double min, double max)
 

Public Member Functions

 ctkVTKThresholdWidget (QWidget *parent=0)
 
double opacity () const
 
vtkPiecewiseFunction * piecewiseFunction () const
 
void range (double *range) const
 
void setUseSharpness (bool use)
 
void thresholdValues (double *values) const
 
bool useSharpness () const
 
virtual ~ctkVTKThresholdWidget ()
 

Protected Slots

void updateFromPiecewiseFunction ()
 

Protected Attributes

QScopedPointer< ctkVTKThresholdWidgetPrivate > d_ptr
 

Properties

QVTK_OBJECTdouble opacity
 
bool useSharpness
 

Detailed Description

Definition at line 36 of file ctkVTKThresholdWidget.h.

Constructor & Destructor Documentation

◆ ctkVTKThresholdWidget()

ctkVTKThresholdWidget::ctkVTKThresholdWidget ( QWidget *  parent = 0)

◆ ~ctkVTKThresholdWidget()

virtual ctkVTKThresholdWidget::~ctkVTKThresholdWidget ( )
virtual

Member Function Documentation

◆ opacity()

double ctkVTKThresholdWidget::opacity ( ) const

◆ piecewiseFunction()

vtkPiecewiseFunction* ctkVTKThresholdWidget::piecewiseFunction ( ) const

◆ range()

void ctkVTKThresholdWidget::range ( double *  range) const

◆ setOpacity

void ctkVTKThresholdWidget::setOpacity ( double  opacity)
slot

◆ setPiecewiseFunction

void ctkVTKThresholdWidget::setPiecewiseFunction ( vtkPiecewiseFunction *  function)
slot

◆ setRange

void ctkVTKThresholdWidget::setRange ( double  min,
double  max 
)
slot

◆ setThresholdValues

void ctkVTKThresholdWidget::setThresholdValues ( double  min,
double  max 
)
slot

◆ setUseSharpness()

void ctkVTKThresholdWidget::setUseSharpness ( bool  use)

◆ thresholdValues()

void ctkVTKThresholdWidget::thresholdValues ( double *  values) const

◆ updateFromPiecewiseFunction

void ctkVTKThresholdWidget::updateFromPiecewiseFunction ( )
protectedslot

◆ useSharpness()

bool ctkVTKThresholdWidget::useSharpness ( ) const

Member Data Documentation

◆ d_ptr

QScopedPointer<ctkVTKThresholdWidgetPrivate> ctkVTKThresholdWidget::d_ptr
protected

Definition at line 70 of file ctkVTKThresholdWidget.h.

Property Documentation

◆ opacity

QVTK_OBJECTdouble ctkVTKThresholdWidget::opacity
readwrite

Setting the opacity property has no effect when no piecewise function is set.

Definition at line 40 of file ctkVTKThresholdWidget.h.

◆ useSharpness

bool ctkVTKThresholdWidget::useSharpness
readwrite

Use 2 (true) or 4 (false) control points to control the threshold. 4 points by default (false).

Definition at line 40 of file ctkVTKThresholdWidget.h.


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