Class PoGroup4Axis
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class PoGroup4Axis extends PoBaseAxis
Class to build a group of four axes. This class builds a group of four axes in the plane XY. This group contains two parallel horizontal axes (X-axis) and two parallel vertical axes (Y-axis) which define a rectangle of axes.The graduations of these axes are defined by the fields
gradStart
andgradEnd
. However if these fields are equal, the fieldsstart
andend
are used to define the graduation values.File format/default:
start 0 0 end 1 1 gradStart 0 0 gradEnd 0 0 xTitle "" yTitle "" <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <title></title> </head> <BODY> <h1></h1> <h4> <A NAME="Heading625">CATALOG PARTS</A></h4> <ul><b>PoGroup4Axis</b> {</ul> <ul><ul><b>Separator</b> <tt>alternateRep</tt> (from PoBase) {<br> </ul></ul> <ul><ul><ul><b>AppearanceKit</b> <tt>appearance</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Specifies the appearance of all the kit. By default lightModel.model=BASE_COLOR.</i></ul></ul></ul> <ul><ul><ul><b>MatrixTransform</b> <tt>domainTransform</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Corresponds to the domain transformation.</i></ul></ul></ul> <ul><ul><ul><b>PoLinearAxis/PoLogAxis</b> <tt>xUpAxis</tt></ul></ul></ul> <ul><ul><ul><i>Corresponds to the up x-axis.</i></ul></ul></ul> <ul><ul><ul><b>PoLinearAxis/PoLogAxis</b> <tt>xDownAxis</tt></ul></ul></ul> <ul><ul><ul><i>Corresponds to the down x-axis.</i></ul></ul></ul> <ul><ul><ul><b>PoLinearAxis/PoLogAxis</b> <tt>yLeftAxis</tt></ul></ul></ul> <ul><ul><ul><i>Corresponds to the left y-axis.</i></ul></ul></ul> <ul><ul><ul><b>PoLinearAxis/PoLogAxis</b> <tt>yRightAxis</tt></ul></ul></ul> <ul><ul><ul><i>Corresponds to the right y-axis.</i></ul></ul></ul> <ul><ul>}</ul></ul> <ul>}</ul> <ul><ul><br> </ul></ul> </body> </html>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PoGroup4Axis.AxisTypes
Type of axis.-
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 SoSFVec2f
end
End point of the top horizontal axis and of the right vertical axis.SoSFVec2f
gradEnd
Defines the value of the graduation (tick label) corresponding to the end point of this group of axes.SoSFVec2f
gradStart
Defines the value of the graduation (tick label) corresponding to the starting point of this group of axes.SoSFVec2f
start
Start point of the bottom horizontal axis and of the left vertical axis.SoSFString
xTitle
Title of the horizontal axes.SoSFString
yTitle
Title of the vertical axes.-
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PoGroup4Axis()
Default constructor.PoGroup4Axis(SbVec2f _start, SbVec2f _end, PoGroup4Axis.AxisTypes _xAxisType, PoGroup4Axis.AxisTypes _yAxisType)
Calls PoGroup4Axis(_start, _end, _xAxisType, _yAxisType, (java.lang.String)null, (java.lang.String)null).PoGroup4Axis(SbVec2f _start, SbVec2f _end, PoGroup4Axis.AxisTypes _xAxisType, PoGroup4Axis.AxisTypes _yAxisType, java.lang.String xTtle)
Calls PoGroup4Axis(_start, _end, _xAxisType, _yAxisType, xTtle, (java.lang.String)null).PoGroup4Axis(SbVec2f _start, SbVec2f _end, PoGroup4Axis.AxisTypes _xAxisType, PoGroup4Axis.AxisTypes _yAxisType, java.lang.String xTtle, java.lang.String yTtle)
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SoNodekitCatalog
getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.-
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 SoSFVec2f start
Start point of the bottom horizontal axis and of the left vertical axis. The first X-axis is generated from the point "start" to the point (end[0], start[1]). The second X-axis is generated from the point (start[0], end[1]) to the point "end". The first Y-axis is generated from the point "start" to the point (start[0], end[1]). The second Y-axis is generated from the point (end[0], start[1]) to the point "end".
-
end
public final SoSFVec2f end
End point of the top horizontal axis and of the right vertical axis.
-
gradStart
public final SoSFVec2f gradStart
Defines the value of the graduation (tick label) corresponding to the starting point of this group of axes. SeePoCartesianAxis.gradStart
for details.- Since:
- Open Inventor 9.5.1
-
gradEnd
public final SoSFVec2f gradEnd
Defines the value of the graduation (tick label) corresponding to the end point of this group of axes. SeePoCartesianAxis.gradEnd
for details.- Since:
- Open Inventor 9.5.1
-
xTitle
public final SoSFString xTitle
Title of the horizontal axes. Empty by default.
-
yTitle
public final SoSFString yTitle
Title of the vertical axes. Empty by default.
-
-
Constructor Detail
-
PoGroup4Axis
public PoGroup4Axis(SbVec2f _start, SbVec2f _end, PoGroup4Axis.AxisTypes _xAxisType, PoGroup4Axis.AxisTypes _yAxisType, java.lang.String xTtle)
Calls PoGroup4Axis(_start, _end, _xAxisType, _yAxisType, xTtle, (java.lang.String)null).
-
PoGroup4Axis
public PoGroup4Axis(SbVec2f _start, SbVec2f _end, PoGroup4Axis.AxisTypes _xAxisType, PoGroup4Axis.AxisTypes _yAxisType)
Calls PoGroup4Axis(_start, _end, _xAxisType, _yAxisType, (java.lang.String)null, (java.lang.String)null).
-
PoGroup4Axis
public PoGroup4Axis(SbVec2f _start, SbVec2f _end, PoGroup4Axis.AxisTypes _xAxisType, PoGroup4Axis.AxisTypes _yAxisType, java.lang.String xTtle, java.lang.String yTtle)
Constructor. (By default the 4 axes are linear axes).
-
PoGroup4Axis
public PoGroup4Axis()
Default constructor.
-
-
Method Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-