57 return (
this==&right);
67 const std::map<G4String,G4AttDef>* attDefs =
GetAttDefs();
71 if (
G4AttCheck(attValues,attDefs).Check(
"G4VTrajectory::ShowTrajectory"))
78 for (
auto iAttVal = attValues->cbegin();
79 iAttVal != attValues->cend(); ++iAttVal)
81 std::map<G4String,G4AttDef>::const_iterator iAttDef =
82 attDefs->find(iAttVal->GetName());
83 os <<
"\n " << iAttDef->second.GetDesc()
84 <<
" (" << iAttVal->GetName()
85 <<
"): " << iAttVal->GetValue();
100 if (
G4AttCheck(attValues,attDefs).Check(
"G4VTrajectory::ShowTrajectory"))
105 for (
auto iAttVal = attValues->cbegin();
106 iAttVal != attValues->cend(); ++iAttVal)
108 std::map<G4String,G4AttDef>::const_iterator iAttDef =
109 attDefs->find(iAttVal->GetName());
110 os <<
"\n " << iAttDef->second.GetDesc()
111 <<
" (" << iAttVal->GetName()
112 <<
"): " << iAttVal->GetValue();
124 if (pVVisManager !=
nullptr)
virtual std::vector< G4AttValue > * CreateAttValues() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
virtual G4VTrajectoryPoint * GetPoint(G4int i) const =0
virtual G4int GetPointEntries() const =0
virtual void ShowTrajectory(std::ostream &os=G4cout) const
virtual std::vector< G4AttValue > * CreateAttValues() const
G4bool operator==(const G4VTrajectory &right) const
virtual void DrawTrajectory() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
virtual void DispatchToModel(const G4VTrajectory &)=0
static G4VVisManager * GetConcreteInstance()