79 if(trajectoryContainer)
96 for(
G4int i=0; i<n_point; i++)
123 G4Exception(
"G4BlineEventAction::DrawFieldLines()",
125 "Missing visualisation driver for visualising magnetic field lines!");
131 G4cout <<
"WARNING - G4BlineEventAction::DrawFieldLines()" <<
G4endl
132 <<
" There is nothing to visualise !" <<
G4endl;
135 ((
G4VisManager*)pVVisManager)->GetCurrentSceneHandler()-> ClearStore ();
138 for (
size_t i=0;i<nline;i++)
140 for (
size_t i=0;i<npoints;i++)
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
static const G4double pos
G4BlineEventAction(G4BlineTracer *aBlineTool)
virtual ~G4BlineEventAction()
virtual void BeginOfEventAction(const G4Event *)
static G4UImanager * GetUIpointer()
static G4VVisManager * GetConcreteInstance()
std::vector< G4Polyline > fTrajectoryPolyline
void SetScreenSize(G4double)
void ResetVectorObjectToBeDrawn()
virtual void EndOfEventAction(const G4Event *)
G4TrajectoryContainer * GetTrajectoryContainer() const
Definition of the G4BlineTracer class.
std::vector< G4Polymarker > fTrajectoryPoints
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void DrawFieldLines(G4double zoom, G4double theta, G4double phi)
G4GLOB_DLL std::ostream G4cout
void SetMarkerType(MarkerType)
Definition of the G4BlineEventAction class.
void SetVisAttributes(const G4VisAttributes *)
void SetFillStyle(FillStyle)
std::vector< G4VisAttributes * > fTrajectoryVisAttributes
G4BlineTracer * fBlineTool