00001 #ifndef IG_OPEN_INVENTOR_IG_SO_FIELD_PLANE_MAP_H
00002 # define IG_OPEN_INVENTOR_IG_SO_FIELD_PLANE_MAP_H
00003
00004
00005
00006 # include "Iguana/Inventor/interface/config.h"
00007 # include <Inventor/nodes/SoShape.h>
00008 # include <Inventor/fields/SoMFVec3f.h>
00009 # include <Inventor/fields/SoSFUInt32.h>
00010 # include <Inventor/fields/SoMFUInt32.h>
00011
00012
00013
00014
00015
00016
00017
00018
00020 class IG_OPEN_INVENTOR_API IgSoFieldPlaneMap : public SoShape
00021 {
00022 SO_NODE_HEADER (IgSoFieldPlaneMap);
00023 public:
00024 SoMFVec3f corners;
00025
00026 SoMFUInt32 xdivs;
00027 SoMFUInt32 zdivs;
00028 SoMFVec3f lowerLeftCorners;
00029 SoMFVec3f upperRightCorners;
00030 SoMFVec3f lowerRightCorners;
00031 SoMFUInt32 orderedRGBA;
00032
00033 IgSoFieldPlaneMap (void);
00034
00035
00036
00037 static void initClass (void);
00038
00039 protected:
00040 virtual ~IgSoFieldPlaneMap (void);
00041
00042 virtual void computeBBox (SoAction *, SbBox3f &box, SbVec3f ¢er);
00043 virtual void GLRender (SoGLRenderAction *renderAction);
00044 virtual void generatePrimitives (SoAction *action);
00045 };
00046
00047
00048
00049
00050 #endif // IG_OPEN_INVENTOR_IG_SO_FIELD_PLANE_MAP_H