1#ifndef COIN_SOVOLUMERENDER_H
2#define COIN_SOVOLUMERENDER_H
36#include <Inventor/nodes/SoNode.h>
37#include <Inventor/nodes/SoSubNode.h>
38#include <Inventor/nodes/SoShape.h>
39#include <Inventor/fields/SoSFEnum.h>
40#include <Inventor/fields/SoSFBool.h>
41#include <Inventor/fields/SoSFVec3f.h>
42#include <Inventor/fields/SoSFFloat.h>
43#include <Inventor/fields/SoSFInt32.h>
44#include <VolumeViz/C/basic.h>
53 static void initClass(
void);
57 enum Composition { MAX_INTENSITY, SUM_INTENSITY, ALPHA_BLENDING };
64 void setAbortCallback(SoVolumeRenderAbortCB * func,
void * userdata = NULL);
69 SoSFVec3f lightDirection;
70 SoSFFloat lightIntensity;
73 SoSFBool viewAlignedSlices;
78 virtual void GLRender(SoGLRenderAction * action);
79 virtual void rayPick(SoRayPickAction * action);
80 virtual void generatePrimitives(SoAction * action);
81 virtual void computeBBox(SoAction * action, SbBox3f & box, SbVec3f & center);
84 friend class SoVolumeRenderP;
85 class SoVolumeRenderP * pimpl;
Render the full volume.
Definition SoVolumeRender.h:47
SoSFInt32 numSlices
Definition SoVolumeRender.h:72
Composition
Definition SoVolumeRender.h:57
NumSlicesControl
Definition SoVolumeRender.h:58
@ ALL
Definition SoVolumeRender.h:58
AbortCode
Definition SoVolumeRender.h:60
@ ABORT
Definition SoVolumeRender.h:60
SoSFEnum interpolation
Definition SoVolumeRender.h:66
SoSFEnum numSlicesControl
Definition SoVolumeRender.h:71
AbortCode SoVolumeRenderAbortCB(int totalslices, int thisslice, void *userdata)
Definition SoVolumeRender.h:61
SoSFEnum composition
Definition SoVolumeRender.h:67
Interpolation
Definition SoVolumeRender.h:56