SoVolumeDataDrawStyle Class Reference
[Nodes]

VolumeViz Volume draw style. More...

#include <VolumeViz/nodes/SoVolumeDataDrawStyle.h>

Inheritance diagram for SoVolumeDataDrawStyle:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  DrawStyle {
  NONE = 0,
  VOLUME_RENDER = 1,
  MASK_BOUNDARY = 1 << 1,
  ISOSURFACE = 1 << 2
}

Public Member Functions

virtual SoType getTypeId () const
 SoVolumeDataDrawStyle ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFBitMask style
SoSFMaterial boundaryMaterial
SoMFFloat isovalues
SoSFMaterial isosurfacesMaterial

Detailed Description

VolumeViz Volume draw style.

This node specifies the volume rendering style for a volume or for one of the voxel regions of a volume defined by 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:

FILE FORMAT/DEFAULT

SEE ALSO

SoVolumeData, SoVolumeRender, SoVolumeMask, SoVolumeMaskGroup, SoMultiDataSeparator, SoTransferFunction

See related examples:

MedicalVolumeDataDrawStyle, MedicalSimpleVolumeMask


Member Enumeration Documentation

Volume rendering style.


These values may be combined and are used in the style field.

Enumerator:
NONE 

Display nothing.

VOLUME_RENDER 

Display the volume mask using the associated transfer function.

(Default)

MASK_BOUNDARY 

Display only the mask boundary, using boundaryMaterial.

ISOSURFACE 

Display isosurfaces using isovalues and isosurfacesMaterial.

Note: The isosurfaces are always lighted, regardless of the value of the SoVolumeRenderingQuality lighting and deferredLighting fields.


Constructor & Destructor Documentation

SoVolumeDataDrawStyle::SoVolumeDataDrawStyle (  ) 

Creates a volume draw style node with default settings.


Member Function Documentation

static SoType SoVolumeDataDrawStyle::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNode.

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

Returns the type identifier for this specific instance.

Reimplemented from SoNode.


Member Data Documentation

Material used to render the mask boundary.

Default is none.

Material used to render isosurfaces.


If this field is empty, the current or default SoMaterial is used.

Values of isosurfaces to display.

Default is none.

Set the draw style used for a volume or mask: Use enum DrawStyle.

-NONE: Display nothing

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


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/