Import Geant4 11.4.0.beta source tree
This commit is contained in:
@@ -23,41 +23,52 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// class G4GeometryMessenger
|
||||
// G4GeometryMessenger
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
// A messenger defining commands for debugging, verifying
|
||||
// and controlling the detector geometry and navigation.
|
||||
|
||||
// Author: G.Cosmo, CERN.
|
||||
// Author: Gabriele Cosmo (CERN), 24 October 2001.
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef G4GeometryMessenger_hh
|
||||
#define G4GeometryMessenger_hh
|
||||
#define G4GeometryMessenger_hh 1
|
||||
|
||||
#include "G4Types.hh"
|
||||
#include "G4UImessenger.hh"
|
||||
#include "G4ThreeVector.hh"
|
||||
|
||||
#include <vector>
|
||||
|
||||
class G4UIdirectory;
|
||||
class G4UIcommand;
|
||||
class G4UIcmdWithoutParameter;
|
||||
class G4UIcmdWithABool;
|
||||
class G4UIcmdWithAnInteger;
|
||||
class G4UIcmdWithADoubleAndUnit;
|
||||
class G4UIcmdWithAString;
|
||||
class G4TransportationManager;
|
||||
class G4GeomTestVolume;
|
||||
|
||||
#include <vector>
|
||||
/**
|
||||
* @brief G4GeometryMessenger is a messenger defining commands for debugging,
|
||||
* verifying and controlling the detector geometry and navigation.
|
||||
*/
|
||||
|
||||
class G4GeometryMessenger : public G4UImessenger
|
||||
{
|
||||
public: // with description
|
||||
public:
|
||||
|
||||
/**
|
||||
* Constructor and Destructor.
|
||||
*/
|
||||
G4GeometryMessenger(G4TransportationManager* tman);
|
||||
~G4GeometryMessenger() override;
|
||||
// Constructor and destructor
|
||||
|
||||
/**
|
||||
* Sets/gets values for UI command.
|
||||
*/
|
||||
void SetNewValue( G4UIcommand* command, G4String newValues ) override;
|
||||
G4String GetCurrentValue( G4UIcommand* command ) override;
|
||||
|
||||
@@ -70,10 +81,18 @@ class G4GeometryMessenger : public G4UImessenger
|
||||
void SetCheckMode(const G4String& newValue);
|
||||
void SetPushFlag(const G4String& newValue);
|
||||
void RecursiveOverlapTest();
|
||||
void TreeOverlapTest();
|
||||
|
||||
struct OverlapMode
|
||||
{
|
||||
inline static const G4String placed = "placed";
|
||||
inline static const G4String logical = "logical";
|
||||
};
|
||||
|
||||
G4UIdirectory *geodir, *navdir, *testdir;
|
||||
G4UIcmdWithABool *chkCmd, *pchkCmd, *verCmd, *parCmd;
|
||||
G4UIcmdWithoutParameter *recCmd, *resCmd;
|
||||
G4UIcmdWithoutParameter *resCmd;
|
||||
G4UIcmdWithAString *recCmd;
|
||||
G4UIcmdWithADoubleAndUnit *tolCmd;
|
||||
G4UIcmdWithAnInteger *verbCmd, *rslCmd, *rcsCmd, *rcdCmd, *errCmd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user