CMS 3D CMS Logo

VisSoG4Trajectories.h

Go to the documentation of this file.
00001 #ifndef VIS_G4_TRANSIENTS_IG_SO_G4_TRAJECTORIES_H
00002 # define VIS_G4_TRANSIENTS_IG_SO_G4_TRAJECTORIES_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "VisGeant4/VisG4Transients/interface/config.h"
00007 # include <Inventor/nodes/SoShape.h>
00008 # include <Inventor/fields/SoSFBool.h>
00009 # include <Inventor/fields/SoSFEnum.h>
00010 
00011 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00012 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00013 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00014 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00015 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00016 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00017 
00021 class VIS_G4_TRANSIENTS_API VisSoG4Trajectories : public SoShape
00022 {
00023     SO_NODE_HEADER (VisSoG4Trajectories);
00024 public:
00025     enum Flush
00026     {
00027         NONE,
00028         STEP,
00029         TRAJECTORY,
00030         ALL
00031     };
00032 
00033     SoSFBool    on;
00034     SoSFEnum    flush;
00035 
00036     VisSoG4Trajectories (void);
00037     // implicit copy constructor
00038     // implicit assignment operator
00039 
00040     static void         initClass (void);
00041 
00042     void                touch (void);
00043 
00044 protected:
00045     virtual ~VisSoG4Trajectories (void);
00046 
00047     virtual void        computeBBox(SoAction *, SbBox3f &box, SbVec3f &center);
00048     virtual void        GLRender (SoGLRenderAction *renderAction);
00049     virtual void        generatePrimitives (SoAction *action);
00050     //virtual void      rayPick (SoRayPickAction *);
00051     //virtual void      callback (SoCallbackAction *);
00052 };
00053 
00054 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00055 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00056 
00057 #endif // VIS_G4_TRANSIENTS_IG_SO_G4_TRAJECTORIES_H

Generated on Tue Jun 9 17:50:06 2009 for CMSSW by  doxygen 1.5.4