Coin Logo http://www.sim.no
http://www.coin3d.org

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
SoOrthoSlice Class Reference

Render one orthogonal slice of the volume data. More...

#include <VolumeViz/nodes/SoOrthoSlice.h>

Inherits SoShape.

Public Types

enum  Axis { X = 0, Y, Z }
 
enum  Interpolation { NEAREST, LINEAR }
 
enum  AlphaUse { ALPHA_AS_IS, ALPHA_OPAQUE, ALPHA_BINARY }
 
enum  ClippingSide { FRONT, BACK }
 

Public Member Functions

virtual SbBool affectsState (void) const
 

Static Public Member Functions

static void initClass (void)
 

Public Attributes

SoSFUInt32 sliceNumber
 
SoSFEnum axis
 
SoSFEnum interpolation
 
SoSFEnum alphaUse
 
SoSFEnum clippingSide
 
SoSFBool clipping
 
SoSFNode alternateRep
 

Protected Member Functions

virtual void doAction (SoAction *action)
 
virtual void GLRender (SoGLRenderAction *action)
 
virtual void rayPick (SoRayPickAction *action)
 
virtual void generatePrimitives (SoAction *action)
 
virtual void computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center)
 
virtual void write (SoWriteAction *action)
 
virtual SbBool readInstance (SoInput *in, unsigned short flags)
 

Friends

class SoOrthoSliceP
 

Detailed Description

Render one orthogonal slice of the volume data.

Insert a node of this type after an SoVolumeData node in the scene graph to render a single, axis-aligned slice from the full volume data set.

See also
SoVolumeRender

Member Data Documentation

SoSFUInt32 SoOrthoSlice::sliceNumber

Decides where the slice will be made through the volume.

Default value is 0.

SoSFEnum SoOrthoSlice::axis

Decides which plane the orthonormal slice will show. The plane will be the one perpendicular to the axis, i.e if this field is set to SoOrthoSlice::Z, the slice will lay in the X-Y plane.

Default value is SoOrthoSlice::Z.

SoSFNode SoOrthoSlice::alternateRep

NOTE: support for this field not yet implemented in SIM Voleon.

Since
SIM Voleon 2.0

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

Copyright © 1998-2004 by Systems in Motion AS. All rights reserved.

Generated on Fri Jul 31 2015 13:47:25 for SIMVoleon by Doxygen. 1.8.9.1