Class PoLogAxis
- All Implemented Interfaces:
SafeDisposable
gradStart
= 3, gradEnd
= 8 plane = XY and maxGradNum > 8. If maxGradNum = 4, the graduations values are 10E3, 10E5 and 10E7. If the fields gradStart
and gradEnd
are equal, the fields start
and end
are used to define the graduation values.
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 |
maxGradNum | 10 |
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 |
start | 0 0 0 |
end | 1 |
type | XY |
gradStart | 0 |
gradEnd | 0 |
decadeListDef | DECADE_LIST_AUTO |
decadeList | 2 |
tenPowerRep | TEN_POWER_POW10 |
decadeRep | DECADE_NONE |
decadeFontName | "" |
decadeFontSize | 0 |
multFactorPosition | MULT_FACTOR_END |
multFactorDistAxis | 0 |
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Decade list computed automatically or given by the user.static enum
Type of presentation of the axis decades.static class
static class
static enum
Type of position of the multiplicative factor.static enum
Type of presentation of the power of ten.Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoCartesianAxis
PoCartesianAxis.Types
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoAxis
PoAxis.ArrowAttributes, PoAxis.AxisReverses, 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 SoSFString
Decade font name.final SoSFFloat
Decade graduations font size.final SoMFUShort
List of graduations between two power of ten graduations (decade graduations).final SoSFEnum
<PoLogAxis.DecadeListDefs> Specifies if the list of decade graduations is given by the user or is automatically computed.final SoSFEnum
<PoLogAxis.DecadeReps> Defines the representation of the decade graduations between two power of ten graduations.final SoSFUShort
Maximum number of logarithmic graduations displayed.final SoSFFloat
Distance from the multiplicative factor to the axis.Position of the multiplicative factor.final SoSFEnum
<PoLogAxis.TenPowGradReps> Defines the representation of power of ten graduations.Fields inherited from class com.openinventor.meshviz.graph.PoCartesianAxis
end, gradEnd, gradStart, start, type
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
ConstructorsConstructorDescriptionConstructor.PoLogAxis
(SbVec3f _start, float _end, PoCartesianAxis.Types _type) Calls PoLogAxis(_start, _end, _type, PoLogAxis.DecadeListDefs.valueOf( PoLogAxis.DecadeListDefs.DECADE_LIST_AUTO.getValue() ), (short[])null).PoLogAxis
(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd) Calls PoLogAxis(_start, _end, _type, _gradStart, _gradEnd, PoLogAxis.DecadeListDefs.valueOf( PoLogAxis.DecadeListDefs.DECADE_LIST_AUTO.getValue() ), (short[])null).PoLogAxis
(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd, PoLogAxis.DecadeListDefs _decadeListDef) Calls PoLogAxis(_start, _end, _type, _gradStart, _gradEnd, _decadeListDef, (short[])null).PoLogAxis
(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd, PoLogAxis.DecadeListDefs _decadeListDef, short[] _decadeList) Constructor.PoLogAxis
(SbVec3f _start, float _end, PoCartesianAxis.Types _type, PoLogAxis.DecadeListDefs _decadeListDef) Calls PoLogAxis(_start, _end, _type, _decadeListDef, (short[])null).PoLogAxis
(SbVec3f _start, float _end, PoCartesianAxis.Types _type, PoLogAxis.DecadeListDefs _decadeListDef, short[] _decadeList) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalog
Returns theSoNodekitCatalog
for this class.Returns the current logarithmic graduations attributes (those computed can be different from the associated fields).Returns the current multiplicative factor attributes (those computed can be different from the associated fields).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
-
decadeList
List of graduations between two power of ten graduations (decade graduations). For each integer value i of decadeList, 2 <= i <= 9, only the 8 first values of decadeList are used. This field is used to build the axis only if decadeListDef = DECADE_LIST_NON_AUTO. -
decadeListDef
Specifies if the list of decade graduations is given by the user or is automatically computed. -
tenPowerRep
Defines the representation of power of ten graduations. . -
decadeRep
Defines the representation of the decade graduations between two power of ten graduations. -
decadeFontName
Decade font name. If the font is equal to its default value, the font used is the font of the current miscellaneous text attributes (cfPoAxis
description). -
decadeFontSize
Decade graduations font size. If this value is <= 0, the font size is fixed at 0.04 if the graduations do not cross each other. This value is a percentage of the current domain (cfPoBase
description). -
multFactorPosition
Position of the multiplicative factor. -
multFactorDistAxis
Distance from the multiplicative factor to the axis. This value is a percentage of the current domain (cfPoBase
description). If this value is <= 0, the distance is automatically calculated. -
maxGradNum
Maximum number of logarithmic graduations displayed. For example, a logarithmic axis with range 0 to 100 will have 101 graduations if this value is > 100. But that would generate an axis with too many small illegible graduations. If maxGradNum is set to 10, less than 10 logarithmic graduations are displayed like 10E0, 10E10, 10E20, ... 10E90.In order to make the axis as legible as possible, when some main logarithmic graduations are filtered out by this field, no decade graduations are displayed.
Default value is 10.
-
-
Constructor Details
-
PoLogAxis
public PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd) Calls PoLogAxis(_start, _end, _type, _gradStart, _gradEnd, PoLogAxis.DecadeListDefs.valueOf( PoLogAxis.DecadeListDefs.DECADE_LIST_AUTO.getValue() ), (short[])null). -
PoLogAxis
public PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd, PoLogAxis.DecadeListDefs _decadeListDef) Calls PoLogAxis(_start, _end, _type, _gradStart, _gradEnd, _decadeListDef, (short[])null). -
PoLogAxis
Calls PoLogAxis(_start, _end, _type, PoLogAxis.DecadeListDefs.valueOf( PoLogAxis.DecadeListDefs.DECADE_LIST_AUTO.getValue() ), (short[])null). -
PoLogAxis
public PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, PoLogAxis.DecadeListDefs _decadeListDef) Calls PoLogAxis(_start, _end, _type, _decadeListDef, (short[])null). -
PoLogAxis
public PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd, PoLogAxis.DecadeListDefs _decadeListDef, short[] _decadeList) Constructor.- Since:
- Open Inventor 9.5.1
-
PoLogAxis
public PoLogAxis()Constructor. -
PoLogAxis
public PoLogAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, PoLogAxis.DecadeListDefs _decadeListDef, short[] _decadeList) Constructor.
-
-
Method Details
-
getMultFactor
Returns the current multiplicative factor attributes (those computed can be different from the associated fields). -
getLogGrad
Returns the current logarithmic graduations attributes (those computed can be different from the associated fields). -
getClassNodekitCatalog
Returns theSoNodekitCatalog
for this class.
-