PoMultipleHistogram Class Reference
[Histogram]

MeshViz Class to build a multiple histogram. More...

#include <MeshViz/graph/PoMultipleHistogram.h>

Inheritance diagram for PoMultipleHistogram:
PoHistogram PoGraphMaster PoBase SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Classes

struct  MultHistogAttr
struct  SumAttr

Public Types

enum  HistogPath {
  ROW_COLUMN,
  COLUMN_ROW
}
enum  Representation {
  JUXTAPOSED,
  ACCUMULATED,
  PERCENTAGE
}

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 PoMultipleHistogram ()
 PoMultipleHistogram (const SbVec2f &_start, float _end, PoHistogram::Type _type, int _numRows, int _numColumns, const float *_value, const char **_rowName, const char **_columnName)
 PoMultipleHistogram (const SbVec2f &_start, float _end, PoHistogram::Type _type, int _numRows, int _numColumns, const float **_value, const char **_rowName, const char **_columnName)
virtual void rebuild ()

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoSFUShort numRows
SoSFUShort numColumns
SoMFFloat value
SoMFString rowName
SoMFString columnName
SoSFEnum representation
SoSFFloat barHeight
SoSFEnum histogPath
SoSFEnum sumVisibility
SoSFEnum sumPosition
SoSFEnum sumPath
SoSFFloat sumFontSize
SoSFString sumFontName

Detailed Description

MeshViz Class to build a multiple histogram.

Class to build a multiple histogram in the plane XY. This histogram is based on multiple statistical data. Multiple statistical data is composed of a matrix of values associated to a list of column names and a list of row names.

The histogram bars are perpendicular to the X-axis or to the Y-axis (according to the field type). The statistic values correspond to the height (or width) of the bars.

There are three possible representations of multiple histograms:

The bars of the histogram can be colored using the fields color and coloring. If the bars colors are defined by a list of colors (coloring = COLOR_LIST), according to the field histogPath, the list of colors is associated to the rows or to the columns and color.getNum() must be greater or equal to getNum(), otherwise all the bars get the same color which is the inherited color.

FILE FORMAT/DEFAULT


Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/