Changeset 1171 for trunk/source/visualization/modeling/include
- Timestamp:
- Nov 16, 2009, 5:03:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/modeling/include/G4PSHitsModel.hh
r1141 r1171 25 25 // 26 26 // 27 // $Id: G4PSHitsModel.hh,v 1. 3 2009/10/22 07:35:06 akimuraExp $27 // $Id: G4PSHitsModel.hh,v 1.4 2009/11/04 12:44:39 allison Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 39 39 #include "G4VModel.hh" 40 40 41 class G4VHit;41 template <typename T> class G4THitsMap; 42 42 43 43 class G4PSHitsModel: public G4VModel { … … 45 45 public: // With description 46 46 47 G4PSHitsModel ( );47 G4PSHitsModel (const G4String& requestedMapName = "all"); 48 48 49 49 virtual ~G4PSHitsModel (); … … 52 52 // The main task of a model is to describe itself to the graphics scene. 53 53 54 const G4 VHit* GetCurrentHit() const55 {return kpCurrentHit;}54 const G4THitsMap<G4double>* GetCurrentHits() const 55 {return fpCurrentHits;} 56 56 57 57 private: 58 58 59 const G4VHit* kpCurrentHit; 59 G4String fRequestedMapName; 60 const G4THitsMap<G4double>* fpCurrentHits; 60 61 }; 61 62
Note: See TracChangeset
for help on using the changeset viewer.