File indexing completed on 2025-01-18 09:59:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #ifndef G4VISTRAJCONTEXT_HH
0030 #define G4VISTRAJCONTEXT_HH
0031
0032 #include "G4Colour.hh"
0033 #include "G4Polymarker.hh"
0034
0035 class G4VisTrajContext {
0036
0037 public:
0038
0039
0040 G4VisTrajContext(const G4String& name = "Unspecified");
0041
0042
0043 virtual ~G4VisTrajContext();
0044
0045 G4String Name() const;
0046
0047 void SetVisible(const G4bool& visible);
0048
0049
0050 void Print(std::ostream& ostr) const;
0051
0052
0053 void SetLineColour(const G4Colour& colour);
0054 G4Colour GetLineColour() const;
0055
0056 void SetLineWidth(const G4double& width);
0057 G4double GetLineWidth() const;
0058
0059 void SetDrawLine(const G4bool& draw);
0060 G4bool GetDrawLine() const;
0061
0062 void SetLineVisible(const G4bool& visible);
0063 G4bool GetLineVisible() const;
0064
0065
0066 void SetDrawAuxPts(const G4bool& draw);
0067 G4bool GetDrawAuxPts() const;
0068
0069 void SetAuxPtsType(const G4Polymarker::MarkerType& marker);
0070 G4Polymarker::MarkerType GetAuxPtsType() const;
0071
0072 void SetAuxPtsSize(const G4double& size);
0073 G4double GetAuxPtsSize() const;
0074
0075 void SetAuxPtsSizeType(const G4VMarker::SizeType& sizeType);
0076 G4VMarker::SizeType GetAuxPtsSizeType() const;
0077
0078 void SetAuxPtsFillStyle(const G4VMarker::FillStyle& style);
0079 G4VMarker::FillStyle GetAuxPtsFillStyle() const;
0080
0081 void SetAuxPtsColour(const G4Colour& colour);
0082 G4Colour GetAuxPtsColour() const;
0083
0084 void SetAuxPtsVisible(const G4bool& visible);
0085 G4bool GetAuxPtsVisible() const;
0086
0087
0088 void SetDrawStepPts(const G4bool& draw);
0089 G4bool GetDrawStepPts() const;
0090
0091 void SetStepPtsType(const G4Polymarker::MarkerType& marker);
0092 G4Polymarker::MarkerType GetStepPtsType() const;
0093
0094 void SetStepPtsSize(const G4double& size);
0095 G4double GetStepPtsSize() const;
0096
0097 void SetStepPtsSizeType(const G4VMarker::SizeType& sizeType);
0098 G4VMarker::SizeType GetStepPtsSizeType() const;
0099
0100 void SetStepPtsFillStyle(const G4VMarker::FillStyle& style);
0101 G4VMarker::FillStyle GetStepPtsFillStyle() const;
0102
0103 void SetStepPtsColour(const G4Colour& colour);
0104 G4Colour GetStepPtsColour() const;
0105
0106 void SetStepPtsVisible(const G4bool& visible);
0107 G4bool GetStepPtsVisible() const;
0108
0109 void SetTimeSliceInterval(const G4double& interval);
0110 G4double GetTimeSliceInterval() const;
0111
0112 private:
0113
0114
0115 G4String fName;
0116
0117
0118 G4double fLineWidth;
0119 G4Colour fLineColour;
0120 G4bool fLineVisible;
0121 G4bool fDrawLine;
0122
0123
0124 G4bool fDrawAuxPts;
0125 G4Polymarker::MarkerType fAuxPtsType;
0126 G4double fAuxPtsSize;
0127 G4VMarker::SizeType fAuxPtsSizeType;
0128 G4VMarker::FillStyle fAuxPtsFillStyle;
0129 G4Colour fAuxPtsColour;
0130 G4bool fAuxPtsVisible;
0131
0132
0133 G4bool fDrawStepPts;
0134 G4Polymarker::MarkerType fStepPtsType;
0135 G4double fStepPtsSize;
0136 G4VMarker::SizeType fStepPtsSizeType;
0137 G4VMarker::FillStyle fStepPtsFillStyle;
0138 G4Colour fStepPtsColour;
0139 G4bool fStepPtsVisible;
0140
0141
0142 G4double fTimeSliceInterval;
0143
0144 };
0145
0146 #include "G4VisTrajContext.icc"
0147
0148 #endif
0149