50 :
G4Trajectory(),fWls(false),fDrawit(false),fForceNoDraw(false),fForceDraw(false)
52 fParticleDefinition=0;
66 :
G4Trajectory(right),fWls(right.fWls),fDrawit(right.fDrawit)
68 fParticleDefinition=right.fParticleDefinition;
81 const G4int i_mode = 50;
87 if(!fForceDraw && (!fDrawit || fForceNoDraw))
97 if (!pVVisManager)
return;
99 const G4double markerSize = std::abs(i_mode)/1000;
100 G4bool lineRequired (i_mode >= 0);
101 G4bool markersRequired (markerSize > 0.);
109 const std::vector<G4ThreeVector>* auxiliaries
112 for (
size_t iAux = 0; iAux < auxiliaries->size(); ++iAux) {
115 trajectoryLine.push_back(pos);
117 if (markersRequired) {
118 auxiliaryPoints.push_back(pos);
124 trajectoryLine.push_back(
pos);
126 if (markersRequired) {
127 stepPoints.push_back(
pos);
146 pVVisManager->
Draw(trajectoryLine);
148 if (markersRequired) {
154 pVVisManager->
Draw(auxiliaryPoints);
161 pVVisManager->
Draw(stepPoints);
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
G4ParticleDefinition * GetDefinition() const
virtual const std::vector< G4ThreeVector > * GetAuxiliaryPoints() const
static G4VVisManager * GetConcreteInstance()
G4ThreadLocal G4Allocator< LXeTrajectory > * LXeTrajectoryAllocator
void SetMarkerType(MarkerType)
void SetFillStyle(FillStyle)
virtual int GetPointEntries() const
Definition of the LXeTrajectory class.
void SetVisAttributes(const G4VisAttributes *)
virtual const G4ThreeVector GetPosition() const =0
virtual G4VTrajectoryPoint * GetPoint(G4int i) const
virtual void DrawTrajectory() const
static G4OpticalPhoton * OpticalPhotonDefinition()
static const G4double pos
void SetScreenSize(G4double)