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