ROOT
v6-28
Reference Guide
Loading...
Searching...
No Matches
TGeoParaEditor.h
Go to the documentation of this file.
1
// @(#):$Id$
2
// Author: M.Gheata
3
/*************************************************************************
4
* Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#ifndef ROOT_TGeoParaEditor
12
#define ROOT_TGeoParaEditor
13
14
#include "
TGWidget.h
"
15
#include "
TGeoGedFrame.h
"
16
17
class
TGeoPara
;
18
class
TGeoTabManager
;
19
class
TGTextEntry
;
20
class
TGNumberEntry
;
21
class
TGTab
;
22
class
TGComboBox
;
23
class
TGTextButton
;
24
class
TGCheckButton
;
25
class
TString
;
26
27
class
TGeoParaEditor
:
public
TGeoGedFrame
{
28
29
protected
:
30
31
Double_t
fXi
;
// Initial X
32
Double_t
fYi
;
// Initial Y
33
Double_t
fZi
;
// Initial Z
34
Double_t
fAlphai
;
// Initial alpha
35
Double_t
fThetai
;
// Initial theta
36
Double_t
fPhii
;
// Initial phi
37
TString
fNamei
;
// Initial name
38
TGeoPara
*
fShape
;
// Shape object
39
Bool_t
fIsModified
;
// Flag that volume was modified
40
Bool_t
fIsShapeEditable
;
// Flag that the shape can be changed
41
42
TGTextEntry
*
fShapeName
;
// Shape name text entry
43
TGNumberEntry
*
fEDx
;
// Number entry for DX2
44
TGNumberEntry
*
fEDy
;
// Number entry for DY
45
TGNumberEntry
*
fEDz
;
// Number entry for DZ
46
TGNumberEntry
*
fEAlpha
;
// Number entry for Alpha
47
TGNumberEntry
*
fETheta
;
// Number entry for Theta
48
TGNumberEntry
*
fEPhi
;
// Number entry for Theta
49
TGTextButton
*
fApply
;
// Apply-Button to accept changes
50
TGTextButton
*
fUndo
;
// Undo-Button
51
TGCheckButton
*
fDelayed
;
// Check button for delayed draw
52
53
virtual
void
ConnectSignals2Slots
();
// Connect the signals to the slots
54
Bool_t
IsDelayed
()
const
;
55
56
public
:
57
TGeoParaEditor
(
const
TGWindow
*
p
=
nullptr
,
58
Int_t
width
= 140,
Int_t
height
= 30,
59
UInt_t
options =
kChildFrame
,
60
Pixel_t
back =
GetDefaultFrameBackground
());
61
virtual
~TGeoParaEditor
();
62
virtual
void
SetModel
(
TObject
*obj);
63
64
void
DoX
();
65
void
DoY
();
66
void
DoZ
();
67
void
DoAlpha
();
68
void
DoTheta
();
69
void
DoPhi
();
70
void
DoModified
();
71
void
DoName
();
72
void
DoApply
();
73
void
DoUndo
();
74
75
ClassDef
(
TGeoParaEditor
,0)
// TGeoPara editor
76
};
77
78
#endif
kChildFrame
@ kChildFrame
Definition
GuiTypes.h:379
Pixel_t
ULong_t Pixel_t
Pixel value.
Definition
GuiTypes.h:40
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:337
TGWidget.h
p
winID h TVirtualViewer3D TVirtualGLPainter p
Definition
TGWin32VirtualGLProxy.cxx:51
width
Option_t Option_t width
Definition
TGWin32VirtualXProxy.cxx:56
height
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Definition
TGWin32VirtualXProxy.cxx:164
TGeoGedFrame.h
TGCheckButton
Selects different options.
Definition
TGButton.h:264
TGComboBox
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
Definition
TGComboBox.h:47
TGFrame::GetDefaultFrameBackground
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition
TGFrame.cxx:683
TGNumberEntry
TGNumberEntry is a number entry input widget with up/down buttons.
Definition
TGNumberEntry.h:147
TGTab
A tab widget contains a set of composite frames each with a little tab with a name (like a set of fol...
Definition
TGTab.h:46
TGTextButton
Yield an action as soon as it is clicked.
Definition
TGButton.h:142
TGTextEntry
A TGTextEntry is a one line text input widget.
Definition
TGTextEntry.h:24
TGWindow
ROOT GUI Window base class.
Definition
TGWindow.h:23
TGeoGedFrame
Common base class for geombuilder editors.
Definition
TGeoGedFrame.h:13
TGeoParaEditor
Editor for a TGeoPara.
Definition
TGeoParaEditor.h:27
TGeoParaEditor::fZi
Double_t fZi
Definition
TGeoParaEditor.h:33
TGeoParaEditor::DoName
void DoName()
Slot for name.
Definition
TGeoParaEditor.cxx:238
TGeoParaEditor::DoX
void DoX()
Slot for X.
Definition
TGeoParaEditor.cxx:309
TGeoParaEditor::fIsModified
Bool_t fIsModified
Definition
TGeoParaEditor.h:39
TGeoParaEditor::~TGeoParaEditor
virtual ~TGeoParaEditor()
Destructor.
Definition
TGeoParaEditor.cxx:157
TGeoParaEditor::fETheta
TGNumberEntry * fETheta
Definition
TGeoParaEditor.h:47
TGeoParaEditor::fEDy
TGNumberEntry * fEDy
Definition
TGeoParaEditor.h:44
TGeoParaEditor::DoPhi
void DoPhi()
Slot for phi.
Definition
TGeoParaEditor.cxx:383
TGeoParaEditor::fEPhi
TGNumberEntry * fEPhi
Definition
TGeoParaEditor.h:48
TGeoParaEditor::fShapeName
TGTextEntry * fShapeName
Definition
TGeoParaEditor.h:42
TGeoParaEditor::IsDelayed
Bool_t IsDelayed() const
Check if shape drawing is delayed.
Definition
TGeoParaEditor.cxx:230
TGeoParaEditor::fApply
TGTextButton * fApply
Definition
TGeoParaEditor.h:49
TGeoParaEditor::fDelayed
TGCheckButton * fDelayed
Definition
TGeoParaEditor.h:51
TGeoParaEditor::fXi
Double_t fXi
Definition
TGeoParaEditor.h:31
TGeoParaEditor::fEDz
TGNumberEntry * fEDz
Definition
TGeoParaEditor.h:45
TGeoParaEditor::DoZ
void DoZ()
Slot for Z.
Definition
TGeoParaEditor.cxx:337
TGeoParaEditor::fNamei
TString fNamei
Definition
TGeoParaEditor.h:37
TGeoParaEditor::SetModel
virtual void SetModel(TObject *obj)
Connect to the selected object.
Definition
TGeoParaEditor.cxx:195
TGeoParaEditor::DoAlpha
void DoAlpha()
Slot for alpha.
Definition
TGeoParaEditor.cxx:351
TGeoParaEditor::fEDx
TGNumberEntry * fEDx
Definition
TGeoParaEditor.h:43
TGeoParaEditor::DoUndo
void DoUndo()
Slot for undoing last operation.
Definition
TGeoParaEditor.cxx:293
TGeoParaEditor::fPhii
Double_t fPhii
Definition
TGeoParaEditor.h:36
TGeoParaEditor::fShape
TGeoPara * fShape
Definition
TGeoParaEditor.h:38
TGeoParaEditor::DoY
void DoY()
Slot for Y.
Definition
TGeoParaEditor.cxx:323
TGeoParaEditor::fYi
Double_t fYi
Definition
TGeoParaEditor.h:32
TGeoParaEditor::DoModified
void DoModified()
Slot for notifying modifications.
Definition
TGeoParaEditor.cxx:285
TGeoParaEditor::fAlphai
Double_t fAlphai
Definition
TGeoParaEditor.h:34
TGeoParaEditor::fIsShapeEditable
Bool_t fIsShapeEditable
Definition
TGeoParaEditor.h:40
TGeoParaEditor::DoTheta
void DoTheta()
Slot for theta.
Definition
TGeoParaEditor.cxx:365
TGeoParaEditor::fThetai
Double_t fThetai
Definition
TGeoParaEditor.h:35
TGeoParaEditor::fEAlpha
TGNumberEntry * fEAlpha
Definition
TGeoParaEditor.h:46
TGeoParaEditor::DoApply
void DoApply()
Slot for applying current settings.
Definition
TGeoParaEditor.cxx:246
TGeoParaEditor::fUndo
TGTextButton * fUndo
Definition
TGeoParaEditor.h:50
TGeoParaEditor::ConnectSignals2Slots
virtual void ConnectSignals2Slots()
Connect signals to slots.
Definition
TGeoParaEditor.cxx:171
TGeoPara
Parallelepiped class.
Definition
TGeoPara.h:18
TGeoTabManager
Manager for all editor tabs.
Definition
TGeoTabManager.h:42
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
TString
Basic string class.
Definition
TString.h:139
bool
double
int
unsigned int
geom
geombuilder
inc
TGeoParaEditor.h
ROOT v6-28 - Reference Guide Generated on Thu Oct 24 2024 01:49:08 (GVA Time) using Doxygen 1.9.8