Package com.openinventor.meshviz.nodes
Class PoNumericDisplayFormat
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.misc.SoBase
com.openinventor.inventor.fields.SoFieldContainer
com.openinventor.inventor.nodes.SoNode
com.openinventor.meshviz.nodes.PoNode
com.openinventor.meshviz.nodes.PoNumericDisplayFormat
- All Implemented Interfaces:
SafeDisposable
Node to define the numeric display format.
This node defines the current numeric display format for all subsequent MeshViz representations which display numeric values. This node is used to define the numerical display format of mumerical values to be displayed. There are three formats available: automatic format, floating point format, integer format. The automatic format selects the best format adapted to the domain of values to be displayed. The floating point format and the integer format divide the numerical value to be displayed by the power of ten, and then display it in the selected format.
File format/default:
formatType | AUTO_FORMAT |
numDecimal | 0 |
tenPower | 0 |
-
Nested Class Summary
Nested ClassesNested 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 TypeFieldDescriptionDefines the type of format.final SoSFShort
Defines the number of decimals placed after the decimal point.final SoSFShort
Defines the power of ten divisor.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
-
formatType
Defines the type of format. -
numDecimal
Defines the number of decimals placed after the decimal point. Used only if the format is FLOAT_FORMAT. -
tenPower
Defines the power of ten divisor. Unused if the format is AUTO_FORMAT.
-
-
Constructor Details
-
PoNumericDisplayFormat
public PoNumericDisplayFormat()Constructor.
-