Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4VisAttributes.icc,v 2.1 1998/11/25 16:01:18 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// John Allison 18th November 1996
|
||||
|
||||
inline G4bool G4VisAttributes::IsVisible () const {return fVisible;}
|
||||
|
||||
inline G4bool G4VisAttributes::IsDaughtersInvisible () const {
|
||||
return fDaughtersInvisible;
|
||||
}
|
||||
|
||||
inline const G4Colour& G4VisAttributes::GetColour () const {return fColour;}
|
||||
|
||||
inline const G4Color& G4VisAttributes::GetColor () const {return fColour;}
|
||||
|
||||
inline G4VisAttributes::LineStyle G4VisAttributes::GetLineStyle () const {
|
||||
return fLineStyle;
|
||||
}
|
||||
|
||||
inline G4double G4VisAttributes::GetLineWidth () const {
|
||||
return fLineWidth;
|
||||
}
|
||||
|
||||
inline G4bool G4VisAttributes::IsForceDrawingStyle () const {
|
||||
return fForceDrawingStyle;
|
||||
}
|
||||
inline G4VisAttributes::ForcedDrawingStyle
|
||||
G4VisAttributes::GetForcedDrawingStyle () const {
|
||||
return fForcedStyle;
|
||||
}
|
||||
|
||||
inline void G4VisAttributes::SetVisibility (G4bool v) {fVisible = v;}
|
||||
|
||||
inline void G4VisAttributes::SetDaughtersInvisible (G4bool v) {
|
||||
fDaughtersInvisible = v;
|
||||
}
|
||||
|
||||
inline void G4VisAttributes::SetColour (const G4Colour& colour) {
|
||||
fColour = colour;
|
||||
}
|
||||
|
||||
inline void G4VisAttributes::SetColor (const G4Color& color) {
|
||||
fColour = color;
|
||||
}
|
||||
|
||||
inline void G4VisAttributes::SetColour
|
||||
(G4double red, G4double green, G4double blue, G4double alpha) {
|
||||
fColour = G4Colour (red, green, blue, alpha);
|
||||
}
|
||||
|
||||
inline void G4VisAttributes::SetColor
|
||||
(G4double red, G4double green, G4double blue, G4double alpha) {
|
||||
fColour = G4Color (red, green, blue, alpha);
|
||||
}
|
||||
|
||||
inline void G4VisAttributes::SetLineStyle (G4VisAttributes::LineStyle style) {
|
||||
fLineStyle = style;
|
||||
}
|
||||
|
||||
inline void G4VisAttributes::SetLineWidth (G4double w) {
|
||||
fLineWidth = w;
|
||||
}
|
||||
|
||||
inline void G4VisAttributes::SetForceWireframe (G4bool force) {
|
||||
fForceDrawingStyle = force;
|
||||
fForcedStyle = G4VisAttributes::wireframe;
|
||||
}
|
||||
|
||||
inline void G4VisAttributes::SetForceSolid (G4bool force) {
|
||||
fForceDrawingStyle = force;
|
||||
fForcedStyle = G4VisAttributes::solid;
|
||||
}
|
||||
Reference in New Issue
Block a user