Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59:27

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //
0028 // 
0029 // John Allison  19th July 1996.
0030 
0031 inline G4VGraphicsSystem* G4VSceneHandler::GetGraphicsSystem () const {
0032   return &fSystem;
0033 }
0034 
0035 inline G4int G4VSceneHandler::GetSceneHandlerId () const {
0036   return fSceneHandlerId;
0037 }
0038 
0039 inline G4int G4VSceneHandler::GetViewCount () const {
0040   return fViewCount;
0041 }
0042 
0043 inline
0044 G4double G4VSceneHandler::GetMarkerDiameter
0045 (const G4VMarker& marker, G4VSceneHandler::MarkerSizeType& sizeType) {
0046   return GetMarkerSize (marker, sizeType);
0047 }
0048 
0049 inline
0050 G4double G4VSceneHandler::GetMarkerRadius
0051 (const G4VMarker& marker, G4VSceneHandler::MarkerSizeType& sizeType) {
0052   return GetMarkerSize (marker, sizeType) / 2.;
0053 }
0054 
0055 inline G4int G4VSceneHandler::IncrementViewCount () {
0056   return fViewCount++;
0057 }
0058 
0059 inline const G4String& G4VSceneHandler::GetName () const {
0060   return fName;
0061 }
0062 
0063 inline void G4VSceneHandler::SetName (const G4String& name) {
0064   fName = name;
0065 }
0066 
0067 inline G4Scene* G4VSceneHandler::GetScene () const {
0068   return fpScene;
0069 }
0070 
0071 inline const G4ViewerList& G4VSceneHandler::GetViewerList () const {
0072   return fViewerList;
0073 }
0074 
0075 inline G4VModel* G4VSceneHandler::GetModel () const {
0076   return fpModel;
0077 }
0078 
0079 inline G4VViewer* G4VSceneHandler::GetCurrentViewer () const {
0080   return fpViewer;
0081 }
0082 
0083 inline G4bool G4VSceneHandler::GetMarkForClearingTransientStore () const {
0084   return fMarkForClearingTransientStore;
0085 }
0086 
0087 inline G4bool G4VSceneHandler::IsReadyForTransients () const {
0088   return fReadyForTransients;
0089 }
0090 
0091 inline G4bool G4VSceneHandler::GetTransientsDrawnThisEvent () const {
0092   return fTransientsDrawnThisEvent;
0093 }
0094 
0095 inline G4bool G4VSceneHandler::GetTransientsDrawnThisRun () const {
0096   return fTransientsDrawnThisRun;
0097 }
0098 
0099 inline const G4Transform3D& G4VSceneHandler::GetObjectTransformation () const {
0100   return fObjectTransformation;
0101 }
0102 
0103 inline void G4VSceneHandler::SetCurrentViewer (G4VViewer* pViewer) {
0104   fpViewer = pViewer;
0105 }
0106 
0107 inline G4ViewerList& G4VSceneHandler::SetViewerList () {
0108   return fViewerList;
0109 }
0110 
0111 inline void
0112 G4VSceneHandler::SetModel (G4VModel* pModel) {
0113   fpModel = pModel;
0114 }
0115 
0116 inline void G4VSceneHandler::SetMarkForClearingTransientStore (G4bool mark) {
0117   fMarkForClearingTransientStore = mark;
0118 }
0119 
0120 inline void G4VSceneHandler::SetTransientsDrawnThisEvent (G4bool drawn) {
0121   fTransientsDrawnThisEvent = drawn;
0122 }
0123 
0124 inline void G4VSceneHandler::SetTransientsDrawnThisRun (G4bool drawn) {
0125   fTransientsDrawnThisRun = drawn;
0126 }
0127 
0128 inline void G4VSceneHandler::SetObjectTransformation (const G4Transform3D& t) {
0129   fObjectTransformation = t;
0130 }
0131 
0132 inline const G4Colour& G4VSceneHandler::GetColor () {
0133   return GetColour ();
0134 }
0135 
0136 inline const G4Colour& G4VSceneHandler::GetColor (const G4Visible& visible) {
0137   return GetColour (visible);
0138 }
0139 
0140 inline const G4Colour& G4VSceneHandler::GetTextColor (const G4Text& text) {
0141   return GetTextColour (text);
0142 }