CMS 3D CMS Logo

IgSoHits.h

Go to the documentation of this file.
00001 #ifndef IG_OPEN_INVENTOR_IG_SO_HITS_H
00002 # define IG_OPEN_INVENTOR_IG_SO_HITS_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/Inventor/interface/IgSoShapeKit.h"
00007 # include <Inventor/fields/SoMFVec3f.h>
00008 # ifdef WIN32
00009 #  include <SoWinLeaveScope.h>
00010 # endif
00011 
00012 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00013 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00014 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00015 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00016 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00017 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00018 
00025 class IG_OPEN_INVENTOR_API IgSoHits : public IgSoShapeKit
00026 {
00027     SO_KIT_HEADER (IgSoHits);
00028     SO_KIT_CATALOG_ENTRY_HEADER (pointset);
00029 
00030 public:
00031     IgSoHits (void);
00032     static void initClass (void);
00033 
00034     SoMFVec3f   points;
00035 
00036     void        initXYZ (int n, const float (*pts) [3]);
00037     void        initXYZ (int n, const SbVec3f *pts);
00038     void        initRZPhi (int n, const float (*pts) [3]);
00039     void        initRZPhi (int n, const SbVec3f *pts);
00040     static void convertRZPhiToXYZ (const float *rzphi, float *xyz);
00041 
00042 protected:
00043     virtual void refresh (void);
00044 };
00045 
00046 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00047 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00048 
00049 # ifdef WIN32
00050 #  include <SoWinEnterScope.h>
00051 # endif
00052 #endif // IG_OPEN_INVENTOR_IG_SO_HITS_H

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