48 assert (0 != aTrajectoryPoint);
56 (aTrajectoryPoint->
GetPosition(),
nullptr,
false,
true);
60 assert (0 != logicalVolume);
75 G4cout<<
"G4TrajectoryDrawByOriginVolume drawer named "<<
Name();
76 G4cout<<
", drawing trajectory originating in logical volume, "<<logicalName;
77 G4cout<<
", physical volume "<<physicalName<<
", with configuration:"<<
G4endl;
92 ed <<
"G4Colour with key "<<colour<<
" does not exist ";
94 (
"G4TrajectoryDrawByOriginParticleID::SetDefault(const G4String& colour)",
"modeling0123",
JustWarning, ed);
116 fMap[particle] = colour;
123 <<
"G4TrajectoryDrawByOriginVolume model "<<
Name()
124 <<
", colour scheme: "
130 ostr <<
"Default configuration:" << std::endl;
void DrawLineAndPoints(const G4VTrajectory &traj, const G4VisTrajContext &)
const G4VisTrajContext & GetContext() const
virtual const G4ThreeVector GetPosition() const =0
void Print(std::ostream &ostr) const
std::ostringstream G4ExceptionDescription
G4LogicalVolume * GetLogicalVolume() const
virtual void Draw(const G4VTrajectory &trajectory, const G4bool &visible=true) const
G4ModelColourMap< G4String > fMap
void SetDefault(const G4String &)
G4Navigator * GetNavigatorForTracking() const
G4TrajectoryDrawByOriginVolume(const G4String &name="Unspecified", G4VisTrajContext *context=0)
void SetVisible(const G4bool &visible)
bool GetColour(const T &, G4Colour &) const
virtual ~G4TrajectoryDrawByOriginVolume()
static G4TransportationManager * GetTransportationManager()
void Set(const G4String &particle, const G4String &colour)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual void Print(std::ostream &ostr) const
void Set(const T &, const G4Colour &)
G4GLOB_DLL std::ostream G4cout
G4bool GetVerbose() const
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
virtual G4VTrajectoryPoint * GetPoint(G4int i) const =0
void Print(std::ostream &ostr) const
const G4String & GetName() const
const G4String & GetName() const
void SetLineColour(const G4Colour &colour)
static G4bool GetColour(const G4String &key, G4Colour &result)