1 #ifndef COIN_SOVOLUMERENDER_H
2 #define COIN_SOVOLUMERENDER_H
27 #include <Inventor/nodes/SoNode.h>
28 #include <Inventor/nodes/SoSubNode.h>
29 #include <Inventor/nodes/SoShape.h>
30 #include <Inventor/fields/SoSFEnum.h>
31 #include <Inventor/fields/SoSFBool.h>
32 #include <Inventor/fields/SoSFVec3f.h>
33 #include <Inventor/fields/SoSFFloat.h>
34 #include <Inventor/fields/SoSFInt32.h>
35 #include <VolumeViz/C/basic.h>
39 typedef SoShape inherited;
44 static void initClass(
void);
52 typedef AbortCode SoVolumeRenderAbortCB(
int totalslices,
int thisslice,
55 void setAbortCallback(SoVolumeRenderAbortCB * func,
void * userdata = NULL);
60 SoSFVec3f lightDirection;
61 SoSFFloat lightIntensity;
64 SoSFBool viewAlignedSlices;
69 virtual void GLRender(SoGLRenderAction * action);
70 virtual void rayPick(SoRayPickAction * action);
71 virtual void generatePrimitives(SoAction * action);
72 virtual void computeBBox(SoAction * action, SbBox3f & box, SbVec3f & center);
75 friend class SoVolumeRenderP;
76 class SoVolumeRenderP * pimpl;
79 #endif // !COIN_SOVOLUMERENDER_H