Changeset 4577 for trunk/MagicSoft/Mars/mgui
- Timestamp:
- 08/11/04 12:01:44 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MCamEvent.cc
r3226 r4577 40 40 #include "MCamEvent.h" 41 41 42 #include "MGeomCam.h" 43 42 44 ClassImp(MCamEvent); 45 46 // -------------------------------------------------------------------------- 47 // 48 // You can overwrite this function if you want the container to be 49 // initialized by MGeomApply with the geometry. If it is not overloaded 50 // it calls InitSize with the corresponding pixel number. If this information 51 // is enough for you it is enough to overload InitSize. 52 // 53 void MCamEvent::Init(const MGeomCam &geom) 54 { 55 InitSize(geom.GetNumPixels()); 56 } -
trunk/MagicSoft/Mars/mgui/MCamEvent.h
r2958 r4577 14 14 virtual void DrawPixelContent(Int_t num) const = 0; 15 15 16 virtual void Init(const MGeomCam &geom); 17 virtual void InitSize(const UInt_t i) { } // Used by MGeomApply see Init() 18 16 19 ClassDef(MCamEvent, 0) // A camera event 17 20 };
Note:
See TracChangeset
for help on using the changeset viewer.