00001 #ifndef INVENTOR_IG_SO_G4_TORUS_H
00002 # define INVENTOR_IG_SO_G4_TORUS_H
00003
00004
00005
00006 # include "Iguana/Inventor/interface/IgSoShapeKit.h"
00007 # include <Inventor/fields/SoSFFloat.h>
00008 # include <Inventor/SbBox.h>
00009 # include <Inventor/SbLinear.h>
00010
00011
00012
00013
00014
00015
00016
00017
00018 class IG_OPEN_INVENTOR_API IgSoG4Torus : public IgSoShapeKit
00019 {
00020 SO_KIT_HEADER (IgSoG4Torus);
00021 SO_KIT_CATALOG_ENTRY_HEADER (torus);
00022
00023 public:
00024 IgSoG4Torus (void);
00025 static void initClass (void);
00026
00027 SoSFFloat minRadius;
00028 SoSFFloat maxRadius;
00029 SoSFFloat radius;
00030 SoSFFloat phiStart;
00031 SoSFFloat phiDelta;
00032
00033
00034
00035
00036
00037 protected:
00038 virtual void refresh (void);
00039
00040 private:
00041 void cleanParts (void);
00042 };
00043
00044
00045
00046
00047 #endif // INVENTOR_IG_SO_G4_TORUS_H