Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
source
visualization
management
include
G4VisCommandsScene.hh
Go to the documentation of this file.
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
26
//
27
// $Id$
28
29
// /vis/scene commands - John Allison 9th August 1998
30
31
#ifndef G4VISCOMMANDSSCENE_HH
32
#define G4VISCOMMANDSSCENE_HH
33
34
#include "
G4VVisCommand.hh
"
35
36
class
G4UIcommand
;
37
class
G4UIcmdWithAString
;
38
class
G4UIcmdWithoutParameter
;
39
40
class
G4VVisCommandScene
:
public
G4VVisCommand
{
41
public
:
42
G4VVisCommandScene
();
43
virtual
~G4VVisCommandScene
();
44
protected
:
45
G4String
CurrentSceneName
();
46
private
:
47
G4VVisCommandScene
(
const
G4VVisCommandScene
&);
48
G4VVisCommandScene
& operator = (
const
G4VVisCommandScene
&);
49
};
50
51
class
G4VisCommandSceneActivateModel
:
public
G4VVisCommandScene
{
52
public
:
53
G4VisCommandSceneActivateModel
();
54
virtual
~G4VisCommandSceneActivateModel
();
55
G4String
GetCurrentValue
(
G4UIcommand
* command);
56
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
57
private
:
58
G4VisCommandSceneActivateModel
(
const
G4VisCommandSceneActivateModel
&);
59
G4VisCommandSceneActivateModel
&
operator
=
60
(
const
G4VisCommandSceneActivateModel
&);
61
G4UIcommand
* fpCommand;
62
};
63
64
class
G4VisCommandSceneCreate
:
public
G4VVisCommandScene
{
65
public
:
66
G4VisCommandSceneCreate
();
67
virtual
~G4VisCommandSceneCreate
();
68
G4String
GetCurrentValue
(
G4UIcommand
* command);
69
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
70
private
:
71
G4VisCommandSceneCreate
(
const
G4VisCommandSceneCreate
&);
72
G4VisCommandSceneCreate
& operator = (
const
G4VisCommandSceneCreate
&);
73
G4String
NextName ();
74
G4UIcmdWithAString
* fpCommand;
75
G4int
fId;
76
};
77
78
class
G4VisCommandSceneEndOfEventAction
:
public
G4VVisCommandScene
{
79
public
:
80
G4VisCommandSceneEndOfEventAction
();
81
virtual
~G4VisCommandSceneEndOfEventAction
();
82
G4String
GetCurrentValue
(
G4UIcommand
* command);
83
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
84
private
:
85
G4VisCommandSceneEndOfEventAction
(
const
G4VisCommandSceneEndOfEventAction
&);
86
G4VisCommandSceneEndOfEventAction
&
operator
=
87
(
const
G4VisCommandSceneEndOfEventAction
&);
88
G4UIcommand
* fpCommand;
89
};
90
91
class
G4VisCommandSceneEndOfRunAction
:
public
G4VVisCommandScene
{
92
public
:
93
G4VisCommandSceneEndOfRunAction
();
94
virtual
~G4VisCommandSceneEndOfRunAction
();
95
G4String
GetCurrentValue
(
G4UIcommand
* command);
96
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
97
private
:
98
G4VisCommandSceneEndOfRunAction
(
const
G4VisCommandSceneEndOfRunAction
&);
99
G4VisCommandSceneEndOfRunAction
&
operator
=
100
(
const
G4VisCommandSceneEndOfRunAction
&);
101
G4UIcmdWithAString
* fpCommand;
102
};
103
104
class
G4VisCommandSceneList
:
public
G4VVisCommandScene
{
105
public
:
106
G4VisCommandSceneList
();
107
virtual
~G4VisCommandSceneList
();
108
G4String
GetCurrentValue
(
G4UIcommand
* command);
109
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
110
private
:
111
G4VisCommandSceneList
(
const
G4VisCommandSceneList
&);
112
G4VisCommandSceneList
& operator = (
const
G4VisCommandSceneList
&);
113
G4UIcommand
* fpCommand;
114
};
115
116
class
G4VisCommandSceneNotifyHandlers
:
public
G4VVisCommandScene
{
117
public
:
118
G4VisCommandSceneNotifyHandlers
();
119
virtual
~G4VisCommandSceneNotifyHandlers
();
120
G4String
GetCurrentValue
(
G4UIcommand
* command);
121
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
122
private
:
123
G4VisCommandSceneNotifyHandlers
(
const
G4VisCommandSceneNotifyHandlers
&);
124
G4VisCommandSceneNotifyHandlers
&
operator
=
125
(
const
G4VisCommandSceneNotifyHandlers
&);
126
G4UIcommand
* fpCommand;
127
};
128
129
class
G4VisCommandSceneSelect
:
public
G4VVisCommandScene
{
130
public
:
131
G4VisCommandSceneSelect
();
132
virtual
~G4VisCommandSceneSelect
();
133
G4String
GetCurrentValue
(
G4UIcommand
* command);
134
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
135
private
:
136
G4VisCommandSceneSelect
(
const
G4VisCommandSceneSelect
&);
137
G4VisCommandSceneSelect
& operator = (
const
G4VisCommandSceneSelect
&);
138
G4UIcmdWithAString
* fpCommand;
139
};
140
141
#endif
Generated on Sat May 25 2013 14:34:15 for Geant4 by
1.8.4