1 #ifndef SIMVOLEON_SOORTHOSLICE_H 2 #define SIMVOLEON_SOORTHOSLICE_H 36 #include <Inventor/nodes/SoShape.h> 37 #include <Inventor/fields/SoSFUInt32.h> 38 #include <Inventor/fields/SoSFEnum.h> 39 #include <Inventor/fields/SoSFBool.h> 40 #include <Inventor/fields/SoSFNode.h> 42 #include <VolumeViz/C/basic.h> 56 enum Axis { X = 0, Y, Z };
57 enum Interpolation { NEAREST, LINEAR };
58 enum AlphaUse { ALPHA_AS_IS, ALPHA_OPAQUE, ALPHA_BINARY };
59 enum ClippingSide { FRONT, BACK };
84 friend class SoOrthoSliceP;
85 class SoOrthoSliceP * pimpl;
88 #endif // !SIMVOLEON_SOORTHOSLICE_H SoSFUInt32 sliceNumber
Definition: SoOrthoSlice.h:61
virtual void GLRender(SoGLRenderAction *action)
static void initClass(void)
virtual SbBool affectsState(void) const
SoSFEnum alphaUse
Definition: SoOrthoSlice.h:64
SoSFEnum axis
Definition: SoOrthoSlice.h:62
virtual SbBool readInstance(SoInput *in, unsigned short flags)
SoSFNode alternateRep
Definition: SoOrthoSlice.h:67
virtual void doAction(SoAction *action)
#define SO_NODE_HEADER(classname)
virtual void generatePrimitives(SoAction *action)=0
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)=0
Render one orthogonal slice of the volume data.
Definition: SoOrthoSlice.h:46
virtual void write(SoWriteAction *action)
virtual void rayPick(SoRayPickAction *action)