Logo ROOT   6.12/07
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 #include "TGedFrame.h"
16 
17 class TParallelCoord;
18 class TGCheckButton;
19 class TGNumberEntryField;
20 class TGButtonGroup;
21 class TGRadioButton;
22 class TGTextEntry;
24 class TGColorSelect;
25 class TGHSlider;
26 class TGComboBox;
27 class TGDoubleHSlider;
28 class TGedPatternSelect;
29 
31 protected:
72 
73  void CleanUpSelections();
74  void CleanUpVariables();
75  virtual void ConnectSignals2Slots();
76  void MakeVariablesTab();
77 
78 public:
79  TParallelCoordEditor(const TGWindow *p = 0,
80  Int_t width = 140, Int_t height = 30,
81  UInt_t options = kChildFrame,
84 
85  virtual void DoActivateSelection(Bool_t);
86  virtual void DoAddSelection();
87  virtual void DoAddVariable();
88  virtual void DoApplySelect();
89  virtual void DoDelayDrawing(Bool_t);
90  virtual void DoDeleteSelection();
91  virtual void DoDeleteVar();
92  virtual void DoDotsSpacing();
93  virtual void DoDotsSpacingField();
94  virtual void DoAlpha();
95  virtual void DoAlphaField();
96  virtual void DoFirstEntry();
97  virtual void DoGlobalLineColor(Pixel_t);
98  virtual void DoGlobalLineWidth(Int_t);
99  virtual void DoHideAllRanges(Bool_t);
100  virtual void DoHistShowBoxes(Bool_t);
101  virtual void DoHistWidth();
102  virtual void DoHistBinning();
103  virtual void DoHistColorSelect(Pixel_t);
104  virtual void DoHistPatternSelect(Style_t);
105  virtual void DoEntriesToDraw();
106  virtual void DoLineType();
107  virtual void DoLiveDotsSpacing(Int_t a);
108  virtual void DoLiveAlpha(Int_t a);
109  virtual void DoLiveEntriesToDraw();
110  virtual void DoLiveWeightCut(Int_t n);
111  virtual void DoNentries();
112  virtual void DoPaintEntries(Bool_t);
113  virtual void DoSelectionSelect(const char* title);
114  virtual void DoSelectLineColor(Pixel_t);
115  virtual void DoSelectLineWidth(Int_t);
116  virtual void DoShowRanges(Bool_t s);
117  virtual void DoUnApply();
118  virtual void DoVariableSelect(const char* var);
119  virtual void DoWeightCut();
120  virtual void SetModel(TObject* obj);
121 
122  ClassDef(TParallelCoordEditor,0) // GUI for editing the parallel coordinates plot attributes.
123 };
124 
125 
126 #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
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.
#define ClassDef(name, id)
Definition: Rtypes.h:320
ULong_t Pixel_t
Definition: GuiTypes.h:39
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.
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.
auto * a
Definition: textangle.C:12
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.
static constexpr double s
TGedPatternSelect * fHistPatternSelect
void MakeVariablesTab()
Make the "variable" tab.
Parallel Coordinates class.
Mother of all ROOT objects.
Definition: TObject.h:37
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
TGRadioButton * fLineTypePoly
const Int_t n
Definition: legend1.C:16
TGTextEntry * fAddSelectionField