Changeset 288 for snovis/trunk/source/G4Lab/TrajectoryAccessor.h
- Timestamp:
- Sep 25, 2007, 12:24:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
snovis/trunk/source/G4Lab/TrajectoryAccessor.h
r233 r288 13 13 class IOut; 14 14 15 class G4RunManager; 16 17 #include <map> 18 #include <G4AttDef.hh> 19 #include <G4String.hh> 20 15 21 namespace G4Lab { 16 22 … … 25 31 virtual void endVisualize(); 26 32 public: 27 TrajectoryAccessor(Slash::Core::ISession& );33 TrajectoryAccessor(Slash::Core::ISession&,G4RunManager*); 28 34 virtual ~TrajectoryAccessor(); 29 35 private: 30 36 void addPolyline(SoGroup*,const SbName&, 31 37 int,SbVec3f*,const SbColor&,const SbColor&,IOut&); 32 bool isG4LabTrajectory(); 38 bool isIGeant4Trajectory(); 39 void addAttDefsProperties(); 40 Slash::Core::IValue* findAttDefsValue(Slash::Data::IAccessor::Data, 41 const std::string&,void*); 33 42 private: 34 43 std::string fType; 44 G4RunManager* fRunManager; 45 std::map<G4String,G4AttDef>* fAttDefs; 35 46 std::string fModeling; 36 bool f G4Lab;47 bool fIGeant4Trajectory; 37 48 SoSeparator* fSeparator; 38 49 SoCoordinate3* fCoordinate;
Note: See TracChangeset
for help on using the changeset viewer.