CMS 3D CMS Logo

IgSoSphereHit.h

Go to the documentation of this file.
00001 #ifndef IG_OPEN_INVENTOR_IG_SO_SPHERE_HIT_H
00002 # define IG_OPEN_INVENTOR_IG_SO_SPHERE_HIT_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/Inventor/interface/IgSoShapeKit.h"
00007 # include <Inventor/fields/SoSFFloat.h>
00008 # include <Inventor/fields/SoSFVec3f.h>
00009 # ifdef WIN32
00010 #  include <SoWinLeaveScope.h>
00011 # endif
00012 
00013 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00014 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00015 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00016 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00017 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00018 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00019 
00021 class IG_OPEN_INVENTOR_API IgSoSphereHit : public IgSoShapeKit
00022 {
00023     SO_KIT_HEADER (IgSoSphereHit);
00024     SO_KIT_CATALOG_ENTRY_HEADER (transform);
00025     SO_KIT_CATALOG_ENTRY_HEADER (sphere);
00026 
00027 public:
00028     IgSoSphereHit (void);
00029     static void initClass (void);
00030 
00031     SoSFFloat   scale;  //< Energy scale factor for size of sphere
00032     SoSFFloat   energy; //< Energy of hit
00033     SoSFVec3f   centre; //< Centre of sphere
00034 
00035 protected:
00036     virtual void refresh (void);
00037 };
00038 
00039 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00040 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00041 
00042 # ifdef WIN32
00043 #  include <SoWinEnterScope.h>
00044 # endif
00045 #endif // IG_OPEN_INVENTOR_IG_SO_SPHERE_HIT_H

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