G4Scene.icc

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 //
00027 // $Id$
00028 //
00029 // 
00030 // Scene data  John Allison  19th July 1996.
00031 
00032 inline G4bool G4Scene::operator == (const G4Scene& scene) const {
00033   return !(G4Scene::operator != (scene));
00034 }
00035 
00036 inline const G4String& G4Scene::GetName () const {
00037   return fName;
00038 }
00039 
00040 inline G4bool G4Scene::IsEmpty () const {
00041   return fRunDurationModelList.size () == 0;
00042 }
00043 
00044 inline const std::vector<G4Scene::Model>&
00045 G4Scene::GetRunDurationModelList () const {
00046   return fRunDurationModelList;
00047 }
00048 
00049 inline const std::vector<G4Scene::Model>&
00050 G4Scene::GetEndOfEventModelList () const {
00051   return fEndOfEventModelList;
00052 }
00053 
00054 inline const std::vector<G4Scene::Model>&
00055 G4Scene::GetEndOfRunModelList () const {
00056   return fEndOfRunModelList;
00057 }
00058 
00059 inline const G4VisExtent& G4Scene::GetExtent () const {
00060   return fExtent;
00061 }
00062 
00063 inline const G4Point3D& G4Scene::GetStandardTargetPoint () const {
00064   return fStandardTargetPoint;
00065 }
00066 
00067 inline G4bool G4Scene::GetRefreshAtEndOfEvent () const {
00068   return fRefreshAtEndOfEvent;
00069 }
00070 
00071 inline G4int G4Scene::GetMaxNumberOfKeptEvents() const {
00072   return fMaxNumberOfKeptEvents;
00073 }
00074 
00075 inline G4bool G4Scene::GetRefreshAtEndOfRun () const {
00076   return fRefreshAtEndOfRun;
00077 }
00078 
00079 inline void G4Scene::SetName (const G4String& name) {
00080   fName = name;
00081 }
00082 
00083 inline std::vector<G4Scene::Model>& G4Scene::SetRunDurationModelList ()
00084 {
00085   return fRunDurationModelList;
00086 }
00087 
00088 inline std::vector<G4Scene::Model>& G4Scene::SetEndOfEventModelList ()
00089 {
00090   return fEndOfEventModelList;
00091 }
00092 
00093 inline std::vector<G4Scene::Model>& G4Scene::SetEndOfRunModelList ()
00094 {
00095   return fEndOfRunModelList;
00096 }
00097 
00098 inline void G4Scene::SetRefreshAtEndOfEvent(G4bool refresh) {
00099   fRefreshAtEndOfEvent = refresh;
00100 }
00101 
00102 inline void G4Scene::SetMaxNumberOfKeptEvents(G4int max) {
00103   fMaxNumberOfKeptEvents = max;
00104 }
00105 
00106 inline void G4Scene::SetRefreshAtEndOfRun(G4bool refresh) {
00107   fRefreshAtEndOfRun = refresh;
00108 }

Generated on Mon May 27 17:49:48 2013 for Geant4 by  doxygen 1.4.7