SoObliqueSlice Class Reference

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

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.

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.






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

See related examples:

VViz-template-SG, VolRend

Constructor & Destructor Documentation

SoObliqueSlice::SoObliqueSlice (  ) 


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

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 1 Nov 2022
Copyright © Thermo Fisher Scientific All rights reserved.