PoLabelField Class Reference

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 {
enum  VerticalJustification {
enum  CoordinateType {
enum  ConcatType {

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).


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