Package com.openinventor.meshviz.nodes
Class PoLabelHints
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class PoLabelHints extends PoNode
Node to define common label hints. This node defines the current hints to display label of all subsequent MeshViz representations inhering fromPoChart
.File format/default:
labelPath DEPEND justification DEPEND addString "" isLabelLineVisible false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PoLabelHints.Justifications
Label justification type.static class
PoLabelHints.LabelPaths
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
Fields Modifier and Type Field Description SoSFString
addString
Defines a string to concat to the label to display.SoSFBool
isLabelLineVisible
Defines the visibility of a line from the label and the part to be annotated.SoSFEnum<PoLabelHints.Justifications>
justification
Defines the justification used to display label.SoSFEnum<PoLabelHints.LabelPaths>
labelPath
Defines the path used to display label.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PoLabelHints()
Constructor.
-
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 Detail
-
labelPath
public final SoSFEnum<PoLabelHints.LabelPaths> labelPath
Defines the path used to display label.
-
justification
public final SoSFEnum<PoLabelHints.Justifications> justification
Defines the justification used to display label.
-
addString
public final SoSFString 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
public final SoSFBool isLabelLineVisible
Defines the visibility of a line from the label and the part to be annotated.
-
-