Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
/// \brief Implementation of the PerspectiveVisActionMessenger class
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: PerspectiveVisActionMessenger.cc 69587 2013-05-08 14:26:03Z gcosmo $
|
||||
|
||||
#include "PerspectiveVisActionMessenger.hh"
|
||||
|
||||
@@ -38,9 +38,15 @@
|
||||
#include "G4UIdirectory.hh"
|
||||
#include "G4UIcmdWithAString.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
PerspectiveVisActionMessenger::PerspectiveVisActionMessenger
|
||||
(PerspectiveVisAction* PVA):
|
||||
fPVA(PVA)
|
||||
G4UImessenger(),
|
||||
fPVA(PVA),
|
||||
fpDirectory(0),
|
||||
fpCommandOS(0),
|
||||
fpCommandScene(0)
|
||||
{
|
||||
G4bool omitable;
|
||||
|
||||
@@ -63,6 +69,8 @@ PerspectiveVisActionMessenger::PerspectiveVisActionMessenger
|
||||
fpCommandScene -> SetCandidates("room-and-chair");
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
PerspectiveVisActionMessenger::~PerspectiveVisActionMessenger ()
|
||||
{
|
||||
delete fpCommandScene;
|
||||
@@ -70,6 +78,8 @@ PerspectiveVisActionMessenger::~PerspectiveVisActionMessenger ()
|
||||
delete fpDirectory;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void PerspectiveVisActionMessenger::SetNewValue
|
||||
(G4UIcommand* command, G4String newValue)
|
||||
{
|
||||
@@ -85,3 +95,6 @@ void PerspectiveVisActionMessenger::SetNewValue
|
||||
|
||||
G4UImanager::GetUIpointer()->ApplyCommand("/vis/viewer/rebuild");
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
|
||||
Reference in New Issue
Block a user