Logo ROOT  
Reference Guide
TEveDigitSetEditor.h
Go to the documentation of this file.
1// @(#)root/eve:$Id: 2e075f81994f9a7eca182d23ab52b081eda5c617 $
2// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 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_TEveDigitSetEditor
13#define ROOT_TEveDigitSetEditor
14
15#include "TGedFrame.h"
16
17class TGCheckButton;
18class TGNumberEntry;
19class TGColorSelect;
20
21class TEveDigitSet;
22
23class TEveGValuator;
26
27// It would be also good to have button to change model to the palette
28// object itself.
30
32{
33private:
34 TEveDigitSetEditor(const TEveDigitSetEditor&); // Not implemented
35 TEveDigitSetEditor& operator=(const TEveDigitSetEditor&); // Not implemented
36
37 void CreateInfoTab();
38protected:
39 TEveDigitSet *fM; // Model object.
40
41 TEveRGBAPaletteSubEditor *fPalette; // Palette sub-editor.
42
43 TGHorizontalFrame *fHistoButtFrame; // Frame holding histogram display buttons.
44 TGVerticalFrame *fInfoFrame; // Frame displaying basic digit statistics.
45
46public:
47 TEveDigitSetEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
50
51 virtual void SetModel(TObject* obj);
52
53 // Declare callback/slot methods
54 void DoHisto();
55 void DoRangeHisto();
56 void PlotHisto(Int_t min, Int_t max);
57
58 ClassDef(TEveDigitSetEditor, 0); // Editor for TEveDigitSet class.
59};
60
61#endif
@ kChildFrame
Definition: GuiTypes.h:379
ULong_t Pixel_t
Definition: GuiTypes.h:39
int Int_t
Definition: RtypesCore.h:43
#define ClassDef(name, id)
Definition: Rtypes.h:322
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
Editor for TEveDigitSet class.
void PlotHisto(Int_t min, Int_t max)
Plots a histogram from digit vales with given range.
void DoHisto()
Show histogram slot.
TEveDigitSetEditor(const TEveDigitSetEditor &)
virtual void SetModel(TObject *obj)
Set model object.
TEveRGBAPaletteSubEditor * fPalette
TGHorizontalFrame * fHistoButtFrame
void CreateInfoTab()
Create information tab.
TGVerticalFrame * fInfoFrame
void DoRangeHisto()
Show ranged histogram slot.
TEveDigitSetEditor & operator=(const TEveDigitSetEditor &)
Base-class for storage of digit collections; provides transformation matrix (TEveTrans),...
Definition: TEveDigitSet.h:34
Composite GUI element for selection of range (label, two number-entries and double-slider).
Composite GUI element for single value selection (supports label, number-entry and slider).
Sub-editor for TEveRGBAPalette class.
Sub-editor for TEveTrans class.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:667
Mother of all ROOT objects.
Definition: TObject.h:37