ROOT
v6-30
Reference Guide
Loading...
Searching...
No Matches
TGeoHypeEditor.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_TGeoHypeEditor
12
#define ROOT_TGeoHypeEditor
13
14
#include "
TGWidget.h
"
15
#include "
TGeoGedFrame.h
"
16
17
class
TGeoHype
;
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
TGeoHypeEditor
:
public
TGeoGedFrame
{
28
29
protected
:
30
Double_t
fRini
;
// Initial inner radius
31
Double_t
fRouti
;
// Initial outer radius
32
Double_t
fDzi
;
// Initial half length Dz
33
Double_t
fStIni
;
// Initial stereo angle for inner surface
34
Double_t
fStOuti
;
// Initial stereo angle for outer surface
35
TString
fNamei
;
// Initial name
36
TGeoHype
*
fShape
;
// Shape object
37
Bool_t
fIsModified
;
// Flag that volume was modified
38
Bool_t
fIsShapeEditable
;
// Flag that the shape can be changed
39
40
TGTextEntry
*
fShapeName
;
// Shape name text entry
41
TGNumberEntry
*
fERin
;
// Number entry for Rin
42
TGNumberEntry
*
fERout
;
// Number entry for Rout
43
TGNumberEntry
*
fEDz
;
// Number entry for Dz
44
TGNumberEntry
*
fEStIn
;
// Number entry for StIn
45
TGNumberEntry
*
fEStOut
;
// Number entry for StOut
46
TGTextButton
*
fApply
;
// Apply-Button to accept changes
47
TGTextButton
*
fUndo
;
// Undo-Button
48
TGCheckButton
*
fDelayed
;
// Check button for delayed draw
49
50
virtual
void
ConnectSignals2Slots
();
// Connect the signals to the slots
51
Bool_t
IsDelayed
()
const
;
52
53
public
:
54
TGeoHypeEditor
(
const
TGWindow
*
p
=
nullptr
,
Int_t
width
= 140,
Int_t
height
= 30,
UInt_t
options =
kChildFrame
,
55
Pixel_t
back =
GetDefaultFrameBackground
());
56
~TGeoHypeEditor
()
override
;
57
void
SetModel
(
TObject
*obj)
override
;
58
59
void
DoRin
();
60
void
DoRout
();
61
void
DoDz
();
62
void
DoStIn
();
63
void
DoStOut
();
64
void
DoModified
();
65
void
DoName
();
66
void
DoApply
();
67
void
DoUndo
();
68
69
ClassDefOverride
(
TGeoHypeEditor
, 0)
// TGeoHype editor
70
};
71
72
#endif
kChildFrame
@ kChildFrame
Definition
GuiTypes.h:379
Pixel_t
ULong_t Pixel_t
Pixel value.
Definition
GuiTypes.h:40
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:341
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
TGeoHypeEditor
Editor for a TGeoHype.
Definition
TGeoHypeEditor.h:27
TGeoHypeEditor::DoUndo
void DoUndo()
Slot for undoing last operation.
Definition
TGeoHypeEditor.cxx:283
TGeoHypeEditor::fShapeName
TGTextEntry * fShapeName
Definition
TGeoHypeEditor.h:40
TGeoHypeEditor::IsDelayed
Bool_t IsDelayed() const
Check if shape drawing is delayed.
Definition
TGeoHypeEditor.cxx:212
TGeoHypeEditor::ConnectSignals2Slots
virtual void ConnectSignals2Slots()
Connect signals to slots.
Definition
TGeoHypeEditor.cxx:156
TGeoHypeEditor::fShape
TGeoHype * fShape
Definition
TGeoHypeEditor.h:36
TGeoHypeEditor::fStIni
Double_t fStIni
Definition
TGeoHypeEditor.h:33
TGeoHypeEditor::fStOuti
Double_t fStOuti
Definition
TGeoHypeEditor.h:34
TGeoHypeEditor::fDelayed
TGCheckButton * fDelayed
Definition
TGeoHypeEditor.h:48
TGeoHypeEditor::fEStIn
TGNumberEntry * fEStIn
Definition
TGeoHypeEditor.h:44
TGeoHypeEditor::DoRin
void DoRin()
Slot for Rin.
Definition
TGeoHypeEditor.cxx:298
TGeoHypeEditor::fUndo
TGTextButton * fUndo
Definition
TGeoHypeEditor.h:47
TGeoHypeEditor::DoRout
void DoRout()
Slot for Rout.
Definition
TGeoHypeEditor.cxx:325
TGeoHypeEditor::DoModified
void DoModified()
Slot for notifying modifications.
Definition
TGeoHypeEditor.cxx:275
TGeoHypeEditor::fEStOut
TGNumberEntry * fEStOut
Definition
TGeoHypeEditor.h:45
TGeoHypeEditor::fRouti
Double_t fRouti
Definition
TGeoHypeEditor.h:31
TGeoHypeEditor::DoStOut
void DoStOut()
Slot for StOut.
Definition
TGeoHypeEditor.cxx:405
TGeoHypeEditor::SetModel
void SetModel(TObject *obj) override
Connect to the selected object.
Definition
TGeoHypeEditor.cxx:177
TGeoHypeEditor::fApply
TGTextButton * fApply
Definition
TGeoHypeEditor.h:46
TGeoHypeEditor::fERout
TGNumberEntry * fERout
Definition
TGeoHypeEditor.h:42
TGeoHypeEditor::DoName
void DoName()
Slot for name.
Definition
TGeoHypeEditor.cxx:220
TGeoHypeEditor::fEDz
TGNumberEntry * fEDz
Definition
TGeoHypeEditor.h:43
TGeoHypeEditor::DoDz
void DoDz()
Slot for Z.
Definition
TGeoHypeEditor.cxx:348
TGeoHypeEditor::DoStIn
void DoStIn()
Slot for StIn.
Definition
TGeoHypeEditor.cxx:378
TGeoHypeEditor::fDzi
Double_t fDzi
Definition
TGeoHypeEditor.h:32
TGeoHypeEditor::fIsShapeEditable
Bool_t fIsShapeEditable
Definition
TGeoHypeEditor.h:38
TGeoHypeEditor::fNamei
TString fNamei
Definition
TGeoHypeEditor.h:35
TGeoHypeEditor::DoApply
void DoApply()
Slot for applying current settings.
Definition
TGeoHypeEditor.cxx:228
TGeoHypeEditor::fERin
TGNumberEntry * fERin
Definition
TGeoHypeEditor.h:41
TGeoHypeEditor::fRini
Double_t fRini
Definition
TGeoHypeEditor.h:30
TGeoHypeEditor::fIsModified
Bool_t fIsModified
Definition
TGeoHypeEditor.h:37
TGeoHypeEditor::~TGeoHypeEditor
~TGeoHypeEditor() override
Destructor.
Definition
TGeoHypeEditor.cxx:142
TGeoHype
A hyperboloid is represented as a solid limited by two planes perpendicular to the Z axis (top and bo...
Definition
TGeoHype.h:17
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
TGeoHypeEditor.h
ROOT v6-30 - Reference Guide Generated on Tue Oct 29 2024 12:54:50 (GVA Time) using Doxygen 1.9.8