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
G4VisCommandsSet.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: G4VisCommands.hh,v 1.8 2009-03-09 12:42:00 allison Exp $
28
// GEANT4 tag $Name: not supported by cvs2svn $
29
30
// /vis/set - John Allison 21st March 2012
31
// Set quantities for use in appropriate future commands.
32
33
#ifndef G4VISCOMMANDSSET_HH
34
#define G4VISCOMMANDSSET_HH
35
36
#include "
G4VVisCommand.hh
"
37
38
class
G4UIcommand
;
39
class
G4UIcmdWithADouble
;
40
class
G4UIcmdWithAString
;
41
42
class
G4VisCommandSetColour
:
public
G4VVisCommand
{
43
public
:
44
G4VisCommandSetColour
();
45
virtual
~G4VisCommandSetColour
();
46
G4String
GetCurrentValue
(
G4UIcommand
* command);
47
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
48
private
:
49
G4VisCommandSetColour
(
const
G4VisCommandSetColour
&);
50
G4VisCommandSetColour
& operator = (
const
G4VisCommandSetColour
&);
51
G4UIcommand
* fpCommand;
52
};
53
54
class
G4VisCommandSetTextColour
:
public
G4VVisCommand
{
55
public
:
56
G4VisCommandSetTextColour
();
57
virtual
~G4VisCommandSetTextColour
();
58
G4String
GetCurrentValue
(
G4UIcommand
* command);
59
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
60
private
:
61
G4VisCommandSetTextColour
(
const
G4VisCommandSetTextColour
&);
62
G4VisCommandSetTextColour
& operator = (
const
G4VisCommandSetTextColour
&);
63
G4UIcommand
* fpCommand;
64
};
65
66
class
G4VisCommandSetLineWidth
:
public
G4VVisCommand
{
67
public
:
68
G4VisCommandSetLineWidth
();
69
virtual
~G4VisCommandSetLineWidth
();
70
G4String
GetCurrentValue
(
G4UIcommand
* command);
71
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
72
private
:
73
G4VisCommandSetLineWidth
(
const
G4VisCommandSetLineWidth
&);
74
G4VisCommandSetLineWidth
& operator = (
const
G4VisCommandSetLineWidth
&);
75
G4UIcmdWithADouble
* fpCommand;
76
};
77
78
class
G4VisCommandSetTextLayout
:
public
G4VVisCommand
{
79
public
:
80
G4VisCommandSetTextLayout
();
81
virtual
~G4VisCommandSetTextLayout
();
82
G4String
GetCurrentValue
(
G4UIcommand
* command);
83
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
84
private
:
85
G4VisCommandSetTextLayout
(
const
G4VisCommandSetTextLayout
&);
86
G4VisCommandSetTextLayout
& operator = (
const
G4VisCommandSetTextLayout
&);
87
G4UIcmdWithAString
* fpCommand;
88
};
89
90
class
G4VisCommandSetTouchable
:
public
G4VVisCommand
{
91
public
:
92
G4VisCommandSetTouchable
();
93
virtual
~G4VisCommandSetTouchable
();
94
G4String
GetCurrentValue
(
G4UIcommand
* command);
95
void
SetNewValue
(
G4UIcommand
* command,
G4String
newValue);
96
private
:
97
G4VisCommandSetTouchable
(
const
G4VisCommandSetTouchable
&);
98
G4VisCommandSetTouchable
& operator = (
const
G4VisCommandSetTouchable
&);
99
G4UIcommand
* fpCommand;
100
};
101
102
#endif
Generated on Sat May 25 2013 14:34:15 for Geant4 by
1.8.4