Logo ROOT   6.12/07
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 
17 class TGCheckButton;
18 class TGNumberEntry;
19 class TGColorSelect;
20 
21 class TEveDigitSet;
22 
23 class TEveGValuator;
25 class TEveTransSubEditor;
26 
27 // It would be also good to have button to change model to the palette
28 // object itself.
30 
32 {
33 private:
34  TEveDigitSetEditor(const TEveDigitSetEditor&); // Not implemented
35  TEveDigitSetEditor& operator=(const TEveDigitSetEditor&); // Not implemented
36 
37  void CreateInfoTab();
38 protected:
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 
46 public:
47  TEveDigitSetEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
49  virtual ~TEveDigitSetEditor() {}
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
void PlotHisto(Int_t min, Int_t max)
Plots a histogram from digit vales with given range.
void DoHisto()
Show histogram slot.
Editor for TEveDigitSet class.
int Int_t
Definition: RtypesCore.h:41
void CreateInfoTab()
Create information tab.
Composite GUI element for single value selection (supports label, number-entry and slider)...
#define ClassDef(name, id)
Definition: Rtypes.h:320
TGHorizontalFrame * fHistoButtFrame
ULong_t Pixel_t
Definition: GuiTypes.h:39
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
Sub-editor for TEveRGBAPalette class.
unsigned int UInt_t
Definition: RtypesCore.h:42
virtual void SetModel(TObject *obj)
Set model object.
TEveRGBAPaletteSubEditor * fPalette
void DoRangeHisto()
Show ranged histogram slot.
Sub-editor for TEveTrans class.
TEveDigitSetEditor & operator=(const TEveDigitSetEditor &)
Mother of all ROOT objects.
Definition: TObject.h:37
TEveDigitSetEditor(const TEveDigitSetEditor &)
TGVerticalFrame * fInfoFrame
Composite GUI element for selection of range (label, two number-entries and double-slider).
Base-class for storage of digit collections; provides transformation matrix (TEveTrans), signal to color mapping (TEveRGBAPalette) and visual grouping (TEveFrameBox).
Definition: TEveDigitSet.h:29