00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 inline const G4VisAttributes& G4VisAttributes::GetInvisible() {
00033 return Invisible;
00034 }
00035
00036 inline void G4VisAttributes::SetVisibility (G4bool v) {fVisible = v;}
00037
00038 inline void G4VisAttributes::SetDaughtersInvisible (G4bool v) {
00039 fDaughtersInvisible = v;
00040 }
00041
00042 inline void G4VisAttributes::SetColour (const G4Colour& colour) {
00043 fColour = colour;
00044 }
00045
00046 inline void G4VisAttributes::SetColor (const G4Color& color) {
00047 fColour = color;
00048 }
00049
00050 inline void G4VisAttributes::SetColour
00051 (G4double red, G4double green, G4double blue, G4double alpha) {
00052 fColour = G4Colour (red, green, blue, alpha);
00053 }
00054
00055 inline void G4VisAttributes::SetColor
00056 (G4double red, G4double green, G4double blue, G4double alpha) {
00057 fColour = G4Color (red, green, blue, alpha);
00058 }
00059
00060 inline void G4VisAttributes::SetLineStyle (G4VisAttributes::LineStyle style) {
00061 fLineStyle = style;
00062 }
00063
00064 inline void G4VisAttributes::SetLineWidth (G4double w) {
00065 fLineWidth = w;
00066 }
00067
00068 inline void G4VisAttributes::SetForceWireframe (G4bool force) {
00069 fForceDrawingStyle = force;
00070 fForcedStyle = G4VisAttributes::wireframe;
00071 }
00072
00073 inline void G4VisAttributes::SetForceSolid (G4bool force) {
00074 fForceDrawingStyle = force;
00075 fForcedStyle = G4VisAttributes::solid;
00076 }
00077
00078 inline void G4VisAttributes::SetForceAuxEdgeVisible (G4bool force) {
00079 fForceAuxEdgeVisible = force;
00080 }
00081
00082 inline void G4VisAttributes::SetStartTime(G4double time) {
00083 fStartTime = time;
00084 }
00085
00086 inline void G4VisAttributes::SetEndTime(G4double time) {
00087 fEndTime = time;
00088 }
00089
00090 inline void G4VisAttributes::SetAttValues
00091 (const std::vector<G4AttValue>* attValues){
00092 fAttValues = attValues;
00093 }
00094
00095 inline void G4VisAttributes::SetAttDefs
00096 (const std::map<G4String,G4AttDef>* attDefs) {
00097 fAttDefs = attDefs;
00098 }
00099
00100 inline G4bool G4VisAttributes::IsVisible () const {return fVisible;}
00101
00102 inline G4bool G4VisAttributes::IsDaughtersInvisible () const {
00103 return fDaughtersInvisible;
00104 }
00105
00106 inline const G4Colour& G4VisAttributes::GetColour () const {return fColour;}
00107
00108 inline const G4Color& G4VisAttributes::GetColor () const {return fColour;}
00109
00110 inline G4VisAttributes::LineStyle G4VisAttributes::GetLineStyle () const {
00111 return fLineStyle;
00112 }
00113
00114 inline G4double G4VisAttributes::GetLineWidth () const {
00115 return fLineWidth;
00116 }
00117
00118 inline G4bool G4VisAttributes::IsForceDrawingStyle () const {
00119 return fForceDrawingStyle;
00120 }
00121
00122 inline G4VisAttributes::ForcedDrawingStyle
00123 G4VisAttributes::GetForcedDrawingStyle () const {
00124 return fForcedStyle;
00125 }
00126
00127 inline G4bool G4VisAttributes::IsForceAuxEdgeVisible () const {
00128 return fForceAuxEdgeVisible;
00129 }
00130
00131 inline G4bool G4VisAttributes::IsForceLineSegmentsPerCircle () const {
00132 return fForcedLineSegmentsPerCircle > 0;
00133 }
00134
00135 inline G4int G4VisAttributes::GetForcedLineSegmentsPerCircle () const {
00136 return fForcedLineSegmentsPerCircle;
00137 }
00138
00139 inline G4double G4VisAttributes::GetStartTime() const {
00140 return fStartTime;
00141 }
00142
00143 inline G4double G4VisAttributes::GetEndTime() const {
00144 return fEndTime;
00145 }
00146
00147 inline
00148 const std::map<G4String,G4AttDef>* G4VisAttributes::GetAttDefs () const {
00149 return fAttDefs;
00150 }