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.
|
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFMaterial |
boundaryMaterial
Material used to render the mask boundary.
|
SoSFMaterial |
isosurfacesMaterial
Material used to render isosurfaces.
|
SoMFFloat |
isovalues
Values of isosurfaces to display.
|
SoSFBitMask<SoVolumeDataDrawStyle.DrawStyles> |
style
Set the draw style used for a volume or mask: .
|
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, getRenderEngineMode, getRenderUnitID, GLRender, 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, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
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 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com