File indexing completed on 2025-01-18 09:59:22
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
0030
0031 inline void G4VisAttributes::SetVisibility (G4bool v) {fVisible = v;}
0032
0033 inline void G4VisAttributes::SetDaughtersInvisible (G4bool v) {
0034 fDaughtersInvisible = v;
0035 }
0036
0037 inline void G4VisAttributes::SetColour (const G4Colour& colour) {
0038 fColour = colour;
0039 }
0040
0041 inline void G4VisAttributes::SetColor (const G4Color& color) {
0042 fColour = color;
0043 }
0044
0045 inline void G4VisAttributes::SetColour
0046 (G4double red, G4double green, G4double blue, G4double alpha) {
0047 fColour = G4Colour (red, green, blue, alpha);
0048 }
0049
0050 inline void G4VisAttributes::SetColor
0051 (G4double red, G4double green, G4double blue, G4double alpha) {
0052 fColour = G4Color (red, green, blue, alpha);
0053 }
0054
0055 inline void G4VisAttributes::SetLineStyle (G4VisAttributes::LineStyle style) {
0056 fLineStyle = style;
0057 }
0058
0059 inline void G4VisAttributes::SetLineWidth (G4double w) {
0060 fLineWidth = w;
0061 }
0062
0063 inline void G4VisAttributes::SetStartTime(G4double time) {
0064 fStartTime = time;
0065 }
0066
0067 inline void G4VisAttributes::SetEndTime(G4double time) {
0068 fEndTime = time;
0069 }
0070
0071 inline void G4VisAttributes::SetAttValues
0072 (const std::vector<G4AttValue>* attValues){
0073 fAttValues = attValues;
0074 }
0075
0076 inline void G4VisAttributes::SetAttDefs
0077 (const std::map<G4String,G4AttDef>* attDefs) {
0078 fAttDefs = attDefs;
0079 }
0080
0081 inline G4bool G4VisAttributes::IsVisible () const {return fVisible;}
0082
0083 inline G4bool G4VisAttributes::IsDaughtersInvisible () const {
0084 return fDaughtersInvisible;
0085 }
0086
0087 inline const G4Colour& G4VisAttributes::GetColour () const {return fColour;}
0088
0089 inline const G4Color& G4VisAttributes::GetColor () const {return fColour;}
0090
0091 inline G4VisAttributes::LineStyle G4VisAttributes::GetLineStyle () const {
0092 return fLineStyle;
0093 }
0094
0095 inline G4double G4VisAttributes::GetLineWidth () const {
0096 return fLineWidth;
0097 }
0098
0099 inline G4bool G4VisAttributes::IsForceDrawingStyle () const {
0100 return fForceDrawingStyle;
0101 }
0102
0103 inline G4int G4VisAttributes::GetForcedNumberOfCloudPoints () const {
0104 return fForcedNumberOfCloudPoints;
0105 }
0106
0107 inline G4bool G4VisAttributes::IsForceAuxEdgeVisible () const {
0108 return fForceAuxEdgeVisible;
0109 }
0110
0111 inline G4bool G4VisAttributes::IsForceLineSegmentsPerCircle () const {
0112 return fForcedLineSegmentsPerCircle > 0;
0113 }
0114
0115 inline G4int G4VisAttributes::GetForcedLineSegmentsPerCircle () const {
0116 return fForcedLineSegmentsPerCircle;
0117 }
0118
0119 inline G4double G4VisAttributes::GetStartTime() const {
0120 return fStartTime;
0121 }
0122
0123 inline G4double G4VisAttributes::GetEndTime() const {
0124 return fEndTime;
0125 }
0126
0127 inline
0128 const std::map<G4String,G4AttDef>* G4VisAttributes::GetAttDefs () const {
0129 return fAttDefs;
0130 }
0131
0132 inline
0133 G4int G4VisAttributes::GetMinLineSegmentsPerCircle () {
0134 return fMinLineSegmentsPerCircle;
0135 }