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
public class PoNumericDisplayFormat extends PoNode
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 Classes Modifier and Type Class Description static class
PoNumericDisplayFormat.FormatTypes
Type of format.-
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 SoSFEnum<PoNumericDisplayFormat.FormatTypes>
formatType
Defines the type of format.SoSFShort
numDecimal
Defines the number of decimals placed after the decimal point.SoSFShort
tenPower
Defines the power of ten divisor.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PoNumericDisplayFormat()
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
-
formatType
public final SoSFEnum<PoNumericDisplayFormat.FormatTypes> formatType
Defines the type of format.
-
numDecimal
public final SoSFShort numDecimal
Defines the number of decimals placed after the decimal point. Used only if the format is FLOAT_FORMAT.
-
tenPower
public final SoSFShort tenPower
Defines the power of ten divisor. Unused if the format is AUTO_FORMAT.
-
-