SoOrthoSlice Class Reference

VolumeViz Ortho slice shape node. More...

#include <VolumeViz/nodes/SoOrthoSlice.h>

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

List of all members.

Public Types

enum  Axis {
enum  ClippingSide {

Public Member Functions

virtual SoType getTypeId () const
 SoOrthoSlice ()
virtual bool intersect (SoLDMNodeFrontManager *nfm, const SoLDMTileID &tileId)

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFUInt32 sliceNumber
SoSFEnum axis
SoSFEnum clippingSide
SoSFBool clipping

Detailed Description

VolumeViz Ortho slice shape node.

This node defines an ortho (axis aligned) slice along the X, Y, or Z axis of the volume data defined by an SoVolumeData node. The slice orientation and position are defined by the axis and sliceNumber fields.

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) modifies 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.






SoDataRange, SoObliqueSlice, SoOrthoSliceDragger, SoROI, SoSlice, SoTransferFunction, SoVolumeData

See related examples:

DemoVVIZTemplateSG, DemoLargeSliceSupport, DemoVVizAmpli, DemoSimpleSliceRGBA, DemoVVizTransform, DemoVolRend

Member Enumeration Documentation

Slice Axis (see discussion of medical data axes in the class description).


X Axis.


Y Axis.


Z Axis (Default).

Clipping Side mode.




Back (Default).

Constructor & Destructor Documentation

SoOrthoSlice::SoOrthoSlice (  ) 


Member Function Documentation

static SoType SoOrthoSlice::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSlice.

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

Returns the type identifier for this specific instance.

Reimplemented from SoSlice.

virtual bool SoOrthoSlice::intersect ( SoLDMNodeFrontManager nfm,
const SoLDMTileID tileId 
) [virtual]

Return true if the shape intersect given tile.

Reimplemented from SoLdmShape.

Member Data Documentation

Slice axis (X, Y, or Z).

Use enum Axis. Default is Z.

Activate/deactivate a clipping plane on a per-slice basis.

Optionally, this node also defines a clipping plane. Similar to SoClipPlane, this clipping plane affects all subsequent geometry, including SoVolumeRender, but does not of course affect the ortho slice itself. The clippingSide field controls which half-space is clipped.

Specify the clipping side.

Use enum ClippingSide. Default is BACK. Clipping side FRONT means that the clip plane (removes) clips away geometry in the positive direction on the slice axis. BACK means that the clip plane clips away geometry in the negative direction on the slice axis.

These figures show an ortho slice clipping a data volume.


Bottom left:

Bottom right:


Slice number.

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

Open Inventor by FEI reference manual, generated on 21 Sep 2015
Copyright © FEI S.A.S. All rights reserved.