ThresholdConfigWidget Class Reference

the implementation of ConfigWidget for the ThresholdAlgorithm. Provides sliders to set minimum, maximum and default grey values More...

#include <threshold_config_widget.h>

Inherits ConfigWidget.

Inheritance diagram for ThresholdConfigWidget:

Inheritance graph
[legend]
Collaboration diagram for ThresholdConfigWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ThresholdConfigWidget ()
 Constructor.
 ~ThresholdConfigWidget ()
 Destructor.
virtual void applyConfiguration () throw (InvalidCastException)
bool showConfiguration ()

Detailed Description

the implementation of ConfigWidget for the ThresholdAlgorithm. Provides sliders to set minimum, maximum and default grey values

ThresholdConfigWidget

Implements ConfigWidget

See also:
ConfigWidget

Definition at line 37 of file threshold_config_widget.h.


Member Function Documentation

void applyConfiguration  )  throw (InvalidCastException) [virtual]
 

Apply the user's configuration settings to the internal configuration object

Exceptions:
InvalidCastException if the Configuration object can't be casted to the expected format

Implements ConfigWidget.

Definition at line 47 of file threshold_config_widget.cpp.

References ConfigWidget::configuration_, ThresholdConfiguration::setDefaultPixelValue(), ThresholdConfiguration::setLowerBound(), and ThresholdConfiguration::setUpperBound().

Here is the call graph for this function:

bool showConfiguration  )  [virtual]
 

Display the widget's contents

Returns:
true or false depending on success

Implements ConfigWidget.

Definition at line 87 of file threshold_config_widget.cpp.

References ConfigWidget::getMetadataForInputDataset(), and PixelMetadata::getNumBytesPerPixel().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sun Aug 13 18:20:01 2006 for iMEDgine by  doxygen 1.4.6