Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4VisTrajContext.hh
이 파일의 문서화 페이지로 가기
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 // $Id: G4VisTrajContext.hh 66373 2012-12-18 09:41:34Z gcosmo $
27 //
28 // Jane Tinslay May 2006
29 //
30 #ifndef G4VISTRAJCONTEXT_HH
31 #define G4VISTRAJCONTEXT_HH
32 
33 #include "G4Colour.hh"
34 #include "G4Polymarker.hh"
35 
37 
38 public:
39 
40  // Default configuration
41  G4VisTrajContext(const G4String& name = "Unspecified");
42 
43  // Destructor
44  virtual ~G4VisTrajContext();
45 
46  G4String Name() const;
47 
48  void SetVisible(const G4bool& visible);
49 
50  // Print configuration
51  void Print(std::ostream& ostr) const;
52 
53  // Line
54  void SetLineColour(const G4Colour& colour);
55  G4Colour GetLineColour() const;
56 
57  void SetDrawLine(const G4bool& draw);
58  G4bool GetDrawLine() const;
59 
60  void SetLineVisible(const G4bool& visible);
61  G4bool GetLineVisible() const;
62 
63  // Auxiliary points
64  void SetDrawAuxPts(const G4bool& draw);
65  G4bool GetDrawAuxPts() const;
66 
67  void SetAuxPtsType(const G4Polymarker::MarkerType& marker);
69 
70  void SetAuxPtsSize(const G4double& size);
71  G4double GetAuxPtsSize() const;
72 
73  void SetAuxPtsSizeType(const G4VMarker::SizeType& sizeType);
75 
76  void SetAuxPtsFillStyle(const G4VMarker::FillStyle& style);
78 
79  void SetAuxPtsColour(const G4Colour& colour);
80  G4Colour GetAuxPtsColour() const;
81 
82  void SetAuxPtsVisible(const G4bool& visible);
83  G4bool GetAuxPtsVisible() const;
84 
85  // Step points
86  void SetDrawStepPts(const G4bool& draw);
87  G4bool GetDrawStepPts() const;
88 
89  void SetStepPtsType(const G4Polymarker::MarkerType& marker);
91 
92  void SetStepPtsSize(const G4double& size);
93  G4double GetStepPtsSize() const;
94 
95  void SetStepPtsSizeType(const G4VMarker::SizeType& sizeType);
97 
98  void SetStepPtsFillStyle(const G4VMarker::FillStyle& style);
100 
101  void SetStepPtsColour(const G4Colour& colour);
102  G4Colour GetStepPtsColour() const;
103 
104  void SetStepPtsVisible(const G4bool& visible);
105  G4bool GetStepPtsVisible() const;
106 
107  void SetTimeSliceInterval(const G4double& interval);
109 
110 private:
111 
112  // Data members
114 
115  // Line data
119 
120  // Auxiliary point data
128 
129  // Step point data
137 
138  // Time slicing
140 
141 };
142 
143 #include "G4VisTrajContext.icc"
144 
145 #endif
146 
G4bool GetStepPtsVisible() const
G4VisTrajContext(const G4String &name="Unspecified")
void SetStepPtsSizeType(const G4VMarker::SizeType &sizeType)
const XML_Char * name
Definition: expat.h:151
void SetAuxPtsVisible(const G4bool &visible)
void SetAuxPtsSize(const G4double &size)
G4VMarker::SizeType fAuxPtsSizeType
void SetAuxPtsSizeType(const G4VMarker::SizeType &sizeType)
void SetStepPtsSize(const G4double &size)
G4bool GetDrawLine() const
G4VMarker::SizeType GetAuxPtsSizeType() const
G4String Name() const
G4bool GetLineVisible() const
G4double GetAuxPtsSize() const
G4VMarker::FillStyle fAuxPtsFillStyle
G4double GetStepPtsSize() const
G4Polymarker::MarkerType GetStepPtsType() const
G4Polymarker::MarkerType GetAuxPtsType() const
virtual ~G4VisTrajContext()
void SetStepPtsFillStyle(const G4VMarker::FillStyle &style)
void SetAuxPtsFillStyle(const G4VMarker::FillStyle &style)
G4VMarker::SizeType fStepPtsSizeType
void SetVisible(const G4bool &visible)
G4double GetTimeSliceInterval() const
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
G4VMarker::FillStyle GetStepPtsFillStyle() const
G4VMarker::FillStyle fStepPtsFillStyle
void SetDrawStepPts(const G4bool &draw)
G4VMarker::SizeType GetStepPtsSizeType() const
void SetAuxPtsColour(const G4Colour &colour)
G4bool GetDrawAuxPts() const
void SetLineVisible(const G4bool &visible)
G4bool GetAuxPtsVisible() const
G4Colour GetAuxPtsColour() const
G4Polymarker::MarkerType fStepPtsType
G4Colour GetStepPtsColour() const
G4Polymarker::MarkerType fAuxPtsType
void SetDrawAuxPts(const G4bool &draw)
G4VMarker::FillStyle GetAuxPtsFillStyle() const
G4Colour GetLineColour() const
void SetStepPtsType(const G4Polymarker::MarkerType &marker)
G4bool GetDrawStepPts() const
void Print(std::ostream &ostr) const
void SetTimeSliceInterval(const G4double &interval)
void SetStepPtsColour(const G4Colour &colour)
void SetLineColour(const G4Colour &colour)
void SetStepPtsVisible(const G4bool &visible)
void SetAuxPtsType(const G4Polymarker::MarkerType &marker)
void SetDrawLine(const G4bool &draw)