casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::PercentageCalculator Class Reference

Designed as a separaclass so if it needs to go into a different thread, it can be put there. More...

#include <RangeControlsWidget.qo.h>

Public Member Functions

 PercentageCalculator (float minValue, float maxValue, const std::shared_ptr< const casacore::ImageInterface< float > > image)
 
void work ()
 
float getRangeMin () const
 
float getRangeMax () const
 
virtual ~PercentageCalculator ()
 

Private Attributes

float minValue
 
float maxValue
 
float rangeMin
 
float rangeMax
 
std::shared_ptr< const
casacore::ImageInterface
< float > > 
image
 

Detailed Description

Designed as a separaclass so if it needs to go into a different thread, it can be put there.

Definition at line 50 of file RangeControlsWidget.qo.h.

Constructor & Destructor Documentation

casa::PercentageCalculator::PercentageCalculator ( float  minValue,
float  maxValue,
const std::shared_ptr< const casacore::ImageInterface< float > >  image 
)
virtual casa::PercentageCalculator::~PercentageCalculator ( )
virtual

Member Function Documentation

float casa::PercentageCalculator::getRangeMax ( ) const
float casa::PercentageCalculator::getRangeMin ( ) const
void casa::PercentageCalculator::work ( )

Member Data Documentation

std::shared_ptr<const casacore::ImageInterface<float> > casa::PercentageCalculator::image
private

Definition at line 63 of file RangeControlsWidget.qo.h.

float casa::PercentageCalculator::maxValue
private

Definition at line 60 of file RangeControlsWidget.qo.h.

float casa::PercentageCalculator::minValue
private

Definition at line 59 of file RangeControlsWidget.qo.h.

float casa::PercentageCalculator::rangeMax
private

Definition at line 62 of file RangeControlsWidget.qo.h.

float casa::PercentageCalculator::rangeMin
private

Definition at line 61 of file RangeControlsWidget.qo.h.


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