13 #include "msdevstudio/MSconfig.h"
20 #ifdef ITERATOR_MEMBER_DEFECT
30 BinsBase::BinsBase (
const char * name )
32 m_scale_factor ( 1.0 ),
33 m_is_scaling ( false ),
34 m_values_dirty ( true ),
40 : m_name ( binner.m_name ),
41 m_scale_factor ( binner.m_scale_factor ),
42 m_is_scaling ( binner.m_is_scaling ),
43 m_values_dirty ( binner.m_values_dirty ),
44 m_empty ( binner.m_empty )
const std::string & name() const
Returns the name of the Bins container object.
virtual int getMinEntries()
Get the minimum entries/bin.
virtual void setEntriesScaling(bool on)
Sets the scaling number of entries on if on is true, otherwise turns if off.
BinsBase(const char *name)
The constructor taking the bins container name as argument.
hippodraw::BinsBase class interface
bool m_values_dirty
A flag to indicate that the objects in m_values are not correct.
virtual void scaleNumberOfEntries(double number)
Sets a scale factor on the output so that the number of entries appears to be number.
virtual double getZValue(double x, double y) const
Get the z value at the specified point (x,y).
virtual ~BinsBase()
The virtual destructor.
void setDirty()
Sets a flag to indicate that re-binning needs to be done.
virtual double scaleFactor() const
Returns the scale factor.
double m_scale_factor
The scale factor.
bool isEmpty() const
Returns true if no accumulation has yet occurred, otherwise returns false.
bool m_is_scaling
A flag which is set true to enable scaling the output.
const std::string m_name
The name of the object in the Factory.
bool m_empty
A flag set to true, when no accumulation has yet occurred, otherwise is set false.
bool isDirty()
Returns true if the re-accumulation is needed.
The base class for the binner hierarchy.
virtual void setMinEntries(int entries)
Set the minimum entries/bin.