#include <G4VisTrajContext.hh>
Definition at line 36 of file G4VisTrajContext.hh.
G4VisTrajContext::G4VisTrajContext | ( | const G4String & | name = "Unspecified" |
) |
Definition at line 29 of file G4VisTrajContext.cc.
00030 :fName(name) 00031 ,fLineColour(G4Colour::Grey()) 00032 ,fLineVisible(true) 00033 ,fDrawLine(true) 00034 ,fDrawAuxPts(false) 00035 ,fAuxPtsType(G4Polymarker::squares) 00036 ,fAuxPtsSize(2) 00037 ,fAuxPtsSizeType(G4VMarker::screen) 00038 ,fAuxPtsFillStyle(G4VMarker::filled) 00039 ,fAuxPtsColour(G4Colour::Magenta()) 00040 ,fAuxPtsVisible(true) 00041 ,fDrawStepPts(false) 00042 ,fStepPtsType(G4Polymarker::circles) 00043 ,fStepPtsSize(2) 00044 ,fStepPtsSizeType(G4VMarker::screen) 00045 ,fStepPtsFillStyle(G4VMarker::filled) 00046 ,fStepPtsColour(G4Colour::Yellow()) 00047 ,fStepPtsVisible(true) 00048 ,fTimeSliceInterval(0.) 00049 {}
G4VisTrajContext::~G4VisTrajContext | ( | ) | [virtual] |
G4Colour G4VisTrajContext::GetAuxPtsColour | ( | ) | const [inline] |
Definition at line 69 of file G4VisTrajContext.icc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and Print().
G4VMarker::FillStyle G4VisTrajContext::GetAuxPtsFillStyle | ( | ) | const [inline] |
G4double G4VisTrajContext::GetAuxPtsSize | ( | ) | const [inline] |
Definition at line 60 of file G4VisTrajContext.icc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and Print().
G4VMarker::SizeType G4VisTrajContext::GetAuxPtsSizeType | ( | ) | const [inline] |
G4Polymarker::MarkerType G4VisTrajContext::GetAuxPtsType | ( | ) | const [inline] |
Definition at line 57 of file G4VisTrajContext.icc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and Print().
G4bool G4VisTrajContext::GetAuxPtsVisible | ( | ) | const [inline] |
Definition at line 72 of file G4VisTrajContext.icc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and Print().
G4bool G4VisTrajContext::GetDrawAuxPts | ( | ) | const [inline] |
Definition at line 54 of file G4VisTrajContext.icc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4TrajectoryDrawerUtils::DrawLineAndPoints(), and Print().
G4bool G4VisTrajContext::GetDrawLine | ( | ) | const [inline] |
Definition at line 47 of file G4VisTrajContext.icc.
Referenced by G4TrajectoryDrawerUtils::DrawLineAndPoints(), and Print().
G4bool G4VisTrajContext::GetDrawStepPts | ( | ) | const [inline] |
Definition at line 76 of file G4VisTrajContext.icc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4TrajectoryDrawerUtils::DrawLineAndPoints(), and Print().
G4Colour G4VisTrajContext::GetLineColour | ( | ) | const [inline] |
G4bool G4VisTrajContext::GetLineVisible | ( | ) | const [inline] |
G4Colour G4VisTrajContext::GetStepPtsColour | ( | ) | const [inline] |
Definition at line 91 of file G4VisTrajContext.icc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and Print().
G4VMarker::FillStyle G4VisTrajContext::GetStepPtsFillStyle | ( | ) | const [inline] |
G4double G4VisTrajContext::GetStepPtsSize | ( | ) | const [inline] |
Definition at line 82 of file G4VisTrajContext.icc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and Print().
G4VMarker::SizeType G4VisTrajContext::GetStepPtsSizeType | ( | ) | const [inline] |
G4Polymarker::MarkerType G4VisTrajContext::GetStepPtsType | ( | ) | const [inline] |
Definition at line 79 of file G4VisTrajContext.icc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and Print().
G4bool G4VisTrajContext::GetStepPtsVisible | ( | ) | const [inline] |
Definition at line 94 of file G4VisTrajContext.icc.
Referenced by G4HepRepFileSceneHandler::AddCompound(), and Print().
G4double G4VisTrajContext::GetTimeSliceInterval | ( | ) | const [inline] |
Definition at line 97 of file G4VisTrajContext.icc.
Referenced by G4TrajectoryDrawerUtils::DrawLineAndPoints(), G4TrajectoryDrawerUtils::GetPointsAndTimes(), and Print().
G4String G4VisTrajContext::Name | ( | ) | const [inline] |
void G4VisTrajContext::Print | ( | std::ostream & | ostr | ) | const [inline] |
Definition at line 101 of file G4VisTrajContext.icc.
References G4BestUnit, G4endl, GetAuxPtsColour(), GetAuxPtsFillStyle(), GetAuxPtsSize(), GetAuxPtsType(), GetAuxPtsVisible(), GetDrawAuxPts(), GetDrawLine(), GetDrawStepPts(), GetLineColour(), GetLineVisible(), GetStepPtsColour(), GetStepPtsFillStyle(), GetStepPtsSize(), GetStepPtsType(), GetStepPtsVisible(), GetTimeSliceInterval(), and Name().
Referenced by G4TrajectoryGenericDrawer::Draw(), G4TrajectoryDrawByParticleID::Draw(), G4TrajectoryDrawByOriginVolume::Draw(), G4TrajectoryDrawByCharge::Draw(), G4TrajectoryDrawByAttribute::Draw(), G4TrajectoryGenericDrawer::Print(), G4TrajectoryDrawByParticleID::Print(), G4TrajectoryDrawByOriginVolume::Print(), G4TrajectoryDrawByCharge::Print(), and G4TrajectoryDrawByAttribute::Print().
00102 { 00103 ostr<<"Name: "<<Name()<<G4endl; 00104 ostr<<"Line colour "<<GetLineColour()<<G4endl; 00105 ostr<<"Draw line ? "<<GetDrawLine()<<G4endl; 00106 ostr<<"Line visibile ? "<<GetLineVisible()<<G4endl; 00107 ostr<<"Draw auxiliary points ? "<<GetDrawAuxPts()<<G4endl; 00108 ostr<<"Auxiliary points type "<<GetAuxPtsType()<<G4endl; 00109 ostr<<"Auxiliary points size "<<GetAuxPtsSize()<<G4endl; 00110 ostr<<"Auxiliary points fill style "<<GetAuxPtsFillStyle()<<G4endl; 00111 ostr<<"Auxiliary points colour "<<GetAuxPtsColour()<<G4endl; 00112 ostr<<"Auxiliary points visible ? "<<GetAuxPtsVisible()<<G4endl; 00113 ostr<<"Draw step points ? "<<GetDrawStepPts()<<G4endl; 00114 ostr<<"Step points type "<<GetStepPtsType()<<G4endl; 00115 ostr<<"Step points size "<<GetStepPtsSize()<<G4endl; 00116 ostr<<"Step points fill style "<<GetStepPtsFillStyle()<<G4endl; 00117 ostr<<"Step points colour "<<GetStepPtsColour()<<G4endl; 00118 ostr<<"Step points visible ? "<<GetStepPtsVisible()<<G4endl; 00119 ostr<<"Time slice interval "<<G4BestUnit(GetTimeSliceInterval(),"Time")<<G4endl; 00120 }
void G4VisTrajContext::SetAuxPtsColour | ( | const G4Colour & | colour | ) | [inline] |
void G4VisTrajContext::SetAuxPtsFillStyle | ( | const G4VMarker::FillStyle & | style | ) | [inline] |
void G4VisTrajContext::SetAuxPtsSize | ( | const G4double & | size | ) | [inline] |
Definition at line 59 of file G4VisTrajContext.icc.
Referenced by G4TrajectoryDrawerUtils::DrawLineAndPoints().
void G4VisTrajContext::SetAuxPtsSizeType | ( | const G4VMarker::SizeType & | sizeType | ) | [inline] |
void G4VisTrajContext::SetAuxPtsType | ( | const G4Polymarker::MarkerType & | marker | ) | [inline] |
void G4VisTrajContext::SetAuxPtsVisible | ( | const G4bool & | visible | ) | [inline] |
void G4VisTrajContext::SetDrawAuxPts | ( | const G4bool & | draw | ) | [inline] |
Definition at line 53 of file G4VisTrajContext.icc.
Referenced by G4TrajectoryDrawerUtils::DrawLineAndPoints().
void G4VisTrajContext::SetDrawLine | ( | const G4bool & | draw | ) | [inline] |
Definition at line 46 of file G4VisTrajContext.icc.
Referenced by G4TrajectoryDrawerUtils::DrawLineAndPoints().
void G4VisTrajContext::SetDrawStepPts | ( | const G4bool & | draw | ) | [inline] |
Definition at line 75 of file G4VisTrajContext.icc.
Referenced by G4TrajectoryDrawerUtils::DrawLineAndPoints().
void G4VisTrajContext::SetLineColour | ( | const G4Colour & | colour | ) | [inline] |
Definition at line 43 of file G4VisTrajContext.icc.
Referenced by G4TrajectoryDrawByParticleID::Draw(), G4TrajectoryDrawByOriginVolume::Draw(), and G4TrajectoryDrawByCharge::Draw().
void G4VisTrajContext::SetLineVisible | ( | const G4bool & | visible | ) | [inline] |
void G4VisTrajContext::SetStepPtsColour | ( | const G4Colour & | colour | ) | [inline] |
void G4VisTrajContext::SetStepPtsFillStyle | ( | const G4VMarker::FillStyle & | style | ) | [inline] |
void G4VisTrajContext::SetStepPtsSize | ( | const G4double & | size | ) | [inline] |
Definition at line 81 of file G4VisTrajContext.icc.
Referenced by G4TrajectoryDrawerUtils::DrawLineAndPoints().
void G4VisTrajContext::SetStepPtsSizeType | ( | const G4VMarker::SizeType & | sizeType | ) | [inline] |
void G4VisTrajContext::SetStepPtsType | ( | const G4Polymarker::MarkerType & | marker | ) | [inline] |
void G4VisTrajContext::SetStepPtsVisible | ( | const G4bool & | visible | ) | [inline] |
void G4VisTrajContext::SetTimeSliceInterval | ( | const G4double & | interval | ) | [inline] |
void G4VisTrajContext::SetVisible | ( | const G4bool & | visible | ) | [inline] |
Definition at line 35 of file G4VisTrajContext.icc.
References SetAuxPtsVisible(), SetLineVisible(), and SetStepPtsVisible().
Referenced by G4TrajectoryGenericDrawer::Draw(), G4TrajectoryDrawByParticleID::Draw(), G4TrajectoryDrawByOriginVolume::Draw(), G4TrajectoryDrawByCharge::Draw(), and G4TrajectoryDrawByAttribute::Draw().
00036 { 00037 SetLineVisible(visible); 00038 SetAuxPtsVisible(visible); 00039 SetStepPtsVisible(visible); 00040 }