Class OrthoSliceBorder
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.medical.nodes.OrthoSliceBorder
-
- All Implemented Interfaces:
SafeDisposable
@Deprecated public class OrthoSliceBorder extends SoNode
Deprecated.No longer supported, useSoOrthoSlice
instead (Preview Feature) Ortho slice shape node with border.Preview Feature means this class is fully supported and can be used in Open Inventor applications. Being tagged as a Preview Feature just means that the implementation is still subject to API changes and adjustments based on feedback from early adopters. Please be also aware that source compatibility might be broken regardless of the Open Inventor compatibility changes policy due to our commitment to bring needed changes to be sure the specifications of this Preview Feature match the expectations of our customers.
Even if this node does not extend the class SoOrthoSlice, it defines a custom ortho (axis aligned) slice along the X, Y, or Z axis of a volume defined by an SoVolumeData node.In addition to the standard features of SoOrthoSlice, this node can render a
border
around the slice using the specifiedborderColor
.The border color can be used, for example, to help the user see at a glance which axis each slice corresponds to. Another use is to change the border color when a slice is selected.
File format/default:
OrthoSliceBorder {
sliceNumber 0 axis Z interpolation LINEAR alphaUse ALPHA_BINARY useRGBA FALSE clipping FALSE clippingSide BACK alternateRep NULL enableBumpMapping FALSE bumpScale 1.0 border TRUE borderColor 1 0.5 0 See also:
SoOrthoSlice
,SoObliqueSlice
,ObliqueSliceBorder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OrthoSliceBorder.AxisType
Deprecated.Slice Axis values-
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 SoSFEnum<OrthoSliceBorder.AxisType>
axis
Deprecated.Slice Axis valuesSoSFBool
border
Deprecated.Enable the border.SoSFColor
borderColor
Deprecated.Border color.SoSFUInt32
sliceNumber
Deprecated.Slice number.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description OrthoSliceBorder()
Deprecated.Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SoNode.RenderModes
getRenderEngineMode()
Deprecated.Returns the supported Render engine mode.void
GLRender(SoGLRenderAction action)
Deprecated.Called by SoGLRenderAction-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, 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, set, 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
-
border
public SoSFBool border
Deprecated.Enable the border. Default is true.
-
borderColor
public SoSFColor borderColor
Deprecated.Border color. Default is orange (1, 0.5, 0).
-
axis
public SoSFEnum<OrthoSliceBorder.AxisType> axis
Deprecated.Slice Axis values
-
sliceNumber
public SoSFUInt32 sliceNumber
Deprecated.Slice number.
-
-
Method Detail
-
getRenderEngineMode
public SoNode.RenderModes getRenderEngineMode()
Deprecated.Description copied from class:SoNode
Returns the supported Render engine mode.For custom node, this method returns by default
SoNode.RenderModes.OIV_UNKNOWN_RENDERING_MODE
, override this method to specify the Render engine mode supported by your custom node.- Overrides:
getRenderEngineMode
in classSoNode
- Returns:
- the supported Render engine mode for this node.
-
GLRender
public void GLRender(SoGLRenderAction action)
Deprecated.Called by SoGLRenderAction
-
-