ROOT  6.06/09
Reference Guide
TParallelCoordEditor.h
Go to the documentation of this file.
1 // @(#)root/treeviewer:$Id$
2 // Author: Bastien Dalla Piazza 02/08/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_TParallelCoordEditor
13 #define ROOT_TParallelCoordEditor
14 
15 #ifndef ROOT_TGedFrame
16 #include "TGedFrame.h"
17 #endif
18 
19 class TParallelCoord;
20 class TGCheckButton;
21 class TGNumberEntryField;
22 class TGButtonGroup;
23 class TGRadioButton;
24 class TGTextEntry;
26 class TGColorSelect;
27 class TGHSlider;
28 class TGComboBox;
29 class TGDoubleHSlider;
30 class TGedPatternSelect;
31 
33 protected:
74 
75  void CleanUpSelections();
76  void CleanUpVariables();
77  virtual void ConnectSignals2Slots();
78  void MakeVariablesTab();
79 
80 public:
81  TParallelCoordEditor(const TGWindow *p = 0,
82  Int_t width = 140, Int_t height = 30,
83  UInt_t options = kChildFrame,
86 
87  virtual void DoActivateSelection(Bool_t);
88  virtual void DoAddSelection();
89  virtual void DoAddVariable();
90  virtual void DoApplySelect();
91  virtual void DoDelayDrawing(Bool_t);
92  virtual void DoDeleteSelection();
93  virtual void DoDeleteVar();
94  virtual void DoDotsSpacing();
95  virtual void DoDotsSpacingField();
96  virtual void DoAlpha();
97  virtual void DoAlphaField();
98  virtual void DoFirstEntry();
99  virtual void DoGlobalLineColor(Pixel_t);
100  virtual void DoGlobalLineWidth(Int_t);
101  virtual void DoHideAllRanges(Bool_t);
102  virtual void DoHistShowBoxes(Bool_t);
103  virtual void DoHistWidth();
104  virtual void DoHistBinning();
105  virtual void DoHistColorSelect(Pixel_t);
106  virtual void DoHistPatternSelect(Style_t);
107  virtual void DoEntriesToDraw();
108  virtual void DoLineType();
109  virtual void DoLiveDotsSpacing(Int_t a);
110  virtual void DoLiveAlpha(Int_t a);
111  virtual void DoLiveEntriesToDraw();
112  virtual void DoLiveWeightCut(Int_t n);
113  virtual void DoNentries();
114  virtual void DoPaintEntries(Bool_t);
115  virtual void DoSelectionSelect(const char* title);
116  virtual void DoSelectLineColor(Pixel_t);
117  virtual void DoSelectLineWidth(Int_t);
118  virtual void DoShowRanges(Bool_t s);
119  virtual void DoUnApply();
120  virtual void DoVariableSelect(const char* var);
121  virtual void DoWeightCut();
122  virtual void SetModel(TObject* obj);
123 
124  ClassDef(TParallelCoordEditor,0) // GUI for editing the parallel coordinates plot attributes.
125 };
126 
127 
128 #endif
This is the TParallelCoord editor.
virtual void DoApplySelect()
Slot to apply a selection to the tree.
short Style_t
Definition: RtypesCore.h:76
virtual void DoShowRanges(Bool_t s)
Slot to show or not the ranges on the pad.
TParallelCoordEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Normal constructor.
virtual void DoGlobalLineWidth(Int_t)
Slot to set the global line width.
virtual void DoHistColorSelect(Pixel_t)
Slot to set the histograms color.
virtual void DoHistBinning()
Slot to set the axes histogram binning.
virtual void DoHistShowBoxes(Bool_t)
Slot to set histogram height.
TGColorSelect * fHistColorSelect
virtual void DoSelectLineWidth(Int_t)
Slot to set the line width of selection.
TGCheckButton * fPaintEntries
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGButtonGroup * fLineTypeBgroup
int Int_t
Definition: RtypesCore.h:41
virtual void DoFirstEntry()
Slot to set the first entry.
virtual void DoVariableSelect(const char *var)
Slot to select a variable.
TGCheckButton * fHideAllRanges
bool Bool_t
Definition: RtypesCore.h:59
TArc * a
Definition: textangle.C:12
virtual void DoAlphaField()
Slot to set the alpha value from the entry field.
TGCheckButton * fDelayDrawing
virtual void DoLiveAlpha(Int_t a)
Slot to set alpha value online.
virtual void DoHistWidth()
Slot to set histogram width.
virtual void DoWeightCut()
Slot to update the weight cut.
ULong_t Pixel_t
Definition: GuiTypes.h:41
virtual void DoLiveEntriesToDraw()
Slot to update the entries fields from the slider position.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
virtual void DoDotsSpacing()
Slot to set the line dotspacing.
TGLineWidthComboBox * fSelectLineWidth
TGColorSelect * fSelectLineColor
virtual void DoHistPatternSelect(Style_t)
Slot to set the histograms fill style.
virtual void DoDeleteVar()
Slot to delete a variable().
TGCheckButton * fActivateSelection
virtual void DoSelectionSelect(const char *title)
Slot to set the selection beeing edited.
virtual void DoSelectLineColor(Pixel_t)
Slot to set the line color of selection.
TGTextButton * fDeleteSelection
TGTextButton * fButtonAddVar
virtual void DoPaintEntries(Bool_t)
Slot to postpone the entries drawing.
ClassDef(TGedFrame, 0)
virtual void DoEntriesToDraw()
Slot to select the entries to be drawn.
TGNumberEntryField * fFirstEntry
TGNumberEntryField * fHistWidth
virtual void DoLiveDotsSpacing(Int_t a)
Slot to set the dots spacing online.
void CleanUpSelections()
Clean up the selection combo box.
TGColorSelect * fGlobalLineColor
TGCompositeFrame * fVarTab
virtual void DoUnApply()
Slot to reset the tree entry list to the original one.
TParallelCoord * fParallel
TGNumberEntryField * fHistBinning
virtual void DoLineType()
Slot to set the line type.
TGLineWidthComboBox * fGlobalLineWidth
TGDoubleHSlider * fEntriesToDraw
virtual void DoAddVariable()
Slot to add a variable.
unsigned int UInt_t
Definition: RtypesCore.h:42
TGRadioButton * fLineTypeCurves
void CleanUpVariables()
Clean up the variables combo box.
virtual void DoActivateSelection(Bool_t)
Slot to activate or not a selection.
virtual void DoAlpha()
Slot to set the alpha value.
virtual void SetModel(TObject *obj)
Pick up the used parallel coordinates plot attributes.
virtual void DoNentries()
Slot to set the number of entries to display.
virtual void DoDeleteSelection()
Slot to delete a selection.
virtual void DoGlobalLineColor(Pixel_t)
Slot to set the global line color.
virtual void DoDelayDrawing(Bool_t)
Slot to delay the drawing.
virtual void DoLiveWeightCut(Int_t n)
Slot to update the wieght cut entry field from the slider position.
TGNumberEntryField * fWeightCutField
virtual void DoAddSelection()
Slot to add a selection.
TGedPatternSelect * fHistPatternSelect
void MakeVariablesTab()
Make the "variable" tab.
Parallel Coordinates class.
Mother of all ROOT objects.
Definition: TObject.h:58
TGNumberEntryField * fAlphaField
TGNumberEntryField * fDotsSpacingField
virtual void DoHideAllRanges(Bool_t)
Slot to hide all the ranges.
TGCheckButton * fHistShowBoxes
TGNumberEntryField * fNentries
TGTextButton * fAddSelection
virtual void DoDotsSpacingField()
Slot to set the line dotspacing from the entry field.
TGCheckButton * fShowRanges
TObject * obj
TGRadioButton * fLineTypePoly
const Int_t n
Definition: legend1.C:16
TGTextEntry * fAddSelectionField