PoLabelField Class Reference
[Scatter]

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

#include <MeshViz/graph/PoLabelField.h>

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

List of all members.

Public Types

enum  Justification {
  LEFT,
  RIGHT,
  CENTER
}
enum  VerticalJustification {
  TOP,
  CAP,
  HALF,
  BASE,
  BOTTOM
}
enum  CoordinateType {
  COORDINATE_IN_DOMAIN,
  COORDINATE_IN_CURRENT_UNIT
}
enum  ConcatType {
  STRING_BEFORE_VALUE,
  VALUE_BEFORE_STRING,
  STRING_ABOVE_VALUE,
  VALUE_ABOVE_STRING
}

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 PoLabelField ()
 PoLabelField (int numPoints, const SbVec2f *_point, const char **_string, const float *_value, float _fontSize, ConcatType type=STRING_BEFORE_VALUE, Justification _justification=LEFT, VerticalJustification _verticalJustification=BASE)
void setFormat (PbNumericDisplayFormat *format)
const PbNumericDisplayFormatgetFormat () const
virtual void rebuild ()

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoMFVec2f point
SoMFString string
SoMFFloat value
SoSFEnum concatType
SoSFFloat fontSize
SoSFEnum justification
SoSFEnum verticalJustification
SoSFEnum coordinateType

Detailed Description

MeshViz Class to build a label field.

Class to build a label field in the plane XY. This class represents a set of 2D points annotated by a string and a value.

All numerical values (if there are visible) depend on the current numerical display format. If the method setFormat(format) is called, the current numeric display format is "format". Otherwise the current numeric display format is specified in the current inherited state (cf property node PoNumericDisplayFormat).

FILE FORMAT/DEFAULT


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