public class PoLabel extends PoChart
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:
PoLabel
{
colorBinding | INHERITED |
yValuesIndex | -1 |
colorValuesIndex | 1 |
material | NULL |
stringsIndex | 0 |
axis | X |
valueType | VALUE |
position | VALUE_POS |
threshold | 0. |
offset | 0. 0. 0. |
fontSize | 0.0 |
Modifier and Type | Class and Description |
---|---|
static class |
PoLabel.AxisType
values computation.
|
static class |
PoLabel.Positions
Position of the labels.
|
static class |
PoLabel.ValueTypes
Type of value displayed by the labels.
|
PoChart.ColorBindings
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<PoLabel.AxisType> |
axis
Defines from which axis the position and type of displayed values computation is done.
|
SoSFFloat |
fontSize
Font size of labels.
|
static int |
MIDDLE_POS
Deprecated.
Use
PoLabel.Positions.MIDDLE_POS instead. |
static int |
NAME
Deprecated.
Use
PoLabel.ValueTypes.NAME instead. |
SoMFVec3f |
offset
Defines an offset applied to the label.
|
SoSFEnum<PoLabel.Positions> |
position
Defines the position of the labels.
|
SoSFInt32 |
stringsIndex
Defines the index of the set of strings used for the names attached to labels when valueType is equal to NAME.
|
SoSFFloat |
threshold
Defines the threshold used to the set position of the label.
|
static int |
THRESHOLD_POS
Deprecated.
Use
PoLabel.Positions.THRESHOLD_POS instead. |
static int |
VALUE
Deprecated.
Use
PoLabel.ValueTypes.VALUE instead. |
static int |
VALUE_POS
Deprecated.
Use
PoLabel.Positions.VALUE_POS instead. |
SoSFBitMask<PoLabel.ValueTypes> |
valueType
Defines the type of values displayed by the labels.
|
static int |
X
Deprecated.
Use
PoLabel.AxisType.X instead. |
static int |
Y
Deprecated.
Use
PoLabel.AxisType.Y instead. |
colorBinding, colorValuesIndex, INHERITED, material, PER_PART, PER_VERTEX, yValuesIndex
FOLD_NODE_WRITE_FORMAT, SO_ANNO_TEXT3, SO_TEXT3, UNFOLD_NODE_WRITE_FORMAT, UPDATE_METHOD_IMMEDIATE, UPDATE_METHOD_ON_ACTION
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
PoLabel()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int VALUE
PoLabel.ValueTypes.VALUE
instead.@Deprecated public static final int NAME
PoLabel.ValueTypes.NAME
instead.@Deprecated public static final int VALUE_POS
PoLabel.Positions.VALUE_POS
instead.@Deprecated public static final int MIDDLE_POS
PoLabel.Positions.MIDDLE_POS
instead.@Deprecated public static final int THRESHOLD_POS
PoLabel.Positions.THRESHOLD_POS
instead.@Deprecated public static final int X
PoLabel.AxisType.X
instead.@Deprecated public static final int Y
PoLabel.AxisType.Y
instead.public final SoSFInt32 stringsIndex
public final SoSFEnum<PoLabel.AxisType> axis
public final SoSFBitMask<PoLabel.ValueTypes> valueType
public final SoSFEnum<PoLabel.Positions> position
public final SoSFFloat threshold
public final SoMFVec3f offset
public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com