Package com.openinventor.medical.nodes
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Deprecated.Slice Axis valuesNested 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
FieldsModifier and TypeFieldDescriptionDeprecated.Slice Axis valuesDeprecated.Enable the border.Deprecated.Border color.Deprecated.Slice number.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the supported Render engine mode.void
GLRender
(SoGLRenderAction action) Deprecated.Called by SoGLRenderActionMethods 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 Details
-
border
Deprecated.Enable the border. Default is true. -
borderColor
Deprecated.Border color. Default is orange (1, 0.5, 0). -
axis
Deprecated.Slice Axis values -
sliceNumber
Deprecated.Slice number.
-
-
Constructor Details
-
OrthoSliceBorder
public OrthoSliceBorder()Deprecated.Constructor
-
-
Method Details
-
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
Deprecated.Called by SoGLRenderAction
-
SoOrthoSlice
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
,invalid reference