Class PoPolarLinAxis
- All Implemented Interfaces:
SafeDisposable
Graduations format depends on the current numerical display format. If the method setFormat(format) is called, the current numerical display format is "format". Otherwise the current numerical display format is specified in the current inherited state (cf property node PoNumericDisplayFormat
).
File format/default:
gradVisibility | VISILITY_DEPEND |
gradPosition | GRAD_DEPEND |
gradPath | PATH_DEPEND |
gradFontName | "" |
gradFontSize | 0 |
gradDistAxis | 0 |
gradAddStringVisibility | false |
gradAddString | "" |
marginType | REL_MARGIN |
marginStart | 0 |
marginEnd | 0 |
titleVisibility | VISILITY_DEPEND |
titlePosition | TITLE_DEPEND |
titlePath | PATH_DEPEND |
titleFontName | "" |
titleFontSize | 0 |
titleDistAxis | 0 |
titleString | "" |
gridVisibility | VISILITY_DEPEND |
gridLengthGradSide | 0 |
gridLengthGradOtherSide | 1 |
arrowVisibility | VISIBILITY_DEPEND |
arrowHeight | 0.03 |
arrowLength | 0.05 |
tickVisibility | VISIBILITY_DEPEND |
tickPosition | TICK_GRAD_SIDE |
tickMainLength | 0 |
tickSubLength | 0 |
tickSubDef | PERIOD_MAIN_TICK |
tickNumOrPeriod | 1 |
tickFirstGrad | 1 |
tickLastGrad | 1 |
reverseFlag | AXIS_REVERSE_DEPEND |
offset | 0 |
startRadius | 0 |
endRadius | 1 |
theta | 0 |
multFactorPosition | MULT_FACTOR_END |
multFactorDistAxis | 0 |
step | 0 |
gradFit | GRAD_UNFIT |
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
First graduation rounded or not.Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoPolarAxis
PoPolarAxis.MultFactor, PoPolarAxis.MultFactorPositions
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoAxis
PoAxis.ArrowAttributes, PoAxis.AxisReverses, PoAxis.GradAttributes, PoAxis.GradPositions, PoAxis.GridAttributes, PoAxis.MarginAttributes, PoAxis.MarginTypes, PoAxis.TextPaths, PoAxis.TickAttributes, PoAxis.TickPositions, PoAxis.TickSubDefs, PoAxis.TitleAttributes, PoAxis.TitlePositions, PoAxis.Visibilities
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
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 SoSFEnum
<PoPolarLinAxis.GradFits> This flag indicates if the first graduation is rounded or not.final SoSFFloat
Defines the step for the axis.Fields inherited from class com.openinventor.meshviz.graph.PoPolarAxis
endRadius, multFactorDistAxis, multFactorPosition, offset, startRadius, theta
Fields inherited from class com.openinventor.meshviz.graph.PoAxis
arrowHeight, arrowLength, arrowVisibility, gradAddString, gradAddStringVisibility, gradDistAxis, gradFontName, gradFontSize, gradPath, gradPosition, gradVisibility, gridLengthGradOtherSide, gridLengthGradSide, gridVisibility, marginEnd, marginStart, marginType, reverseFlag, tickFirstGrad, tickLastGrad, tickMainLength, tickNumOrPeriod, tickPosition, tickSubDef, tickSubLength, tickVisibility, titleDistAxis, titleFontName, titleFontSize, titlePath, titlePosition, titleString, titleVisibility
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.PoPolarLinAxis
(float offset, float startRadius, float endRadius, float theta) Calls PoPolarLinAxis(offset, startRadius, endRadius, theta, (float)0.0).PoPolarLinAxis
(float offset, float startRadius, float endRadius, float theta, float step) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalog
Returns theSoNodekitCatalog
for this class.Gets a reference to aPbNumericDisplayFormat
object for the numerical display format for the graduations.float
getStep()
Returns the step (the step computed can be different from the associated field).void
setFormat
(PbNumericDisplayFormat format) Sets a reference to aPbNumericDisplayFormat
object for the numerical display format for the graduations.Methods inherited from class com.openinventor.meshviz.graph.PoPolarAxis
getMultFactor
Methods inherited from class com.openinventor.meshviz.graph.PoAxis
getArrow, getGrad, getGrid, getMargin, getMiscTextAttr, getReverseFlag, getTick, getTitle, setMiscTextAttr
Methods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, 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
-
step
Defines the step for the axis. If this value is <= 0, the step is automatically calculated. -
gradFit
This flag indicates if the first graduation is rounded or not.
-
-
Constructor Details
-
PoPolarLinAxis
public PoPolarLinAxis(float offset, float startRadius, float endRadius, float theta) Calls PoPolarLinAxis(offset, startRadius, endRadius, theta, (float)0.0). -
PoPolarLinAxis
public PoPolarLinAxis()Default constructor. -
PoPolarLinAxis
public PoPolarLinAxis(float offset, float startRadius, float endRadius, float theta, float step) Constructor.
-
-
Method Details
-
getFormat
Gets a reference to aPbNumericDisplayFormat
object for the numerical display format for the graduations. -
getStep
public float getStep()Returns the step (the step computed can be different from the associated field). -
getClassNodekitCatalog
Returns theSoNodekitCatalog
for this class. -
setFormat
Sets a reference to aPbNumericDisplayFormat
object for the numerical display format for the graduations. If this method is not called (or called passing NULL as argument), this is the numerical display format defined in the current inherited state (defined with the property nodePoNumericDisplayFormat
) which is used.
-