SoObliqueSlice Class Reference
[Nodes]

VolumeViz Oblique slice shape node. More...

#include <VolumeViz/nodes/SoObliqueSlice.h>

Inheritance diagram for SoObliqueSlice:
SoSlice SoVolumeShape SoLdmShape SoShape SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject ObliqueSliceBorder

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoObliqueSlice ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFInt32 dataSetId
SoSFPlane plane

Detailed Description

VolumeViz Oblique slice shape node.

This node defines an oblique (arbitrarily oriented) slice which is the intersection of the volume data defined by an SoVolumeData node and the plane defined by the plane field.

The SoVolumeData node can be specified with dataSetId. When this field is set to 0, the last SoVolumeData node on state is used.

For a non-RGBA (scalar valued) volume, each voxel's RGBA value is determined by the current SoDataRange and SoTransferFunction. The current diffuse color and transparency (set, for example, with an SoMaterial node) modify the appearance of the slice. This means that, for example, the current transparency can be used as a global alpha value to modulate the overall opacity of the slice. For an RGBA volume each voxel's RGBA value comes directly from the volume data.

The interpolation field controls how the texture is interpolated.

The alphaUse field (SoSlice) controls how the voxel's alpha component is used when drawing the slice.

Optionally a bump mapping effect may be applied. Normal vectors are automatically computed from the data value gradient. The enableBumpMapping and bumpScale fields (SoSlice) control whether bump mapping is active and the intensity of the effect.

Notes:

EXAMPLE

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoVolumeData, SoDataRange, SoTransferFunction, SoROI, SoSlice, SoOrthoSlice, SoVolumeShader

See related examples:

VolRend, VVIZ-Template-SG


Constructor & Destructor Documentation

SoObliqueSlice::SoObliqueSlice (  ) 

Constructor.


Member Function Documentation

static SoType SoObliqueSlice::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSlice.

Reimplemented in ObliqueSliceBorder.

virtual SoType SoObliqueSlice::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoSlice.

Reimplemented in ObliqueSliceBorder.


Member Data Documentation

Specifies the SoVolumeData node to use.

This is useful when datasets of different dimensions are present in the scene graph. Please see SoMultiDataSeparator for more details.

When set to 0, the last SoVolumeData node on state is used. Default is 0.

NOTE: field available since Open Inventor 10.11.0

Plane defining the slice.

The default plane corresponds to the XY plane.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/