Class PoGroup2Axis
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class PoGroup2Axis extends PoBaseAxis
Class to build a group of two axes. This class builds a group of two axes in the plane XY. This group contains one horizontal axis (X-axis) and one vertical axis (Y-axis).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="Heading616">CATALOG PARTS</A></h4> <ul><b>PoGroup2Axis</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>xAxis</tt></ul></ul></ul> <ul><ul><ul><i>Corresponds to the x-axis.</i></ul></ul></ul> <ul><ul><ul><b>PoLinearAxis/PoLogAxis</b> <tt>yAxis</tt></ul></ul></ul> <ul><ul><ul><i>Corresponds to the 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
PoGroup2Axis.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
Defines the end point of the both 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 both axis.SoSFString
xTitle
Title of the horizontal axis.SoSFString
yTitle
Title of the vertical axis.-
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 PoGroup2Axis()
Default constructor.PoGroup2Axis(SbVec2f _start, SbVec2f _end, PoGroup2Axis.AxisTypes _xAxisType, PoGroup2Axis.AxisTypes _yAxisType)
Calls PoGroup2Axis(_start, _end, _xAxisType, _yAxisType, (java.lang.String)null, (java.lang.String)null).PoGroup2Axis(SbVec2f _start, SbVec2f _end, PoGroup2Axis.AxisTypes _xAxisType, PoGroup2Axis.AxisTypes _yAxisType, java.lang.String xTtle)
Calls PoGroup2Axis(_start, _end, _xAxisType, _yAxisType, xTtle, (java.lang.String)null).PoGroup2Axis(SbVec2f _start, SbVec2f _end, PoGroup2Axis.AxisTypes _xAxisType, PoGroup2Axis.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 both axis. (0,0) by default.
-
end
public final SoSFVec2f end
Defines the end point of the both axis. The X-axis is generated from the point "start" to the point (end[0], start[1]). The Y-axis is generated from the point start to the point (start[0], end[1]). (1,1) by default.
-
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 axis. Empty by default.
-
yTitle
public final SoSFString yTitle
Title of the vertical axis. Empty by default.
-
-
Constructor Detail
-
PoGroup2Axis
public PoGroup2Axis(SbVec2f _start, SbVec2f _end, PoGroup2Axis.AxisTypes _xAxisType, PoGroup2Axis.AxisTypes _yAxisType, java.lang.String xTtle)
Calls PoGroup2Axis(_start, _end, _xAxisType, _yAxisType, xTtle, (java.lang.String)null).
-
PoGroup2Axis
public PoGroup2Axis(SbVec2f _start, SbVec2f _end, PoGroup2Axis.AxisTypes _xAxisType, PoGroup2Axis.AxisTypes _yAxisType)
Calls PoGroup2Axis(_start, _end, _xAxisType, _yAxisType, (java.lang.String)null, (java.lang.String)null).
-
PoGroup2Axis
public PoGroup2Axis(SbVec2f _start, SbVec2f _end, PoGroup2Axis.AxisTypes _xAxisType, PoGroup2Axis.AxisTypes _yAxisType, java.lang.String xTtle, java.lang.String yTtle)
Constructor.
-
PoGroup2Axis
public PoGroup2Axis()
Default constructor.
-
-
Method Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-