47 const G4bool& visible)
const
49 Draw(
object, visible);
60 assert (0 != aTrajectoryPoint);
66 assert (0 != logicalVolume);
81 G4cout<<
"G4TrajectoryDrawByOriginVolume drawer named "<<
Name();
82 G4cout<<
", drawing trajectory originating in logical volume, "<<logicalName;
83 G4cout<<
", physical volumed "<<physicalName<<
", with configuration:"<<
G4endl;
98 ed <<
"G4Colour with key "<<colour<<
" does not exist ";
100 (
"G4TrajectoryDrawByOriginParticleID::SetDefault(const G4String& colour)",
"modeling0123",
JustWarning, ed);
116 fMap.
Set(particle, colour);
122 fMap[particle] = colour;
128 ostr<<
"G4TrajectoryDrawByOriginVolume model "<<
Name() <<
" colour scheme: "<<std::endl;
129 ostr<<
"Default : "<<fDefault<<
G4endl;
133 ostr<<
"Default configuration:"<<
G4endl;
G4DLLIMPORT std::ostream G4cout
static G4bool GetColour(const G4String &key, G4Colour &result)
bool GetColour(const T &, G4Colour &) const
void Print(std::ostream &ostr) const
void Set(const T &, const G4Colour &)
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
virtual ~G4TrajectoryDrawByOriginVolume()
G4TrajectoryDrawByOriginVolume(const G4String &name="Unspecified", G4VisTrajContext *context=0)
void Set(const G4String &particle, const G4String &colour)
virtual void Draw(const G4VTrajectory &trajectory, const G4int &i_mode=0, const G4bool &visible=true) const
void SetDefault(const G4String &)
virtual void Print(std::ostream &ostr) const
static G4TransportationManager * GetTransportationManager()
G4Navigator * GetNavigatorForTracking() const
G4LogicalVolume * GetLogicalVolume() const
const G4String & GetName() const
const G4VisTrajContext & GetContext() const
G4bool GetVerbose() const
virtual const G4ThreeVector GetPosition() const =0
virtual G4VTrajectoryPoint * GetPoint(G4int i) const =0
void SetLineColour(const G4Colour &colour)
void SetVisible(const G4bool &visible)
void Print(std::ostream &ostr) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
std::ostringstream G4ExceptionDescription
void DrawLineAndPoints(const G4VTrajectory &traj, const G4VisTrajContext &, const G4int &i_mode)