Files
geant4/source/visualization/management/include/G4VisCommandsSceneAdd.hh
T
2016-06-08 15:55:53 +02:00

74 lines
2.3 KiB
C++

// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VisCommandsSceneAdd.hh,v 1.5 2000/05/19 09:17:42 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// /vis/scene commands - John Allison 9th August 1998
#ifndef G4VISCOMMANDSSCENEADD_HH
#define G4VISCOMMANDSSCENEADD_HH
#include "G4VisCommandsScene.hh"
class G4VisCommandSceneAddGhosts: public G4VVisCommandScene {
public:
// Uses compiler defaults for copy constructor and assignment.
G4VisCommandSceneAddGhosts ();
~G4VisCommandSceneAddGhosts ();
G4String GetCurrentValue (G4UIcommand* command);
void SetNewValue (G4UIcommand* command, G4String newValue);
private:
G4UIcmdWithAString* fpCommand;
};
class G4VisCommandSceneAddHits: public G4VVisCommandScene {
public:
// Uses compiler defaults for copy constructor and assignment.
G4VisCommandSceneAddHits ();
~G4VisCommandSceneAddHits ();
G4String GetCurrentValue (G4UIcommand* command);
void SetNewValue (G4UIcommand* command, G4String newValue);
private:
G4UIcmdWithoutParameter* fpCommand;
};
class G4VisCommandSceneAddLogicalVolume: public G4VVisCommandScene {
public:
// Uses compiler defaults for copy constructor and assignment.
G4VisCommandSceneAddLogicalVolume ();
~G4VisCommandSceneAddLogicalVolume ();
G4String GetCurrentValue (G4UIcommand* command);
void SetNewValue (G4UIcommand* command, G4String newValue);
private:
G4UIcommand* fpCommand;
};
class G4VisCommandSceneAddTrajectories: public G4VVisCommandScene {
public:
// Uses compiler defaults for copy constructor and assignment.
G4VisCommandSceneAddTrajectories ();
~G4VisCommandSceneAddTrajectories ();
G4String GetCurrentValue (G4UIcommand* command);
void SetNewValue (G4UIcommand* command, G4String newValue);
private:
G4UIcmdWithoutParameter* fpCommand;
};
class G4VisCommandSceneAddVolume: public G4VVisCommandScene {
public:
// Uses compiler defaults for copy constructor and assignment.
G4VisCommandSceneAddVolume ();
~G4VisCommandSceneAddVolume ();
G4String GetCurrentValue (G4UIcommand* command);
void SetNewValue (G4UIcommand* command, G4String newValue);
private:
G4UIcommand* fpCommand;
};
#endif