![]() |
http://www.sim.no http://www.coin3d.org |
#include <VolumeViz/nodes/SoObliqueSlice.h>
Inherits SoShape.
Public Types | |
enum | Interpolation { NEAREST, LINEAR } |
enum | AlphaUse { ALPHA_AS_IS, ALPHA_OPAQUE, ALPHA_BINARY } |
Static Public Member Functions | |
static void | initClass (void) |
Public Attributes | |
SoSFPlane | plane |
SoSFEnum | interpolation |
SoSFEnum | alphaUse |
SoSFNode | alternateRep |
Protected Member Functions | |
virtual void | GLRender (SoGLRenderAction *action) |
virtual void | rayPick (SoRayPickAction *action) |
virtual void | generatePrimitives (SoAction *action) |
virtual void | computeBBox (SoAction *action, SbBox3f &box, SbVec3f ¢er) |
virtual void | write (SoWriteAction *action) |
virtual SbBool | readInstance (SoInput *in, unsigned short flags) |
Friends | |
class | SoObliqueSliceP |
Insert a node of this type after an SoVolumeData node in the scene graph to render a single slice from the full volume data set. The slice is specified as a plane with any orientation and position within the volume.
Note that this node will not work with OpenGL drivers too old to contain support for 3D-texturing. All OpenGL drivers of version 1.2 and onwards supports 3D-texturing, as does also older OpenGL drivers with the GL_EXT_texture3D
extension. If none of these are available, and this node is still attempted used, a warning message will be output through Coin's SoDebugError::postWarning().
Enumeration of available types of voxel colors interpolation.
SoSFPlane SoObliqueSlice::plane |
The plane defining the slice.
Default value is an XY plane.
SoSFEnum SoObliqueSlice::interpolation |
How to interpolate color values when rendering "in between" voxels. See SoObliqueSlice::Interpolation.
Default value is SoObliqueSlice::LINEAR.
SoSFEnum SoObliqueSlice::alphaUse |
How the alpha channel should be threated during rendering. See SoObliqueSlice::AlphaUse.
Default value is SoObliqueSlice::ALPHA_AS_IS
SoSFNode SoObliqueSlice::alternateRep |
NOTE: support for this field not yet implemented in SIM Voleon.
Copyright © 1998-2004 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 22:01:15 2009 for SIMVoleon by Doxygen. 1.5.7.1