Import Geant4 11.2.0.beta source tree
This commit is contained in:
@@ -36,38 +36,35 @@
|
||||
#ifndef G4UIcmdWith3Vector_hh
|
||||
#define G4UIcmdWith3Vector_hh 1
|
||||
|
||||
#include "G4UIcommand.hh"
|
||||
#include "G4ThreeVector.hh"
|
||||
#include "G4UIcommand.hh"
|
||||
|
||||
class G4UIcmdWith3Vector : public G4UIcommand
|
||||
{
|
||||
public:
|
||||
|
||||
// Constructor. The command string with full path directory
|
||||
// and the pointer to the messenger must be given
|
||||
G4UIcmdWith3Vector(const char* theCommandPath, G4UImessenger* theMessenger);
|
||||
// Constructor. The command string with full path directory
|
||||
// and the pointer to the messenger must be given
|
||||
|
||||
static G4ThreeVector GetNew3VectorValue(const char* paramString);
|
||||
// Convert string which represents three double values to
|
||||
// G4ThreeVector
|
||||
// Set the parameter names for three parameters. Names are used by
|
||||
// the range checking function.
|
||||
// If "omittable" is set as true, the user of this command can omit
|
||||
// the value(s) when the command is applied. If "omittable" is false,
|
||||
// the user must supply all three values.
|
||||
// "currentAsDefault" flag is valid only if "omittable" is true. If this
|
||||
// flag is true, the current values are used as the default values when
|
||||
// the user omits some of the parameters. If this flag is false, the
|
||||
// values given by the next SetDefaultValue() method are used
|
||||
void SetParameterName(const char* theNameX, const char* theNameY, const char* theNameZ,
|
||||
G4bool omittable, G4bool currentAsDefault = false);
|
||||
|
||||
void SetParameterName(const char* theNameX, const char* theNameY,
|
||||
const char* theNameZ, G4bool omittable,
|
||||
G4bool currentAsDefault = false);
|
||||
// Set the parameter names for three parameters. Names are used by
|
||||
// the range checking function.
|
||||
// If "omittable" is set as true, the user of this command can omit
|
||||
// the value(s) when the command is applied. If "omittable" is false,
|
||||
// the user must supply all three values.
|
||||
// "currentAsDefault" flag is valid only if "omittable" is true. If this
|
||||
// flag is true, the current values are used as the default values when
|
||||
// the user omits some of the parameters. If this flag is false, the
|
||||
// values given by the next SetDefaultValue() method are used
|
||||
|
||||
void SetDefaultValue(const G4ThreeVector& defVal);
|
||||
// Set the default values of the parameters. These default values are
|
||||
// used when the user of this command omits some of the parameter values,
|
||||
// and "omittable" is true and "currentAsDefault" is false
|
||||
void SetDefaultValue(const G4ThreeVector& defVal);
|
||||
|
||||
// Convert string which represents three double values to G4ThreeVector
|
||||
static G4ThreeVector GetNew3VectorValue(const char* paramString);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user