PoSingleHistogram Class Reference
[Histogram]

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

#include <MeshViz/graph/PoSingleHistogram.h>

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

List of all members.

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 PoSingleHistogram ()
 PoSingleHistogram (const SbVec2f &_start, float _end, PoHistogram::Type _type, int numValues, const float *_value, const char **_name)
virtual void rebuild ()

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoMFFloat value
SoMFString name

Detailed Description

MeshViz Class to build a single histogram.

Class to build a single histogram in the plane XY. This histogram is based on simple statistical data.

Simple statistical data is composed of a list of names associated to a list of values. 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.

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), color.getNum() must be greater or equal to value.getNum(), otherwise all the bars get the same color which is the inherited color.

FILE FORMAT/DEFAULT


Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/