Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // 27 // Jane Tinslay May 2006 28 // 29 #ifndef G4VISTRAJ_CONTEXT_ICC 30 #define G4VISTRAJ_CONTEXT_ICC 31 32 inline G4String G4VisTrajContext::Name() const 33 34 inline void G4VisTrajContext::SetVisible(const 35 { 36 SetLineVisible(visible); 37 SetAuxPtsVisible(visible); 38 SetStepPtsVisible(visible); 39 } 40 41 // Line 42 inline void G4VisTrajContext::SetLineWidth(con 43 inline G4double G4VisTrajContext::GetLineWidth 44 45 inline void G4VisTrajContext::SetLineColour(co 46 inline G4Colour G4VisTrajContext::GetLineColou 47 48 inline void G4VisTrajContext::SetDrawLine(cons 49 inline G4bool G4VisTrajContext::GetDrawLine() 50 51 inline void G4VisTrajContext::SetLineVisible(c 52 inline G4bool G4VisTrajContext::GetLineVisible 53 54 // Auxiliary points 55 inline void G4VisTrajContext::SetDrawAuxPts(co 56 inline G4bool G4VisTrajContext::GetDrawAuxPts( 57 58 inline void G4VisTrajContext::SetAuxPtsType(co 59 inline G4Polymarker::MarkerType G4VisTrajConte 60 61 inline void G4VisTrajContext::SetAuxPtsSize(co 62 inline G4double G4VisTrajContext::GetAuxPtsSiz 63 64 inline void G4VisTrajContext::SetAuxPtsSizeTyp 65 inline G4VMarker::SizeType G4VisTrajContext::G 66 67 inline void G4VisTrajContext::SetAuxPtsFillSty 68 inline G4VMarker::FillStyle G4VisTrajContext:: 69 70 inline void G4VisTrajContext::SetAuxPtsColour( 71 inline G4Colour G4VisTrajContext::GetAuxPtsCol 72 73 inline void G4VisTrajContext::SetAuxPtsVisible 74 inline G4bool G4VisTrajContext::GetAuxPtsVisib 75 76 // Step points 77 inline void G4VisTrajContext::SetDrawStepPts(c 78 inline G4bool G4VisTrajContext::GetDrawStepPts 79 80 inline void G4VisTrajContext::SetStepPtsType(c 81 inline G4Polymarker::MarkerType G4VisTrajConte 82 83 inline void G4VisTrajContext::SetStepPtsSize(c 84 inline G4double G4VisTrajContext::GetStepPtsSi 85 86 inline void G4VisTrajContext::SetStepPtsSizeTy 87 inline G4VMarker::SizeType G4VisTrajContext::G 88 89 inline void G4VisTrajContext::SetStepPtsFillSt 90 inline G4VMarker::FillStyle G4VisTrajContext:: 91 92 inline void G4VisTrajContext::SetStepPtsColour 93 inline G4Colour G4VisTrajContext::GetStepPtsCo 94 95 inline void G4VisTrajContext::SetStepPtsVisibl 96 inline G4bool G4VisTrajContext::GetStepPtsVisi 97 98 inline void G4VisTrajContext::SetTimeSliceInte 99 inline G4double G4VisTrajContext::GetTimeSlice 100 101 #include "G4UnitsTable.hh" 102 103 inline void G4VisTrajContext::Print(std::ostre 104 { 105 ostr<<"Name: "<<Name() 106 ostr<<"Line colour "<<GetLin 107 ostr<<"Draw line ? "<<GetDra 108 ostr<<"Line visibile ? "<<GetLin 109 ostr<<"Draw auxiliary points ? "<<GetDra 110 ostr<<"Auxiliary points type "<<GetAux 111 ostr<<"Auxiliary points size "<<GetAux 112 ostr<<"Auxiliary points fill style "<<GetAux 113 ostr<<"Auxiliary points colour "<<GetAux 114 ostr<<"Auxiliary points visible ? "<<GetAux 115 ostr<<"Draw step points ? "<<GetDra 116 ostr<<"Step points type "<<GetSte 117 ostr<<"Step points size "<<GetSte 118 ostr<<"Step points fill style "<<GetSte 119 ostr<<"Step points colour "<<GetSte 120 ostr<<"Step points visible ? "<<GetSte 121 ostr<<"Time slice interval "<<G4Best 122 } 123 124 #endif 125