ROOT
master
Reference Guide
Loading...
Searching...
No Matches
TEveShapeEditor.h
Go to the documentation of this file.
1
// @(#)root/eve:$Id$
2
// Author: Matevz Tadel 2007
3
4
/*************************************************************************
5
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TEveShapeEditor
13
#define ROOT_TEveShapeEditor
14
15
#include "
TGedFrame.h
"
16
17
class
TGButton
;
18
class
TGCheckButton
;
19
class
TGNumberEntry
;
20
class
TGColorSelect
;
21
22
class
TEveShape
;
23
24
class
TEveShapeEditor
:
public
TGedFrame
25
{
26
private
:
27
TEveShapeEditor
(
const
TEveShapeEditor
&);
// Not implemented
28
TEveShapeEditor
&
operator=
(
const
TEveShapeEditor
&);
// Not implemented
29
30
protected
:
31
TEveShape
*
fM
;
// Model object.
32
33
TGNumberEntry
*
fLineWidth
;
// Line width widget.
34
TGColorSelect
*
fLineColor
;
// Line color widget.
35
TGCheckButton
*
fDrawFrame
;
// Checkbox for frame rendering.
36
TGCheckButton
*
fHighlightFrame
;
// Checkbox for frame rendering.
37
38
public
:
39
TEveShapeEditor
(
const
TGWindow
*
p
=
nullptr
,
Int_t
width
=170,
Int_t
height
=30,
40
UInt_t
options=
kChildFrame
,
Pixel_t
back=
GetDefaultFrameBackground
());
41
~TEveShapeEditor
()
override
{}
42
43
void
SetModel
(
TObject
* obj)
override
;
44
45
void
DoLineWidth
();
46
void
DoLineColor
(
Pixel_t
color);
47
void
DoDrawFrame
();
48
void
DoHighlightFrame
();
49
50
ClassDefOverride
(
TEveShapeEditor
, 0);
// GUI editor for TEveShape.
51
};
52
53
#endif
kChildFrame
@ kChildFrame
Definition
GuiTypes.h:379
Pixel_t
ULong_t Pixel_t
Pixel value.
Definition
GuiTypes.h:40
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
TGedFrame.h
TEveShapeEditor
GUI editor for TEveShape.
Definition
TEveShapeEditor.h:25
TEveShapeEditor::DoHighlightFrame
void DoHighlightFrame()
Slot for HighlightFrame.
Definition
TEveShapeEditor.cxx:120
TEveShapeEditor::fDrawFrame
TGCheckButton * fDrawFrame
Definition
TEveShapeEditor.h:35
TEveShapeEditor::fLineWidth
TGNumberEntry * fLineWidth
Definition
TEveShapeEditor.h:33
TEveShapeEditor::TEveShapeEditor
TEveShapeEditor(const TEveShapeEditor &)
TEveShapeEditor::fLineColor
TGColorSelect * fLineColor
Definition
TEveShapeEditor.h:34
TEveShapeEditor::DoLineColor
void DoLineColor(Pixel_t color)
Slot for setting line color of polygon outline.
Definition
TEveShapeEditor.cxx:102
TEveShapeEditor::SetModel
void SetModel(TObject *obj) override
Set model object.
Definition
TEveShapeEditor.cxx:80
TEveShapeEditor::DoLineWidth
void DoLineWidth()
Slot for setting line with of polygon outline.
Definition
TEveShapeEditor.cxx:93
TEveShapeEditor::fM
TEveShape * fM
Definition
TEveShapeEditor.h:31
TEveShapeEditor::operator=
TEveShapeEditor & operator=(const TEveShapeEditor &)
TEveShapeEditor::ClassDefOverride
ClassDefOverride(TEveShapeEditor, 0)
TEveShapeEditor::fHighlightFrame
TGCheckButton * fHighlightFrame
Definition
TEveShapeEditor.h:36
TEveShapeEditor::DoDrawFrame
void DoDrawFrame()
Slot for DrawFrame.
Definition
TEveShapeEditor.cxx:111
TEveShapeEditor::~TEveShapeEditor
~TEveShapeEditor() override
Definition
TEveShapeEditor.h:41
TEveShape
Abstract base-class for 2D/3D shapes.
Definition
TEveShape.h:26
TGButton
A button abstract base class.
Definition
TGButton.h:68
TGCheckButton
Selects different options.
Definition
TGButton.h:264
TGColorSelect
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
Definition
TGColorSelect.h:104
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
TGWindow
ROOT GUI Window base class.
Definition
TGWindow.h:23
TGedFrame
Base frame for implementing GUI - a service class.
Definition
TGedFrame.h:27
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
int
unsigned int
graf3d
eve
inc
TEveShapeEditor.h
ROOT master - Reference Guide Generated on Wed Dec 18 2024 10:09:09 (GVA Time) using Doxygen 1.9.8