1 #ifndef SIMVOLEON_SOORTHOSLICE_H
2 #define SIMVOLEON_SOORTHOSLICE_H
27 #include <Inventor/nodes/SoShape.h>
28 #include <Inventor/fields/SoSFUInt32.h>
29 #include <Inventor/fields/SoSFEnum.h>
30 #include <Inventor/fields/SoSFBool.h>
31 #include <Inventor/fields/SoSFNode.h>
33 #include <VolumeViz/C/basic.h>
38 typedef SoShape inherited;
43 static void initClass(
void);
47 enum Axis { X = 0, Y, Z };
48 enum Interpolation { NEAREST, LINEAR };
49 enum AlphaUse { ALPHA_AS_IS, ALPHA_OPAQUE, ALPHA_BINARY };
50 enum ClippingSide { FRONT, BACK };
54 SoSFEnum interpolation;
56 SoSFEnum clippingSide;
60 virtual SbBool affectsState(
void)
const;
65 virtual void doAction(SoAction * action);
66 virtual void GLRender(SoGLRenderAction * action);
67 virtual void rayPick(SoRayPickAction * action);
68 virtual void generatePrimitives(SoAction * action);
69 virtual void computeBBox(SoAction * action, SbBox3f & box, SbVec3f & center);
70 virtual void write(SoWriteAction * action);
72 virtual SbBool readInstance(SoInput * in,
unsigned short flags);
75 friend class SoOrthoSliceP;
76 class SoOrthoSliceP * pimpl;
79 #endif // !SIMVOLEON_SOORTHOSLICE_H