18 #ifndef _MITK_ConnectomicsHistogramBase_H
19 #define _MITK_ConnectomicsHistogramBase_H
64 virtual float GetRelativeBin(
double start,
double end )
const override;
76 virtual double GetMin()
const override;
78 virtual double GetMax()
const override;
ConnectomicsHistogramBase()
std::vector< double > m_HistogramVector
We expect not continuous but discrete histograms.
int m_StartValue
Which is the starting x value for the histogram.
virtual double GetYMin() const
Returns the minimal y=f(x) value of the histogram.
Base of all data objects.
virtual bool IsValid() const
Returns whether the histogram can be considered valid.
virtual double GetYMax() const
Returns the maximum y=f(x) value of the histogram.
DataCollection - Class to facilitate loading/accessing structured data.
int m_TopValue
Which is the top value for the histogram.
virtual ~ConnectomicsHistogramBase()
bool m_Valid
Is this a valid histogram.
Superclass for histograms working with connectomic networks.
virtual int GetRange() const
Returns the range of the histogram.
virtual void ComputeFromConnectomicsNetwork(ConnectomicsNetwork *source)=0
Creates a new histogram from the network source.
virtual std::vector< double > GetHistogramVector()
Get the double vector.
virtual void ComputeFromBaseData(BaseData *source) override
Creates a new histogram from the source.
Abstract superclass for histograms with double values. Classes which are deriving from this class can...
virtual double GetXMax() const
Returns the maximum x value of the histogram.
virtual std::string GetSubject() const
Returns the subject of the histogram as a string.
virtual double GetXMin() const
Returns the minimal x value of the histogram.
virtual double GetMin() const override
Legacy method, do no use.
virtual double GetMax() const override
Legacy method, do no use.
virtual float GetRelativeBin(double start, double end) const override
Get bin height for the bin between start and end.
virtual void PrintToConsole() const
Print values to console.
virtual void SetSubject(std::string)
Set the subject of the histogram as a string.
int m_BaselineValue
Which is the baseline value for the histogram This value should be zero for all network histograms...
Connectomics Network Class.
virtual void UpdateYMax()
Update the Y maximum to the maximal value in the histogram.
std::string m_Subject
Subject of the histogram as a string.