Logo ROOT  
Reference Guide
TEveCaloLegoEditor.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_TEveCaloLegoEditor
13#define ROOT_TEveCaloLegoEditor
14
15#include "TGedFrame.h"
16
17class TGButton;
18class TGCheckButton;
19class TGNumberEntry;
20class TGColorSelect;
21class TGComboBox;
22class TEveGValuator;
23
24class TEveCaloLego;
25
27{
28private:
29 TEveCaloLegoEditor(const TEveCaloLegoEditor&); // Not implemented
30 TEveCaloLegoEditor& operator=(const TEveCaloLegoEditor&); // Not implemented
31 TGComboBox* MakeLabeledCombo(const char* name, Int_t off);
32
33protected:
34 TEveCaloLego *fM; // Model object.
35
40
44
46
51
52 void MakeRebinFrame();
53public:
54 TEveCaloLegoEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
57
58 virtual void SetModel(TObject* obj);
59
60 // Declare callback/slot methods
61 void DoGridColor(Pixel_t color);
62 void DoFontColor(Pixel_t color);
63 void DoPlaneColor(Pixel_t color);
64 void DoTransparency();
65
66 void DoProjection();
67 void Do2DMode();
68 void DoBoxMode();
69
70 void DoCell2DTextMin();
71
72 void DoAutoRebin();
73 void DoPixelsPerBin();
74 void DoNormalize();
75
76 ClassDef(TEveCaloLegoEditor, 0); // GUI editor for TEveCaloLego.
77};
78
79#endif
@ kChildFrame
Definition: GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition: GuiTypes.h:40
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
char name[80]
Definition: TGX11.cxx:110
GUI editor for TEveCaloLego.
TGCheckButton * fAutoRebin
TGVerticalFrame * fRebinFrame
TEveCaloLegoEditor(const TEveCaloLegoEditor &)
TGColorSelect * fPlaneColor
TGNumberEntry * fTransparency
void DoProjection()
Slot for projection.
TEveGValuator * fCell2DTextMin
TGCheckButton * fNormalizeRebin
TGComboBox * fProjection
void DoBoxMode()
Slot for projection.
void DoFontColor(Pixel_t color)
Slot for FontColor.
virtual void SetModel(TObject *obj)
Set model object.
void Do2DMode()
Slot for projection.
void DoTransparency()
Slot for Transparency.
TEveCaloLegoEditor & operator=(const TEveCaloLegoEditor &)
TGColorSelect * fFontColor
void DoCell2DTextMin()
Slot for setting limit in pixels in which cell value is rendered.
TEveGValuator * fPixelsPerBin
ClassDef(TEveCaloLegoEditor, 0)
void DoGridColor(Pixel_t color)
Slot for GridColor.
void DoPlaneColor(Pixel_t color)
Slot for PlaneColor.
void DoPixelsPerBin()
Slot for PixelsPerBin.
TGColorSelect * fGridColor
TGComboBox * MakeLabeledCombo(const char *name, Int_t off)
Helper function. Creates TGComboBox with fixed size TGLabel.
Visualization of calorimeter data as eta/phi histogram.
Definition: TEveCalo.h:251
Composite GUI element for single value selection (supports label, number-entry and slider).
A button abstract base class.
Definition: TGButton.h:68
Selects different options.
Definition: TGButton.h:264
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
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
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:683
TGNumberEntry is a number entry input widget with up/down buttons.
A composite frame that layout their children in vertical way.
Definition: TGFrame.h:374
ROOT GUI Window base class.
Definition: TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition: TGedFrame.h:27
Mother of all ROOT objects.
Definition: TObject.h:41