PoChart Class Reference
[Graph]

MeshViz Abstract base class for all charting representations. More...

#include <MeshViz/graph/PoChart.h>

Inheritance diagram for PoChart:
PoGraphMaster PoBase SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject PoBar PoCurveLine PoGeneralizedScatter PoLabel PoPieChartRep PoScatter PoConicBar PoCylindricalBar PoGeneralizedBar PoLinearBar PoProfileBar PoCurveFilling PoRibbon PoTube

List of all members.

Public Types

enum  ColorBinding {
  INHERITED,
  PER_VERTEX,
  PER_PART
}

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoSFEnum colorBinding
SoSFInt32 yValuesIndex
SoSFInt32 colorValuesIndex
SoSFNode material

Detailed Description

MeshViz Abstract base class for all charting representations.

A charting representation may depend on other MeshViz objects : The current mesh1D (PoRegularMesh1D or PoIrregularMesh1D), the current data-mapping (PoDataMapping), the current domain (PoDomain).


Member Enumeration Documentation

Color binding.

Enumerator:
INHERITED 
PER_VERTEX 
PER_PART 

Member Function Documentation

static const SoNodekitCatalog* PoChart::getClassNodekitCatalog (  )  [static]
static SoType PoChart::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from PoGraphMaster.

Reimplemented in PoBar, PoConicBar, PoCurveFilling, PoCurveLine, PoCylindricalBar, PoGeneralizedBar, PoGeneralizedScatter, PoLabel, PoLinearBar, PoPieChartRep, PoProfileBar, PoRibbon, PoScatter, and PoTube.

virtual const SoNodekitCatalog* PoChart::getNodekitCatalog (  )  const [virtual]
virtual SoType PoChart::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from PoGraphMaster.

Reimplemented in PoBar, PoConicBar, PoCurveFilling, PoCurveLine, PoCylindricalBar, PoGeneralizedBar, PoGeneralizedScatter, PoLabel, PoLinearBar, PoPieChartRep, PoProfileBar, PoRibbon, PoScatter, and PoTube.


Member Data Documentation

Specify how the colors are bound to the representation.

INHERITED: The entire representation is colored with the same inherited color whatever values of the fields colorValuesIndex and material.

PER_VERTEX: Each vertex of the representation is colored with a different color from the field material or colorValuesIndex.

PER_PART: Each part of the representation is colored with a different color from the field material or colorValuesIndex.

The interpretation of colorBinding is retailed in the derived classes. If not enough colors is provided, they are circular used.

Defines the index of the set of values for the coloring.

If colorValuesIndex = -1, (the colorValuesIndex is called undefined) the charting representation is colored with only one color which is inherited. If colorValuesIndex >= 0, the representation is colored relating to values of the specified set, and relating to the color binding method defined by the field colorBinding. If the field material is different from NULL and not ignored (cf setIgnored method of SoField class), this is the field material which is used for coloring.

Defines the list of materials used for the coloring.

The representation is colored relating to the color binding method defined by the field colorBinding. If this field is ignored (cf setIgnored method of SoField class) or NULL, this is the field colorValuesIndex (if this one is also ignored, the color will be inherited) which is used for coloring.

Defines the index of the set of values used by a charting representation as a y-coordinate of each mesh node.


The documentation for this class was generated from the following file:

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