Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ConnectomicsDegreeHistogram Class Reference

A class to calculate and store the degree of each node. More...

#include <mitkConnectomicsDegreeHistogram.h>

Inheritance diagram for mitk::ConnectomicsDegreeHistogram:
Collaboration diagram for mitk::ConnectomicsDegreeHistogram:

Public Member Functions

 ConnectomicsDegreeHistogram ()
 
virtual ~ConnectomicsDegreeHistogram ()
 
- Public Member Functions inherited from mitk::ConnectomicsHistogramBase
 ConnectomicsHistogramBase ()
 
virtual ~ConnectomicsHistogramBase ()
 
virtual double GetYMin () const
 Returns the minimal y=f(x) value of the histogram. More...
 
virtual double GetYMax () const
 Returns the maximum y=f(x) value of the histogram. More...
 
virtual double GetXMin () const
 Returns the minimal x value of the histogram. More...
 
virtual double GetXMax () const
 Returns the maximum x value of the histogram. More...
 
virtual int GetRange () const
 Returns the range of the histogram. More...
 
virtual void UpdateYMax ()
 Update the Y maximum to the maximal value in the histogram. More...
 
virtual void ComputeFromBaseData (BaseData *source) override
 Creates a new histogram from the source. More...
 
virtual void PrintToConsole () const
 Print values to console. More...
 
virtual bool IsValid () const
 Returns whether the histogram can be considered valid. More...
 
virtual std::string GetSubject () const
 Returns the subject of the histogram as a string. More...
 
virtual void SetSubject (std::string)
 Set the subject of the histogram as a string. More...
 
virtual float GetRelativeBin (double start, double end) const override
 Get bin height for the bin between start and end. More...
 
virtual std::vector< double > GetHistogramVector ()
 Get the double vector. More...
 

Protected Member Functions

virtual void ComputeFromConnectomicsNetwork (ConnectomicsNetwork *source) override
 Creates a new histogram from the network source. More...
 
- Protected Member Functions inherited from mitk::ConnectomicsHistogramBase
virtual double GetMin () const override
 Legacy method, do no use. More...
 
virtual double GetMax () const override
 Legacy method, do no use. More...
 

Additional Inherited Members

- Protected Attributes inherited from mitk::ConnectomicsHistogramBase
bool m_Valid
 Is this a valid histogram. More...
 
int m_BaselineValue
 Which is the baseline value for the histogram This value should be zero for all network histograms. More...
 
int m_TopValue
 Which is the top value for the histogram. More...
 
int m_StartValue
 Which is the starting x value for the histogram. More...
 
std::vector< double > m_HistogramVector
 We expect not continuous but discrete histograms. More...
 
std::string m_Subject
 Subject of the histogram as a string. More...
 

Detailed Description

A class to calculate and store the degree of each node.

Definition at line 28 of file mitkConnectomicsDegreeHistogram.h.

Constructor & Destructor Documentation

mitk::ConnectomicsDegreeHistogram::ConnectomicsDegreeHistogram ( )
mitk::ConnectomicsDegreeHistogram::~ConnectomicsDegreeHistogram ( )
virtual

Definition at line 25 of file mitkConnectomicsDegreeHistogram.cpp.

Member Function Documentation

void mitk::ConnectomicsDegreeHistogram::ComputeFromConnectomicsNetwork ( ConnectomicsNetwork source)
overrideprotectedvirtual

Creates a new histogram from the network source.

Implements mitk::ConnectomicsHistogramBase.

Definition at line 29 of file mitkConnectomicsDegreeHistogram.cpp.

References mitk::ConnectomicsNetwork::GetDegreeOfNodes().


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