public class OrthoSliceBorder extends SoNode
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 specified borderColor
.
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
Modifier and Type | Class and Description |
---|---|
static class |
OrthoSliceBorder.AxisType
Slice Axis values
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<OrthoSliceBorder.AxisType> |
axis
Slice Axis values
|
SoSFBool |
border
Enable the border.
|
SoSFColor |
borderColor
Border color.
|
SoSFUInt32 |
sliceNumber
Slice number.
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
OrthoSliceBorder()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
GLRender(SoGLRenderAction action)
Called by SoGLRenderAction
|
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
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoSFBool border
public SoSFColor borderColor
public SoSFEnum<OrthoSliceBorder.AxisType> axis
public SoSFUInt32 sliceNumber
public void GLRender(SoGLRenderAction action)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com