Package com.openinventor.meshviz.graph
Class PoCartesianAxis
java.lang.Object
- All Implemented Interfaces:
SafeDisposable
- Direct Known Subclasses:
PoGenAxis
,PoLinearAxis
,PoLogAxis
Abstract class for cartesian axes.
This class handles the start, end, and the type of the cartesian axis.
-
Nested Class Summary
Nested ClassesNested 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 SoSFFloat
Defines the end of the axis.final SoSFFloat
Defines the value of the graduation (tick label) corresponding to the end coordinate of this axis.final SoSFFloat
Defines the value of the graduation (tick label) corresponding to the starting coordinate of this axis.final SoSFVec3f
Defines the start of the axis.final SoSFEnum
<PoCartesianAxis.Types> Type of the axis (XY, XZ, YX, ...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
-
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalog
Returns theSoNodekitCatalog
for this class.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
-
start
Defines the start of the axis. -
end
Defines the end of the axis. -
gradStart
Defines the value of the graduation (tick label) corresponding to the starting coordinate of this axis. For instance if an horizontal axisstart
is (5,0,0), theend
is 10, thegradStart
is -3 andgradEnd
is +4, the X coordinates of this horizontal axis are in the range [5, 10], but the text of the displayed graduations are in the range [-3, +4] for linear axis and in the range [10E-3, 10E+4] for logarithmic axis.If
gradStart
andgradEnd
are equal, these fields are ignored and the text of the graduations correspond to the coordinates of the axis.This field is ignored by
PoGenAxis
.- Since:
- Open Inventor 9.5.1
-
gradEnd
Defines the value of the graduation (tick label) corresponding to the end coordinate of this axis. SeegradStart
for details.This field is ignored by
PoGenAxis
.- Since:
- Open Inventor 9.5.1
-
type
Type of the axis (XY, XZ, YX, ... axis). For instance if the type is XY, it means an X-Axis in the plane XY.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalog
for this class.
-