PoPieChartRep Class Reference

MeshViz Class to build a 3D pie chart. More...

#include <MeshViz/graph/PoPieChartRep.h>

Inheritance diagram for PoPieChartRep:
PoChart PoGraphMaster PoBase SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.


struct  SliceAttr

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 PoPieChartRep ()
SbBool getPickedSliceNumber (const SoPath *path, int &sliceNumber) const
void setSliceToTranslate (int sliceNumber, float radius)
float getSliceToTranslate (int sliceNumber) const

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoSFInt32 stringsIndex
SoSFFloat radiusMin
SoSFFloat radiusMax
SoMFShort sliceToTranslateNumber
SoMFFloat sliceToTranslateRadius
SoSFFloat height
SoSFBool isNameVisible
SoSFBool isValueVisible
SoSFBool isPercentageVisible
SoSFFloat annoDistToCenter
SoSFFloat annoHeightFromSlice
SoSFFloat annoFontSize
SoSFBool isAnnoSliceColor

Detailed Description

MeshViz Class to build a 3D pie chart.

Builds a 3D pie chart on 1D mesh (PoIrregularMesh1D or PoRegularMesh1D). The size (angle) of each slice is given by the geometry of the current mesh 1D, and the height of each slice is given by one of the value-set of the current mesh 1D specified by the field yValuesIndex. Names attached to each slice are given by one of the string-set of the current mesh 1D specified by the field stringsIndex. With this mecanism all slices have not necessary the same height. On contrary, if all slices must have the same height, set the field yValuesIndex to -1 and set the field height to the desired height. The pie chart origin is at (0,0,0) after applying the current transformation.

The current label hints (PoLabelHints) is used to specify the appearance of annotations for each slice. All annotations depend on the current miscellaneous text attributes which defines the font names, line length and so on (PoMiscTextAttr). All numerical values depend on the current numerical display format (PoNumericDisplayFormat). Each slice can be beveled thanks to the current beveled edge values (PoBevelEdge). The current complexity (SoComplexity) is used to determine the tessellation of slices.

The interpretation of colorBinding is the following :


Open Inventor Toolkit reference manual, generated on 12 Sep 2022
Copyright © Thermo Fisher Scientific All rights reserved.