Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
mitk::SimpleHistogram Class Referenceabstract

Abstract superclass for histograms with double values. Classes which are deriving from this class can be cached in the same way. More...

#include <mitkSimpleHistogram.h>

Inheritance diagram for mitk::SimpleHistogram:

Public Member Functions

virtual double GetMin () const =0
 Returns the minimal value of the histogram. More...
 
virtual double GetMax () const =0
 Returns the maximum value of the histogram. More...
 
virtual void ComputeFromBaseData (BaseData *source)=0
 Creates a new histogram out the source. More...
 
virtual float GetRelativeBin (double start, double end) const =0
 TODO: (What should this method do?) More...
 

Detailed Description

Abstract superclass for histograms with double values. Classes which are deriving from this class can be cached in the same way.

Definition at line 34 of file mitkSimpleHistogram.h.

Member Function Documentation

◆ ComputeFromBaseData()

virtual void mitk::SimpleHistogram::ComputeFromBaseData ( BaseData source)
pure virtual

Creates a new histogram out the source.

Implemented in mitk::SimpleImageHistogram, and mitk::SimpleUnstructuredGridHistogram.

◆ GetMax()

virtual double mitk::SimpleHistogram::GetMax ( ) const
pure virtual

Returns the maximum value of the histogram.

Implemented in mitk::SimpleImageHistogram, and mitk::SimpleUnstructuredGridHistogram.

Referenced by QmitkTransferFunctionCanvas::ValidateCoord().

◆ GetMin()

virtual double mitk::SimpleHistogram::GetMin ( ) const
pure virtual

Returns the minimal value of the histogram.

Implemented in mitk::SimpleImageHistogram, and mitk::SimpleUnstructuredGridHistogram.

Referenced by QmitkTransferFunctionCanvas::ValidateCoord().

◆ GetRelativeBin()

virtual float mitk::SimpleHistogram::GetRelativeBin ( double  start,
double  end 
) const
pure virtual

TODO: (What should this method do?)

Implemented in mitk::SimpleImageHistogram, and mitk::SimpleUnstructuredGridHistogram.


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