00001 #ifndef IG_OPEN_INVENTOR_IG_SO_POLY_VOL_H
00002 # define IG_OPEN_INVENTOR_IG_SO_POLY_VOL_H
00003
00004
00005
00006 # include "Iguana/Inventor/interface/IgSoShapeKit.h"
00007 # include <Inventor/fields/SoSFFloat.h>
00008 # include <Inventor/fields/SoSFVec3f.h>
00009 # include <Inventor/fields/SoMFVec3f.h>
00010 # ifdef WIN32
00011 # include <SoWinLeaveScope.h>
00012 # endif
00013
00014
00015
00016
00017
00018
00019
00020
00028 class IG_OPEN_INVENTOR_API IgSoPolyVol : public IgSoShapeKit
00029 {
00030 SO_KIT_HEADER (IgSoPolyVol);
00031 SO_KIT_CATALOG_ENTRY_HEADER (hints);
00032 SO_KIT_CATALOG_ENTRY_HEADER (trans);
00033 SO_KIT_CATALOG_ENTRY_HEADER (face);
00034
00035 public:
00036 IgSoPolyVol (void);
00037 static void initClass (void);
00038
00039 SoMFVec3f vtxPts;
00040 SoSFVec3f center;
00041 SoSFFloat dZ;
00042
00043 virtual void initialise (const int sides, const float dZHalf,
00044 const float *angles, const float *sideHalf);
00045
00046 protected:
00047 virtual void refresh (void);
00048 };
00049
00050
00051
00052
00053 # ifdef WIN32
00054 # include <SoWinEnterScope.h>
00055 # endif
00056 #endif // IG_OPEN_INVENTOR_IG_SO_POLY_VOL_H