CMS 3D CMS Logo

IgSoG4Torus.h

Go to the documentation of this file.
00001 #ifndef INVENTOR_IG_SO_G4_TORUS_H
00002 # define INVENTOR_IG_SO_G4_TORUS_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
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 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00012 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00013 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00014 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00015 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00016 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
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;      //< min radius of torus tube
00028     SoSFFloat   maxRadius;      //< max radius of torus tube
00029     SoSFFloat   radius;         //< max radius of torus tube
00030     SoSFFloat   phiStart;       //< Start angle for the rotation.
00031     SoSFFloat   phiDelta;       //< Angle of rotation.
00032 
00033     // implicit copy constructor
00034     // implicit assignment operator
00035     // implicit destructor
00036 
00037 protected:
00038     virtual void refresh (void);
00039 
00040 private:
00041     void        cleanParts (void);    
00042 };
00043 
00044 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00045 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00046 
00047 #endif // INVENTOR_IG_SO_G4_TORUS_H

Generated on Tue Jun 9 17:38:43 2009 for CMSSW by  doxygen 1.5.4