public class SoVolumeDataDrawStyle extends SoNode
SoVolumeMask nodes. The available draw styles are hidden (not rendered), direct volume rendering, isosurface(s) rendering and the boundary surface rendering according to the style field. Volume rendering always uses the current transfer function and material in the scene graph. Isosurfaces and boundary surfaces use the current material by default, but can optionally be rendered using materials specified in the isosurfacesMaterial or boundaryMaterial fields.
Notes:
SoVolumeRender nodes.
SoVolumeMask for discussion of how draw styles are associated with mask regions.
SoVolumeData node.
SoVolumeIsosurface node, but provides more options. The benefit of using an SoVolumeDataDrawStyle is the ability to combine different display styles (e.g. ISOSURFACE and MASK_BOUNDARY). File format/default:
VolumeMask {
| style | VOLUME_RENDER |
| boundaryMaterial | NULL |
| isosurfacesMaterial | NULL |
| isovalues | [] |
See also:
SoVolumeData, SoVolumeRender, SoVolumeMask, SoVolumeMaskGroup, SoMultiDataSeparator, SoTransferFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
SoVolumeDataDrawStyle.DrawStyles
Volume rendering style.
|
Inventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFMaterial |
boundaryMaterial
Material used to render the mask boundary.
|
static int |
ISOSURFACE
Deprecated.
Use
SoVolumeDataDrawStyle.DrawStyles.ISOSURFACE instead. |
SoSFMaterial |
isosurfacesMaterial
Material used to render isosurfaces.
|
SoMFFloat |
isovalues
Values of isosurfaces to display.
|
static int |
MASK_BOUNDARY
Deprecated.
Use
SoVolumeDataDrawStyle.DrawStyles.MASK_BOUNDARY instead. |
static int |
NONE
Deprecated.
Use
SoVolumeDataDrawStyle.DrawStyles.NONE instead. |
SoSFBitMask<SoVolumeDataDrawStyle.DrawStyles> |
style
Set the draw style used for a volume or mask: .
|
static int |
VOLUME_RENDER
Deprecated.
Use
SoVolumeDataDrawStyle.DrawStyles.VOLUME_RENDER instead. |
VERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoVolumeDataDrawStyle()
Creates a volume draw style node with default settings.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, 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, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public static final int NONE
SoVolumeDataDrawStyle.DrawStyles.NONE instead.@Deprecated public static final int VOLUME_RENDER
SoVolumeDataDrawStyle.DrawStyles.VOLUME_RENDER instead.@Deprecated public static final int MASK_BOUNDARY
SoVolumeDataDrawStyle.DrawStyles.MASK_BOUNDARY instead.@Deprecated public static final int ISOSURFACE
SoVolumeDataDrawStyle.DrawStyles.ISOSURFACE instead.public final SoSFBitMask<SoVolumeDataDrawStyle.DrawStyles> style
-VOLUME_RENDER: Display the volume using the associated transfer function. This is the default value.
-MASK_BOUNDARY: Display only the mask boundary, don't render the masked volume.
-ISOSURFACE: Display the set of isosurfaces defined in isovalues field.
Modes can be combined.
public final SoSFMaterial boundaryMaterial
public final SoMFFloat isovalues
public final SoSFMaterial isosurfacesMaterial
SoMaterial is used.Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com