32 #ifndef G4TRAJECTORYDRAWBYATTRIBUTE_HH
33 #define G4TRAJECTORYDRAWBYATTRIBUTE_HH
54 const G4bool& visible =
true)
const;
57 virtual void Print(std::ostream& ostr)
const;
68 typedef std::pair<G4String, Config>
Pair;
std::pair< G4String, Config > Pair
virtual void Print(std::ostream &ostr) const
G4TrajectoryDrawByAttribute(const G4String &name="Unspecified", G4VisTrajContext *context=0)
std::map< Pair, G4VisTrajContext * > ContextMap
void AddValueContext(const G4String &name, G4VisTrajContext *context)
G4VAttValueFilter * filter
void AddIntervalContext(const G4String &name, G4VisTrajContext *context)
virtual ~G4TrajectoryDrawByAttribute()
G4bool fWarnedMissingAttribute
virtual void Draw(const G4VTrajectory &trajectory, const G4bool &visible=true) const
void Set(const G4String &attribute)