Ignore:
Timestamp:
Sep 25, 2007, 12:24:08 PM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • snovis/trunk/source/G4Lab/TrajectoryAccessor.h

    r233 r288  
    1313class IOut;
    1414
     15class G4RunManager;
     16
     17#include <map>
     18#include <G4AttDef.hh>
     19#include <G4String.hh>
     20
    1521namespace G4Lab {
    1622
     
    2531  virtual void endVisualize();
    2632public:
    27   TrajectoryAccessor(Slash::Core::ISession&);
     33  TrajectoryAccessor(Slash::Core::ISession&,G4RunManager*);
    2834  virtual ~TrajectoryAccessor();
    2935private:
    3036  void addPolyline(SoGroup*,const SbName&,
    3137                   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*);
    3342private:
    3443  std::string fType;
     44  G4RunManager* fRunManager;
     45  std::map<G4String,G4AttDef>* fAttDefs;
    3546  std::string fModeling;
    36   bool fG4Lab;
     47  bool fIGeant4Trajectory;
    3748  SoSeparator* fSeparator;
    3849  SoCoordinate3* fCoordinate;
Note: See TracChangeset for help on using the changeset viewer.