public abstract class SoVolumeShape extends SoLdmShape
SoVolumeSkin, SoHeightFieldRender, and SoVolumeRender nodes.
This class defines common properties for the SoOrthoSlice, SoObliqueSlice, SoFenceSlice, SoVolumeSkin, SoHeightFieldRender and SoVolumeRender nodes.
The interpolation field controls how the texture is interpolated.
The composition field is deprecated and should not be used. Instead specify the composition mode for volume rendering using the SoVolumeRender node.
See also:
SoObliqueSlice, SoOrthoSlice, SoFenceSlice, SoVolumeRender, SoVolumeSkin, SoHeightFieldRender
| Modifier and Type | Class and Description |
|---|---|
static class |
SoVolumeShape.Compositions
Deprecated.
|
static class |
SoVolumeShape.Interpolations
Interpolation mode.
|
SoShape.ShapeTypesInventor.ConstructorCommandboundingBoxIgnoring, LINES, POINTS, POLYGONS, TEXTVERBOSE_LEVEL, ZeroHandleintersectgetShapeType, isPrimitiveRestartAvailable, isPrimitiveRestartAvailableaffectsState, 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 NEAREST
SoVolumeShape.Interpolations.NEAREST instead.@Deprecated public static final int LINEAR
SoVolumeShape.Interpolations.LINEAR instead.@Deprecated public static final int TRILINEAR
SoVolumeShape.Interpolations.TRILINEAR instead.@Deprecated public static final int MULTISAMPLE_12
SoVolumeShape.Interpolations.MULTISAMPLE_12 instead.@Deprecated public static final int CUBIC
SoVolumeShape.Interpolations.CUBIC instead.@Deprecated public static final int MAX_INTENSITY
SoVolumeShape.Compositions.MAX_INTENSITY instead.@Deprecated public static final int MIN_INTENSITY
SoVolumeShape.Compositions.MIN_INTENSITY instead.@Deprecated public static final int SUM_INTENSITY
SoVolumeShape.Compositions.SUM_INTENSITY instead.@Deprecated public static final int ALPHA_BLENDING
SoVolumeShape.Compositions.ALPHA_BLENDING instead.@Deprecated public static final int COMPOSITION_LAST
SoVolumeShape.Compositions.COMPOSITION_LAST instead.public final SoSFEnum<SoVolumeShape.Interpolations> interpolation
@Deprecated public final SoSFEnum<SoVolumeShape.Compositions> composition
ALPHA_BLENDING blends the R, G, and B components for each pixel based on the their alpha values.
SUM_INTENSITY draws the sum of the R, G, and B components for each pixel.
MAX_INTENSITY draws the maximum R, G, and B components for each pixel.
MIN_INTENSITY draws the minimum R, G, and B components for each pixel.
Note: In all modes, blending is done against the background color of the scene (or the object behind the volume). This means that, using MIN_INTENSITY for example, if the background color is black then 0,0,0 is already the minimum RGB value and the volume will not be visible. Generally when using MIN_INTENSITY the background color should be set to white (1,1,1) and when using MAX_INTENSITY or SUM_INTENSITY the background color should be set to black (0,0,0). To set the background color see the setBackgroundColor method of the appropriate RenderArea class, for example SoWinRenderArea on Windows.
SoVolumeRender.renderMode field. Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com