48G4RayTrajectory :: G4RayTrajectory()
50 positionRecord =
new std::vector<G4RayTrajectoryPoint*>;
56 positionRecord =
new std::vector<G4RayTrajectoryPoint*>;
57 for(
size_t i=0;i<right.positionRecord->size();i++)
60 ((*(right.positionRecord))[i]);
65G4RayTrajectory :: ~G4RayTrajectory()
68 for(
size_t i=0;i<positionRecord->size();i++)
69 {
delete (*positionRecord)[i]; }
70 positionRecord->clear();
71 delete positionRecord;
84 if(valid) { theLocalNormal = -theLocalNormal; }
113 positionRecord->push_back(trajectoryPoint);
121 if(!secondTrajectory)
return;
125 for(
G4int i=0;i<ent;i++)
127 seco->positionRecord->clear();
G4Allocator< G4RayTrajectory > G4RayTrajectoryAllocator
const G4VisAttributes * GetVisAttributes() const
virtual G4ThreeVector GetLocalExitNormal(G4bool *valid)
const G4AffineTransform GetLocalToGlobalTransform() const
void SetSurfaceNormal(G4ThreeVector val)
void SetStepLength(G4double val)
void SetPreStepAtt(const G4VisAttributes *val)
void SetPostStepAtt(const G4VisAttributes *val)
virtual G4VTrajectoryPoint * GetPoint(G4int i) const
virtual int GetPointEntries() const
virtual void ShowTrajectory(std::ostream &) const
virtual void MergeTrajectory(G4VTrajectory *secondTrajectory)
virtual void AppendStep(const G4Step *)
G4VPhysicalVolume * GetPhysicalVolume() const
G4StepPoint * GetPreStepPoint() const
G4double GetStepLength() const
G4StepPoint * GetPostStepPoint() const
static G4TransportationManager * GetTransportationManager()
G4Navigator * GetNavigatorForTracking() const
G4LogicalVolume * GetLogicalVolume() const
const G4VisAttributes * GetApplicableVisAttributes(const G4VisAttributes *) const
G4VViewer * GetCurrentViewer() const