public class PoAutoCubeAxis extends PoBaseAxis
SoCamera class). The graduations and the title of the axes are always legible whatever the view definition. The two points (start and end fields) define the diagonal of the parallelepiped and only the edges which are intersecting a visible face and an invisible face will be graduated. The visible and invisible faces depend on the view definition. The visible faces of the parallelepiped are the back faces.
1-----------2 Y /| (2) /| | / | / | | / | (5) / | Vertices numerotation. | 6----------5 | ----- X | | | (1) | / |(3) 0----|------3 / | / | (4) / / | / | / Z |/ (0) | / 7----------4 Face 0 : 4 5 6 7 ==> edges : (4,5) (5,6) (6,7) (7,4) Face 1 : 2 3 4 5 ==> edges : (2,3) (3,4) (4,5) (5,2) Face 2 : 0 1 2 3 ==> edges : (0,1) (1,2) (2,3) (3,0) Face 3 : 0 1 6 7 ==> edges : (0,1) (1,6) (6,7) (7,0) Face 4 : 0 3 4 7 ==> edges : (0,3) (3,4) (4,7) (7,0) Face 5 : 1 2 5 6 ==> edges : (1,2) (2,5) (5,6) (6,1)
The graduations of these axes are defined by the fields gradStart and gradEnd. However if these fields are equal, the fields start and end are used to define the graduation values. Furthermore, the fields gradStart and gradEnd are always ignored for axis type GENERALIZED.
File format/default:
| start | 0 0 0 |
| end | 1 1 1 |
| gradStart | 0 0 0 |
| gradEnd | 0 0 0 |
| xTitle | "" |
| yTitle | "" |
| zTitle | "" |
| isGridLinesXVisible | false |
| isGridLinesYVisible | false |
| isGridLinesZVisible | false |
| isBackgroundFacesVisible | false |
| isIntersectingGradsVisible | false |
| modellingMatrix | 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 |
| viewingMatrix | 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 |
| projectionMatrix | 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 |
| Modifier and Type | Class and Description |
|---|---|
static class |
PoAutoCubeAxis.AxisTypes
Type of axes on the parallelepiped edges.
|
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypesInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFVec3f |
end
End point of the parallelepiped's diagonal.
|
static int |
GENERALIZED
Deprecated.
Use
PoAutoCubeAxis.AxisTypes.GENERALIZED instead. |
SoSFVec3f |
gradEnd
Defines the value of the graduation (tick label) corresponding to the end point of this group of axes.
|
SoSFVec3f |
gradStart
Defines the value of the graduation (tick label) corresponding to the starting point of this group of axes.
|
SoSFBool |
isBackgroundFacesVisible
Sets the visibility of visible faces.
|
SoSFBool |
isGridLinesXVisible
Sets the visibility of the grid lines of the X axes displayed on the visible faces.
|
SoSFBool |
isGridLinesYVisible
Sets the visibility of the grid lines of the Y axes displayed on the visible faces.
|
SoSFBool |
isGridLinesZVisible
Sets the visibility of the grid lines of the Z axes displayed on the visible faces.
|
SoSFBool |
isIntersectingGradsVisible
Given A1 and A2 2 consecutive axes with the first (the last) graduation of A1 intersects the first or the last graduation of A2.
|
static int |
LINEAR
Deprecated.
Use
PoAutoCubeAxis.AxisTypes.LINEAR instead. |
static int |
LOGARITHMIC
Deprecated.
Use
PoAutoCubeAxis.AxisTypes.LOGARITHMIC instead. |
SoSFMatrix |
modellingMatrix
This modelling matrix is used to determine the visibility of each face (and thus the axes to draw).
|
SoSFMatrix |
projectionMatrix
This modelling matrix is used to determine the visibility of each face (and thus the axes to draw).
|
SoSFVec3f |
start
Start point of the parallelepiped's diagonal.
|
SoSFMatrix |
viewingMatrix
This viewing matrix is used to determine the visibility of each face (and thus the axes to draw).
|
SoSFString |
xTitle
Title of the X axes.
|
SoSFString |
yTitle
Title of the Y axes.
|
SoSFString |
zTitle
Title of the Z axes.
|
FOLD_NODE_WRITE_FORMAT, SO_ANNO_TEXT3, SO_TEXT3, UNFOLD_NODE_WRITE_FORMAT, UPDATE_METHOD_IMMEDIATE, UPDATE_METHOD_ON_ACTIONboundingBoxIgnoringVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
PoAutoCubeAxis()
Default constructor.
|
PoAutoCubeAxis(SbVec3f _start,
SbVec3f _end,
PoAutoCubeAxis.AxisTypes xAxisType,
PoAutoCubeAxis.AxisTypes yAxisType,
PoAutoCubeAxis.AxisTypes zAxisType)
Calls PoAutoCubeAxis(_start, _end, xAxisType, yAxisType, zAxisType, (java.lang.String)null, (java.lang.String)null, (java.lang.String)null).
|
PoAutoCubeAxis(SbVec3f _start,
SbVec3f _end,
PoAutoCubeAxis.AxisTypes xAxisType,
PoAutoCubeAxis.AxisTypes yAxisType,
PoAutoCubeAxis.AxisTypes zAxisType,
java.lang.String xTtle)
Calls PoAutoCubeAxis(_start, _end, xAxisType, yAxisType, zAxisType, xTtle, (java.lang.String)null, (java.lang.String)null).
|
PoAutoCubeAxis(SbVec3f _start,
SbVec3f _end,
PoAutoCubeAxis.AxisTypes xAxisType,
PoAutoCubeAxis.AxisTypes yAxisType,
PoAutoCubeAxis.AxisTypes zAxisType,
java.lang.String xTtle,
java.lang.String yTtle)
Calls PoAutoCubeAxis(_start, _end, xAxisType, yAxisType, zAxisType, xTtle, yTtle, (java.lang.String)null).
|
PoAutoCubeAxis(SbVec3f _start,
SbVec3f _end,
PoAutoCubeAxis.AxisTypes xAxisType,
PoAutoCubeAxis.AxisTypes yAxisType,
PoAutoCubeAxis.AxisTypes zAxisType,
java.lang.String xTtle,
java.lang.String yTtle,
java.lang.String zTtle)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
void |
GLRender(SoGLRenderAction action)
Forces node-kit rebuilding.
|
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKitgetNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildrenaffectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public static final int LINEAR
PoAutoCubeAxis.AxisTypes.LINEAR instead.@Deprecated public static final int LOGARITHMIC
PoAutoCubeAxis.AxisTypes.LOGARITHMIC instead.@Deprecated public static final int GENERALIZED
PoAutoCubeAxis.AxisTypes.GENERALIZED instead.public final SoSFVec3f start
public final SoSFVec3f end
public final SoSFVec3f gradStart
PoCartesianAxis.gradStart for details.
public final SoSFVec3f gradEnd
PoCartesianAxis.gradEnd for details.
public final SoSFString xTitle
public final SoSFString yTitle
public final SoSFString zTitle
public final SoSFBool isGridLinesXVisible
PoAxis cannot be used because the graduations of thes axes are not necessarily in the same plane than the visible faces). false by default.public final SoSFBool isGridLinesYVisible
PoAxis cannot be used because the graduations of thes axes are not necessarily in the same plane than the visible faces). false by default.public final SoSFBool isGridLinesZVisible
PoAxis cannot be used because the graduations of thes axes are not necessarily in the same plane than the visible faces). false by default.public final SoSFBool isBackgroundFacesVisible
public final SoSFBool isIntersectingGradsVisible
PoAxis is used to suppress the first (the last) graduation. false by default.public final SoSFMatrix modellingMatrix
SoGLRenderAction, an SoCallbackAction, an SoRayPickAction or an SoVectorizeAction traverse this node, this matrix is set to the current modelling matrix and the axes are rebuilt.public final SoSFMatrix viewingMatrix
SoGLRenderAction, an SoCallbackAction, an SoRayPickAction or an SoVectorizeAction traverse this node, this matrix is set to the current viewing matrix and the axes are rebuilt. viewingMatrix depends on the current camera.public final SoSFMatrix projectionMatrix
SoGLRenderAction, an SoCallbackAction, an SoRayPickAction or an SoVectorizeAction traverse this node, this matrix is set to the current projection matrix and the axes are rebuilt. projectionMatrix depends on the current camera.public PoAutoCubeAxis(SbVec3f _start, SbVec3f _end, PoAutoCubeAxis.AxisTypes xAxisType, PoAutoCubeAxis.AxisTypes yAxisType, PoAutoCubeAxis.AxisTypes zAxisType, java.lang.String xTtle)
public PoAutoCubeAxis(SbVec3f _start, SbVec3f _end, PoAutoCubeAxis.AxisTypes xAxisType, PoAutoCubeAxis.AxisTypes yAxisType, PoAutoCubeAxis.AxisTypes zAxisType)
public PoAutoCubeAxis(SbVec3f _start, SbVec3f _end, PoAutoCubeAxis.AxisTypes xAxisType, PoAutoCubeAxis.AxisTypes yAxisType, PoAutoCubeAxis.AxisTypes zAxisType, java.lang.String xTtle, java.lang.String yTtle)
public PoAutoCubeAxis()
public PoAutoCubeAxis(SbVec3f _start, SbVec3f _end, PoAutoCubeAxis.AxisTypes xAxisType, PoAutoCubeAxis.AxisTypes yAxisType, PoAutoCubeAxis.AxisTypes zAxisType, java.lang.String xTtle, java.lang.String yTtle, java.lang.String zTtle)
public void GLRender(SoGLRenderAction action)
PoBase.public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog for this class.Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com