ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
TGeoPgonEditor.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_TGeoPgonEditor
12
#define ROOT_TGeoPgonEditor
13
14
#include "
TGWidget.h
"
15
#include "
TGeoPconEditor.h
"
16
17
class
TGNumberEntry
;
18
class
TGTab
;
19
20
class
TGeoPgonEditor
:
public
TGeoPconEditor
{
21
22
protected
:
23
Int_t
fNedgesi
;
// Initial number of edges
24
TGNumberEntry
*
fENedges
;
// Number entry for nsections
25
26
void
CreateEdges
()
override
;
27
28
public
:
29
TGeoPgonEditor
(
const
TGWindow
*
p
=
nullptr
,
Int_t
width
= 140,
Int_t
height
= 30,
UInt_t
options =
kChildFrame
,
30
Pixel_t
back =
GetDefaultFrameBackground
());
31
~TGeoPgonEditor
()
override
;
32
void
SetModel
(
TObject
*obj)
override
;
33
34
void
DoNedges
();
35
void
DoApply
()
override
;
36
void
DoUndo
()
override
;
37
38
ClassDefOverride
(
TGeoPgonEditor
, 0)
// TGeoPgon editor
39
};
40
#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
TGeoPconEditor.h
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
TGWindow
ROOT GUI Window base class.
Definition
TGWindow.h:23
TGeoPconEditor
Editor for a TGeoPcon.
Definition
TGeoPconEditor.h:29
TGeoPgonEditor
Editor for a TGeoPgon.
Definition
TGeoPgonEditor.h:20
TGeoPgonEditor::~TGeoPgonEditor
~TGeoPgonEditor() override
Destructor.
Definition
TGeoPgonEditor.cxx:55
TGeoPgonEditor::SetModel
void SetModel(TObject *obj) override
Connect to a given pgon.
Definition
TGeoPgonEditor.cxx:69
TGeoPgonEditor::CreateEdges
void CreateEdges() override
Create number entry for Nedges.
Definition
TGeoPgonEditor.cxx:199
TGeoPgonEditor::DoUndo
void DoUndo() override
Slot for undoing last operation.
Definition
TGeoPgonEditor.cxx:190
TGeoPgonEditor::fENedges
TGNumberEntry * fENedges
Definition
TGeoPgonEditor.h:24
TGeoPgonEditor::fNedgesi
Int_t fNedgesi
Definition
TGeoPgonEditor.h:23
TGeoPgonEditor::DoNedges
void DoNedges()
Change number of edges.
Definition
TGeoPgonEditor.cxx:218
TGeoPgonEditor::DoApply
void DoApply() override
Slot for applying modifications.
Definition
TGeoPgonEditor.cxx:105
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
int
unsigned int
geom
geombuilder
inc
TGeoPgonEditor.h
ROOT v6-32 - Reference Guide Generated on Thu Dec 12 2024 15:05:35 (GVA Time) using Doxygen 1.9.8