24#ifndef _PO_SINGLE_HISTOGRAM_
25#define _PO_SINGLE_HISTOGRAM_
117 int numValues,
const float *_value,
const char **_name)
118 { init(
FALSE, _start, _end, _type, numValues, _value, _name) ; }
127 static void initClass() ;
128 static void exitClass() ;
133 virtual void setDefaultOnNonWritingFields() ;
137 void colorBars(
SoGroup *group) ;
141 void init(
SbBool isDefault,
const SbVec2f &_start,
float _end,
142 Type _type,
int numValues,
const float *_value,
const char **_name) ;
145 void buildXHistog() ;
146 void buildYHistog() ;
149 FieldSensorList m_fieldSensorList ;
#define TRUE
Possible value of SbBool.
#define FALSE
Possible value of SbBool.
#define SO_KIT_HEADER(className)
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for histo...
Type
Type of orientation of the histogram's bars.
@ X
Histogram bars are perpendicular to X-Axis.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class to build a single ...
virtual void rebuild()
Forces node-kit rebuilding.
PoSingleHistogram(const SbVec2f &_start, float _end, PoHistogram::Type _type, int numValues, const float *_value, const char **_name)
Constructor.
SoMFFloat value
Values of each bars of the histogram.
SoMFString name
Names of each bars of the histogram.
PoSingleHistogram()
Default constructor.
Maintains a list of pointers to fields.
Base class for all group nodes.
Multiple-value field containing any number of floating point values.
Multiple-value field containing any number of strings.