Geant4 Cross Reference |
>> 1 // This code implementation is the intellectual property of >> 2 // the GEANT4 collaboration. 1 // 3 // 2 // ******************************************* << 4 // By copying, distributing or modifying the Program (or any work 3 // * License and Disclaimer << 5 // based on the Program) you indicate your acceptance of this statement, 4 // * << 6 // and all its terms. 5 // * The Geant4 software is copyright of th << 6 // * the Geant4 Collaboration. It is provided << 7 // * conditions of the Geant4 Software License << 8 // * LICENSE and available at http://cern.ch/ << 9 // * include a list of copyright holders. << 10 // * << 11 // * Neither the authors of this software syst << 12 // * institutes,nor the agencies providing fin << 13 // * work make any representation or warran << 14 // * regarding this software system or assum << 15 // * use. Please see the license in the file << 16 // * for the full disclaimer and the limitatio << 17 // * << 18 // * This code implementation is the result << 19 // * technical work of the GEANT4 collaboratio << 20 // * By using, copying, modifying or distri << 21 // * any work based on the software) you ag << 22 // * use in resulting scientific publicati << 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* << 25 // << 26 // 7 // >> 8 // $Id: G4Visible.icc,v 1.2.8.1 1999/12/07 20:48:52 gunter Exp $ >> 9 // GEANT4 tag $Name: geant4-01-00 $ 27 // 10 // 28 // 11 // 29 // John Allison 30th October 1996 12 // John Allison 30th October 1996 30 13 >> 14 inline G4Visible::G4Visible (): fpVisAttributes (0) {} 31 15 32 inline const G4String& G4Visible::GetInfo() co << 16 inline G4Visible::G4Visible (const G4Visible& visible): >> 17 fpVisAttributes (visible.fpVisAttributes) >> 18 {} 33 19 34 inline void G4Visible::SetInfo(const G4String& << 20 inline G4Visible::G4Visible (const G4VisAttributes* pVA): >> 21 fpVisAttributes (pVA) >> 22 {} 35 23 36 inline const G4VisAttributes* G4Visible::GetVi 24 inline const G4VisAttributes* G4Visible::GetVisAttributes () const { 37 return fpVisAttributes; 25 return fpVisAttributes; >> 26 } >> 27 >> 28 inline void G4Visible::SetVisAttributes (const G4VisAttributes* pVA) { >> 29 fpVisAttributes = pVA; >> 30 } >> 31 >> 32 inline void G4Visible::SetVisAttributes (const G4VisAttributes& VA) { >> 33 fpVisAttributes = &VA; 38 } 34 } 39 35