PoLabel Class Reference
[Misc]

MeshViz Class to build a label field. More...

#include <MeshViz/graph/PoLabel.h>

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

List of all members.

Public Types

enum  ValueType {
  VALUE,
  NAME
}
enum  Position {
  VALUE_POS,
  MIDDLE_POS,
  THRESHOLD_POS
}
enum  Axis {
  X,
  Y
}

Public Member Functions

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

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoSFInt32 stringsIndex
SoSFEnum axis
SoSFBitMask valueType
SoSFEnum position
SoSFFloat threshold
SoMFVec3f offset
SoSFFloat fontSize

Detailed Description

MeshViz Class to build a label field.

Builds a 2D label field on 1D mesh (PoIrregularMesh1D or PoRegularMesh1D). The abscissas of the labels are given by the geometry of the current mesh 1D, and the ordinates are given by one of the value-set of the current mesh 1D specified by the field yValuesIndex. Names attached to each label are given by one of the string-set of the current mesh 1D specified by the field stringsIndex.

The fields position, threshold and offset allows the user to set the label position and the field valueType set the values to display as labels. This class also takes into account of the current mesh 1D hints (PoMesh1DHints), and the current mesh 1D filter (PoMesh1DFilter) to filter the geometry of the current mesh 1D. The current label hints (PoLabelHints) is used to specify the appearance of labels. If the offset is different from null and, if the field isLabelLineVisible of the current label hints is set to TRUE then, a line representing the offset is drawn. All labels 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).

The interpretation of colorBinding is the following :

FILE FORMAT/DEFAULT


Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/