ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
TGeoEltuEditor.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_TGeoEltuEditor
12
#define ROOT_TGeoEltuEditor
13
14
#include "
TGWidget.h
"
15
#include "
TGeoGedFrame.h
"
16
17
class
TGeoEltu
;
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
TGeoEltuEditor
:
public
TGeoGedFrame
{
28
29
protected
:
30
Double_t
fAi
;
// Initial semi-axis of the ellipse along x
31
Double_t
fBi
;
// Initial semi-axis of the ellipse along y
32
Double_t
fDzi
;
// Initial half length in z
33
TString
fNamei
;
// Initial name
34
TGeoEltu
*
fShape
;
// Shape object
35
Bool_t
fIsModified
;
// Flag that volume was modified
36
Bool_t
fIsShapeEditable
;
// Flag that the shape can be changed
37
38
TGTextEntry
*
fShapeName
;
// Shape name text entry
39
TGNumberEntry
*
fEA
;
// Number entry for A
40
TGNumberEntry
*
fEB
;
// Number entry for B
41
TGNumberEntry
*
fEDz
;
// Number entry for DZ
42
TGTextButton
*
fApply
;
// Apply-Button to accept changes
43
TGTextButton
*
fUndo
;
// Undo-Button
44
TGCheckButton
*
fDelayed
;
// Check button for delayed draw
45
46
virtual
void
ConnectSignals2Slots
();
// Connect the signals to the slots
47
Bool_t
IsDelayed
()
const
;
48
49
public
:
50
TGeoEltuEditor
(
const
TGWindow
*
p
=
nullptr
,
Int_t
width
= 140,
Int_t
height
= 30,
UInt_t
options =
kChildFrame
,
51
Pixel_t
back =
GetDefaultFrameBackground
());
52
~TGeoEltuEditor
()
override
;
53
void
SetModel
(
TObject
*obj)
override
;
54
55
void
DoA
();
56
void
DoB
();
57
void
DoDz
();
58
void
DoModified
();
59
void
DoName
();
60
void
DoApply
();
61
void
DoUndo
();
62
63
ClassDefOverride
(
TGeoEltuEditor
, 0)
// TGeoEltu editor
64
};
65
66
#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:148
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
TGeoEltuEditor
Editor for a TGeoEltu.
Definition
TGeoEltuEditor.h:27
TGeoEltuEditor::fApply
TGTextButton * fApply
Definition
TGeoEltuEditor.h:42
TGeoEltuEditor::fDzi
Double_t fDzi
Definition
TGeoEltuEditor.h:32
TGeoEltuEditor::~TGeoEltuEditor
~TGeoEltuEditor() override
Destructor.
Definition
TGeoEltuEditor.cxx:118
TGeoEltuEditor::fAi
Double_t fAi
Definition
TGeoEltuEditor.h:30
TGeoEltuEditor::fIsShapeEditable
Bool_t fIsShapeEditable
Definition
TGeoEltuEditor.h:36
TGeoEltuEditor::fUndo
TGTextButton * fUndo
Definition
TGeoEltuEditor.h:43
TGeoEltuEditor::fEDz
TGNumberEntry * fEDz
Definition
TGeoEltuEditor.h:41
TGeoEltuEditor::DoB
void DoB()
Slot for B.
Definition
TGeoEltuEditor.cxx:267
TGeoEltuEditor::fShapeName
TGTextEntry * fShapeName
Definition
TGeoEltuEditor.h:38
TGeoEltuEditor::fNamei
TString fNamei
Definition
TGeoEltuEditor.h:33
TGeoEltuEditor::fShape
TGeoEltu * fShape
Definition
TGeoEltuEditor.h:34
TGeoEltuEditor::fDelayed
TGCheckButton * fDelayed
Definition
TGeoEltuEditor.h:44
TGeoEltuEditor::SetModel
void SetModel(TObject *obj) override
Connect to the selected object.
Definition
TGeoEltuEditor.cxx:149
TGeoEltuEditor::DoDz
void DoDz()
Slot for Z.
Definition
TGeoEltuEditor.cxx:282
TGeoEltuEditor::fBi
Double_t fBi
Definition
TGeoEltuEditor.h:31
TGeoEltuEditor::DoApply
void DoApply()
Slot for applying current settings.
Definition
TGeoEltuEditor.cxx:196
TGeoEltuEditor::fEA
TGNumberEntry * fEA
Definition
TGeoEltuEditor.h:39
TGeoEltuEditor::DoName
void DoName()
Slot for name.
Definition
TGeoEltuEditor.cxx:180
TGeoEltuEditor::fIsModified
Bool_t fIsModified
Definition
TGeoEltuEditor.h:35
TGeoEltuEditor::ConnectSignals2Slots
virtual void ConnectSignals2Slots()
Connect signals to slots.
Definition
TGeoEltuEditor.cxx:132
TGeoEltuEditor::DoUndo
void DoUndo()
Slot for undoing last operation.
Definition
TGeoEltuEditor.cxx:239
TGeoEltuEditor::fEB
TGNumberEntry * fEB
Definition
TGeoEltuEditor.h:40
TGeoEltuEditor::DoModified
void DoModified()
Slot for notifying modifications.
Definition
TGeoEltuEditor.cxx:231
TGeoEltuEditor::IsDelayed
Bool_t IsDelayed() const
Check if shape drawing is delayed.
Definition
TGeoEltuEditor.cxx:188
TGeoEltuEditor::DoA
void DoA()
Slot for A.
Definition
TGeoEltuEditor.cxx:252
TGeoEltu
An elliptical tube is defined by the two semi-axes A and B.
Definition
TGeoEltu.h:17
TGeoGedFrame
Common base class for geombuilder editors.
Definition
TGeoGedFrame.h:13
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
TGeoEltuEditor.h
ROOT v6-32 - Reference Guide Generated on Thu Dec 12 2024 15:05:35 (GVA Time) using Doxygen 1.9.8