24#ifndef _PO_MULTIPLE_HISTOGRAM_
25#define _PO_MULTIPLE_HISTOGRAM_
27#include <MeshViz/graph/PoHistogram.h>
29#include <Inventor/fields/SoMFString.h>
30#include <Inventor/fields/SoSFString.h>
31#include <Inventor/fields/SoMFFloat.h>
32#include <Inventor/fields/SoSFFloat.h>
33#include <Inventor/fields/SoSFUShort.h>
34#include <Inventor/fields/SoSFEnum.h>
110 SO_KIT_CATALOG_ENTRY_HEADER(sumTextSep) ;
111 SO_KIT_CATALOG_ENTRY_HEADER(sumTextApp) ;
112 SO_KIT_CATALOG_ENTRY_HEADER(sumText) ;
235 { init(TRUE,
SbVec2f(0.,0.), 1.,
X, 0, 0, NULL, NULL, NULL) ; }
242 int _numRows,
int _numColumns,
const float *_value,
243 const char **_rowName,
const char **_columnName)
244 { init(FALSE, _start, _end, _type, _numRows, _numColumns, _value, _rowName,
252 int _numRows,
int _numColumns,
const float **_value,
253 const char **_rowName,
const char **_columnName) ;
262 static void initClass() ;
263 static void exitClass() ;
273 struct MultHistogAttr {
277 MultHistogAttr m_multHistogAttr ;
282 virtual void setDefaultOnNonWritingFields() ;
285 virtual void setDefaultAttr() ;
288 void colorBars(
SoGroup *group) ;
292 void init(
SbBool isDefault,
const SbVec2f &_start,
float _end,
293 Type _type,
int _numRows,
int _numColumns,
const float *_value,
294 const char **_rowName,
const char **_columnName) ;
297 void buildXJuxtaposedHistog() ;
298 void buildYJuxtaposedHistog() ;
300 void buildXAccumulatedHistog() ;
301 void buildYAccumulatedHistog() ;
303 void buildXPercentageHistog() ;
304 void buildYPercentageHistog() ;
307 FieldSensorList m_fieldSensorList ;
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for histo...
Position
Type of positions relative to a histogram bar.
TextPath
Type of text path.
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 multipl...
@ COLUMN_ROW
Histogram shows columns in function of rows.
@ ROW_COLUMN
Histogram shows rows in function of columns.
PoMultipleHistogram(const SbVec2f &_start, float _end, PoHistogram::Type _type, int _numRows, int _numColumns, const float *_value, const char **_rowName, const char **_columnName)
Constructor.
PoMultipleHistogram()
Default constructor.
SoSFEnum sumVisibility
Bars sums visibility.
SoSFEnum sumPath
Writing path of bars sums.
SoSFUShort numRows
Number of rows of the matrix of values.
SoSFEnum representation
Representation type of the multiple histogram.
SoSFEnum sumPosition
Position of sums in relation to bars.
SoMFString columnName
List of numColumns names of the columns.
SoMFString rowName
List of numRows names of the rows.
SoSFFloat barHeight
This field is used only for percentage histogram representation (representation = PERCENTAGE) and i...
PoMultipleHistogram(const SbVec2f &_start, float _end, PoHistogram::Type _type, int _numRows, int _numColumns, const float **_value, const char **_rowName, const char **_columnName)
Constructor.
virtual void rebuild()
Forces node-kit rebuilding.
SoSFString sumFontName
Font name of bars sums.
SoSFEnum histogPath
Indicates that the histogram shows rows as a function of columns, or columns as a function of rows.
SoMFFloat value
Matrix of values.
Representation
Type of presentation of multiple histogram.
@ JUXTAPOSED
Histogram bars are juxtaposed.
@ ACCUMULATED
Histogram bars are accumulated.
@ PERCENTAGE
Histogram bars are percentage.
SoSFUShort numColumns
Number of columns of the matrix of values.
SoSFFloat sumFontSize
Font size of bars sums.
Class for smart character strings.
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.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a string.
Field containing an unsigned short integer.