35 lines
936 B
Plaintext
35 lines
936 B
Plaintext
// This code implementation is the intellectual property of
|
|
// the 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: G4Visible.icc,v 1.3 1999/12/15 14:50:35 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-01-01 $
|
|
//
|
|
//
|
|
// John Allison 30th October 1996
|
|
|
|
inline G4Visible::G4Visible (): fpVisAttributes (0) {}
|
|
|
|
inline G4Visible::G4Visible (const G4Visible& visible):
|
|
fpVisAttributes (visible.fpVisAttributes)
|
|
{}
|
|
|
|
inline G4Visible::G4Visible (const G4VisAttributes* pVA):
|
|
fpVisAttributes (pVA)
|
|
{}
|
|
|
|
inline const G4VisAttributes* G4Visible::GetVisAttributes () const {
|
|
return fpVisAttributes;
|
|
}
|
|
|
|
inline void G4Visible::SetVisAttributes (const G4VisAttributes* pVA) {
|
|
fpVisAttributes = pVA;
|
|
}
|
|
|
|
inline void G4Visible::SetVisAttributes (const G4VisAttributes& VA) {
|
|
fpVisAttributes = &VA;
|
|
}
|