Files
geant4/source/visualization/management/include/G4VisManMessenger.hh
T
2016-06-08 15:28:20 +02:00

63 lines
2.4 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: G4VisManMessenger.hh,v 1.3.2.1 1999/12/07 20:53:57 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
#ifndef G4VISMANMESSENGER_HH
#define G4VISMANMESSENGER_HH
#include "G4UImessenger.hh"
#include "globals.hh"
#include "g4rw/tpordvec.h"
class G4VisManager;
class G4UIcommand;
class G4VisManMessenger: public G4UImessenger {
public:
G4VisManMessenger (G4VisManager* pVMan);
~G4VisManMessenger ();
void SetNewValue (G4UIcommand* command, G4String newValues);
G4String GetCurrentValue (G4UIcommand* command);
private:
void AddCommandCamera ();
// void AddCommandClear ();
// void AddCommandCopy ();
// void AddCommandCreateScene ();
void AddCommandCreateView ();
void AddCommandDraw ();
void AddCommandLights ();
// void AddCommandPrint ();
// void AddCommandRefresh ();
void AddCommandSet ();
// void AddCommandShow ();
void AddCommandExpert ();
void DoCommandCamera (const G4String& commandPath, G4String& newValues);
// void DoCommandClear (const G4String& commandPath, G4String& newValues);
// void DoCommandCopy (const G4String& commandPath, G4String& newValues);
// void DoCommandCreateScene (const G4String& commandPath, G4String& newValues);
void DoCommandCreateView (const G4String& commandPath, G4String& newValues);
void DoCommandDraw (const G4String& commandPath, G4String& newValues);
void DoCommandLights (const G4String& commandPath, G4String& newValues);
// void DoCommandPrint (const G4String& commandPath, G4String& newValues);
// void DoCommandRefresh (const G4String& commandPath, G4String& newValues);
void DoCommandSet (const G4String& commandPath, G4String& newValues);
// void DoCommandShow (const G4String& commandPath, G4String& newValues);
void DoCommandExpert (const G4String& commandPath, G4String& newValues);
G4bool ViewValid ();
void RotateViewpointAboutUpVectorBy (G4double dbeta);
G4VisManager* fpVMan;
G4RWTPtrOrderedVector <G4UIcommand> fCommandList;
};
#endif