Package com.openinventor.meshviz.graph
Class PoCartesianAxis
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
- Direct Known Subclasses:
PoGenAxis,PoLinearAxis,PoLogAxis
public class PoCartesianAxis extends PoAxis
Abstract class for cartesian axes. This class handles the start, end, and the type of the cartesian axis.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPoCartesianAxis.TypesType of axis orientation.-
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
Fields Modifier and Type Field Description SoSFFloatendDefines the end of the axis.SoSFFloatgradEndDefines the value of the graduation (tick label) corresponding to the end coordinate of this axis.SoSFFloatgradStartDefines the value of the graduation (tick label) corresponding to the starting coordinate of this axis.SoSFVec3fstartDefines the start of the axis.SoSFEnum<PoCartesianAxis.Types>typeType 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SoNodekitCataloggetClassNodekitCatalog()Returns theSoNodekitCatalogfor 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 Detail
-
start
public final SoSFVec3f start
Defines the start of the axis.
-
end
public final SoSFFloat end
Defines the end of the axis.
-
gradStart
public final SoSFFloat gradStart
Defines the value of the graduation (tick label) corresponding to the starting coordinate of this axis. For instance if an horizontal axisstartis (5,0,0), theendis 10, thegradStartis -3 andgradEndis +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
gradStartandgradEndare 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
public final SoSFFloat gradEnd
Defines the value of the graduation (tick label) corresponding to the end coordinate of this axis. SeegradStartfor details.This field is ignored by
PoGenAxis.- Since:
- Open Inventor 9.5.1
-
type
public final SoSFEnum<PoCartesianAxis.Types> 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 Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalogfor this class.
-
-