Files
geant4/source/visualization/management/include/G4VisManager.icc
T
2016-06-09 14:44:26 +02:00

145 lines
4.5 KiB
Plaintext

//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4VisManager.icc,v 1.17 2006/06/29 21:29:08 gunter Exp $
// GEANT4 tag $Name: geant4-08-01 $
//
//
// GEANT4 Visualization Manager - John Allison 02/Jan/1996.
inline void G4VisManager::Initialize () {
Initialise ();
}
inline G4VisExtent G4VisManager::GetUserActionExtent () const {
return fUserVisActionExtent;
}
inline G4VUserVisAction* G4VisManager::GetUserAction () const {
return fpUserVisAction;
}
inline G4VSceneHandler* G4VisManager::GetCurrentSceneHandler () const {
return fpSceneHandler;
}
inline G4VViewer* G4VisManager::GetCurrentViewer () const {
return fpViewer;
}
inline G4Scene* G4VisManager::GetCurrentScene () const {
return fpScene;
}
inline const G4SceneHandlerList&
G4VisManager::GetAvailableSceneHandlers () const {
return fAvailableSceneHandlers;
}
inline const G4SceneList& G4VisManager::GetSceneList () const {
return fSceneList;
}
inline G4VGraphicsSystem*
G4VisManager::GetCurrentGraphicsSystem () const {
return fpGraphicsSystem;
}
inline G4VisManager::Verbosity G4VisManager::GetVerbosity () const {
return fVerbosity;
}
inline void G4VisManager::GetWindowSizeHint
(G4int& xHint, G4int& yHint) const {
xHint = fWindowSizeHintX; yHint = fWindowSizeHintY;
}
inline const G4String& G4VisManager::GetXGeometryString () const {
return fXGeometryString;
}
inline G4int G4VisManager::GetEventCount() const {
return fEventCount;
}
inline const G4String& G4VisManager::GetBeginOfLastRunRandomStatus() const {
return fBeginOfLastRunRandomStatus;
}
inline const G4String& G4VisManager::GetBeginOfLastEventRandomStatus() const {
return fBeginOfLastEventRandomStatus;
}
inline G4int G4VisManager::GetLastRunID() const {
return fLastRunID;
}
inline G4bool G4VisManager::GetTransientsDrawnThisEvent() const {
return fTransientsDrawnThisEvent;
}
inline G4bool G4VisManager::GetTransientsDrawnThisRun() const {
return fTransientsDrawnThisRun;
}
inline void G4VisManager::SetUserActionExtent (const G4VisExtent& extent) {
fUserVisActionExtent = extent;
}
inline G4SceneList& G4VisManager::SetSceneList () {
return fSceneList;
}
inline G4SceneHandlerList& G4VisManager::SetAvailableSceneHandlers () {
return fAvailableSceneHandlers;
}
inline void G4VisManager::SetVerboseLevel (G4VisManager::Verbosity verbosity) {
fVerbosity = verbosity;
}
inline void G4VisManager::SetWindowSizeHint (G4int xHint, G4int yHint) {
fWindowSizeHintX = xHint; fWindowSizeHintY = yHint;
}
inline void G4VisManager::SetXGeometryString (const G4String& geomString) {
fXGeometryString = geomString;
}
inline void G4VisManager::SetReprocessing (G4bool reprocessing) {
fReprocessing = reprocessing;
}
inline void G4VisManager::SetReprocessingLastEvent (G4bool reprocessing) {
fReprocessingLastEvent = reprocessing;
}
inline void G4VisManager::RegisterMessenger(G4UImessenger* msgr)
{
fMessengerList.push_back(msgr);
}