32#ifndef G4TRAJECTORYDRAWBYATTRIBUTE_HH
33#define G4TRAJECTORYDRAWBYATTRIBUTE_HH
54 const G4bool& visible =
true)
const;
56 const G4bool& visible =
true)
const;
59 virtual void Print(std::ostream& ostr)
const;
68 enum Config {Interval, SingleValue};
70 typedef std::pair<G4String, Config> Pair;
71 typedef std::map<Pair, G4VisTrajContext*> ContextMap;
75 ContextMap fContextMap;
79 mutable G4bool fWarnedMissingAttribute;
void AddValueContext(const G4String &name, G4VisTrajContext *context)
void AddIntervalContext(const G4String &name, G4VisTrajContext *context)
virtual ~G4TrajectoryDrawByAttribute()
void Set(const G4String &attribute)
virtual void Print(std::ostream &ostr) const
virtual void Draw(const G4VTrajectory &trajectory, const G4int &i_mode=0, const G4bool &visible=true) const