24#ifndef _PO_SINGLE_HISTOGRAM_
25#define _PO_SINGLE_HISTOGRAM_
27#include <MeshViz/graph/PoHistogram.h>
29#include <Inventor/fields/SoMFString.h>
30#include <Inventor/fields/SoMFFloat.h>
110 { init(TRUE,
SbVec2f(0.,0.), 1.,
X, 0, NULL, NULL) ; }
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 ;
<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.