Package com.openinventor.meshviz.nodes
Class PoLabelHints
- All Implemented Interfaces:
SafeDisposable
Node to define common label hints.
This node defines the current hints to display label of all subsequent MeshViz representations inhering from
PoChart
.
File format/default:
labelPath | DEPEND |
justification | DEPEND |
addString | "" |
isLabelLineVisible | false |
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Label justification type.static enum
Label path type.Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoSFString
Defines a string to concat to the label to display.final SoSFBool
Defines the visibility of a line from the label and the part to be annotated.Defines the justification used to display label.final SoSFEnum
<PoLabelHints.LabelPaths> Defines the path used to display label.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.meshviz.nodes.PoNode
callback, doAction, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, search, write
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, copy, copy, distribute, getAlternateRep, getByName, getRenderEngineMode, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, rayPick, setOverride, touch
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
labelPath
Defines the path used to display label. -
justification
Defines the justification used to display label. -
addString
Defines a string to concat to the label to display. If you want to ignore the string to concat, remember to call the method setIgnored(true) (method ofSoField
) on this field. -
isLabelLineVisible
Defines the visibility of a line from the label and the part to be annotated.
-
-
Constructor Details
-
PoLabelHints
public PoLabelHints()Constructor.
-