Geant4.10
|
#include <G4TrajectoryDrawByAttribute.hh>
Public Member Functions | |
G4TrajectoryDrawByAttribute (const G4String &name="Unspecified", G4VisTrajContext *context=0) | |
virtual | ~G4TrajectoryDrawByAttribute () |
virtual void | Draw (const G4VTrajectory &trajectory, const G4bool &visible=true) const |
virtual void | Print (std::ostream &ostr) const |
void | Set (const G4String &attribute) |
void | AddIntervalContext (const G4String &name, G4VisTrajContext *context) |
void | AddValueContext (const G4String &name, G4VisTrajContext *context) |
![]() | |
G4VTrajectoryModel (const G4String &name, G4VisTrajContext *fpContext=0) | |
virtual | ~G4VTrajectoryModel () |
G4String | Name () const |
const G4VisTrajContext & | GetContext () const |
void | SetVerbose (const G4bool &) |
G4bool | GetVerbose () const |
Definition at line 42 of file G4TrajectoryDrawByAttribute.hh.
G4TrajectoryDrawByAttribute::G4TrajectoryDrawByAttribute | ( | const G4String & | name = "Unspecified" , |
G4VisTrajContext * | context = 0 |
||
) |
Definition at line 41 of file G4TrajectoryDrawByAttribute.cc.
|
virtual |
Definition at line 49 of file G4TrajectoryDrawByAttribute.cc.
void G4TrajectoryDrawByAttribute::AddIntervalContext | ( | const G4String & | name, |
G4VisTrajContext * | context | ||
) |
Definition at line 207 of file G4TrajectoryDrawByAttribute.cc.
References FatalErrorInArgument, and G4Exception().
void G4TrajectoryDrawByAttribute::AddValueContext | ( | const G4String & | name, |
G4VisTrajContext * | context | ||
) |
Definition at line 226 of file G4TrajectoryDrawByAttribute.cc.
References FatalErrorInArgument, and G4Exception().
|
virtual |
Implements G4VTrajectoryModel.
Definition at line 62 of file G4TrajectoryDrawByAttribute.cc.
References assert, G4TrajectoryDrawerUtils::DrawLineAndPoints(), G4AttUtils::ExtractAttDef(), G4AttUtils::ExtractAttValue(), G4cout, G4endl, G4Exception(), G4VTrajectoryModel::GetContext(), G4AttFilterUtils::GetNewFilter(), G4VAttValueFilter::GetValidElement(), G4AttValue::GetValue(), G4VTrajectoryModel::GetVerbose(), G4String::isNull(), JustWarning, G4VAttValueFilter::LoadIntervalElement(), G4VAttValueFilter::LoadSingleValueElement(), G4VTrajectoryModel::Name(), G4VisTrajContext::Print(), and G4VisTrajContext::SetVisible().
|
virtual |
Implements G4VTrajectoryModel.
Definition at line 180 of file G4TrajectoryDrawByAttribute.cc.
References G4endl, G4VTrajectoryModel::GetContext(), G4VTrajectoryModel::Name(), and G4VisTrajContext::Print().
Definition at line 201 of file G4TrajectoryDrawByAttribute.cc.