Logo ROOT  
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
17class TParallelCoord;
18class TGCheckButton;
20class TGButtonGroup;
21class TGRadioButton;
22class TGTextEntry;
24class TGColorSelect;
25class TGHSlider;
26class TGComboBox;
27class TGDoubleHSlider;
29
31protected:
72
73 void CleanUpSelections();
74 void CleanUpVariables();
75 virtual void ConnectSignals2Slots();
76 void MakeVariablesTab();
77
78public:
79 TParallelCoordEditor(const TGWindow *p = 0,
80 Int_t width = 140, Int_t height = 30,
81 UInt_t options = kChildFrame,
83 virtual ~TParallelCoordEditor();
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
@ kChildFrame
Definition: GuiTypes.h:379
ULong_t Pixel_t
Definition: GuiTypes.h:39
short Style_t
Definition: RtypesCore.h:78
#define ClassDef(name, id)
Definition: Rtypes.h:322
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:667
Mother of all ROOT objects.
Definition: TObject.h:37
This is the TParallelCoord editor.
virtual void DoSelectLineColor(Pixel_t)
Slot to set the line color of selection.
virtual void DoHideAllRanges(Bool_t)
Slot to hide all the ranges.
TGDoubleHSlider * fEntriesToDraw
virtual void DoLiveEntriesToDraw()
Slot to update the entries fields from the slider position.
TGCheckButton * fHideAllRanges
virtual void DoDotsSpacing()
Slot to set the line dotspacing.
virtual void DoAlpha()
Slot to set the alpha value.
virtual void DoApplySelect()
Slot to apply a selection to the tree.
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void DoActivateSelection(Bool_t)
Slot to activate or not a selection.
virtual void DoFirstEntry()
Slot to set the first entry.
virtual void DoLiveDotsSpacing(Int_t a)
Slot to set the dots spacing online.
TGCheckButton * fShowRanges
TGTextButton * fDeleteSelection
TGLineWidthComboBox * fSelectLineWidth
virtual void DoLiveWeightCut(Int_t n)
Slot to update the wieght cut entry field from the slider position.
TGCheckButton * fActivateSelection
virtual void DoShowRanges(Bool_t s)
Slot to show or not the ranges on the pad.
TGedPatternSelect * fHistPatternSelect
virtual void DoDotsSpacingField()
Slot to set the line dotspacing from the entry field.
TGLineWidthComboBox * fGlobalLineWidth
void CleanUpSelections()
Clean up the selection combo box.
virtual void DoGlobalLineColor(Pixel_t)
Slot to set the global line color.
TGNumberEntryField * fFirstEntry
virtual void DoLiveAlpha(Int_t a)
Slot to set alpha value online.
virtual void DoDeleteVar()
Slot to delete a variable().
TGNumberEntryField * fDotsSpacingField
virtual void DoSelectionSelect(const char *title)
Slot to set the selection beeing edited.
TGCompositeFrame * fVarTab
TGTextEntry * fAddSelectionField
virtual void DoHistColorSelect(Pixel_t)
Slot to set the histograms color.
TGTextButton * fAddSelection
virtual void DoGlobalLineWidth(Int_t)
Slot to set the global line width.
virtual void DoHistWidth()
Slot to set histogram width.
TGCheckButton * fHistShowBoxes
virtual void DoUnApply()
Slot to reset the tree entry list to the original one.
virtual void DoAddVariable()
Slot to add a variable.
TGCheckButton * fPaintEntries
virtual void DoPaintEntries(Bool_t)
Slot to postpone the entries drawing.
TParallelCoord * fParallel
virtual void DoHistPatternSelect(Style_t)
Slot to set the histograms fill style.
TGColorSelect * fSelectLineColor
void MakeVariablesTab()
Make the "variable" tab.
virtual void DoAddSelection()
Slot to add a selection.
TGCheckButton * fDelayDrawing
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 DoAlphaField()
Slot to set the alpha value from the entry field.
virtual void DoDelayDrawing(Bool_t)
Slot to delay the drawing.
TGNumberEntryField * fHistWidth
virtual void DoSelectLineWidth(Int_t)
Slot to set the line width of selection.
virtual void DoEntriesToDraw()
Slot to select the entries to be drawn.
TGColorSelect * fHistColorSelect
TGRadioButton * fLineTypePoly
virtual ~TParallelCoordEditor()
Destructor.
virtual void DoLineType()
Slot to set the line type.
TGColorSelect * fGlobalLineColor
virtual void DoHistShowBoxes(Bool_t)
Slot to set histogram height.
TGNumberEntryField * fAlphaField
void CleanUpVariables()
Clean up the variables combo box.
TGNumberEntryField * fWeightCutField
TGRadioButton * fLineTypeCurves
virtual void DoWeightCut()
Slot to update the weight cut.
virtual void DoNentries()
Slot to set the number of entries to display.
TGNumberEntryField * fNentries
TGButtonGroup * fLineTypeBgroup
virtual void SetModel(TObject *obj)
Pick up the used parallel coordinates plot attributes.
TGTextButton * fButtonAddVar
virtual void DoHistBinning()
Slot to set the axes histogram binning.
virtual void DoDeleteSelection()
Slot to delete a selection.
TGNumberEntryField * fHistBinning
virtual void DoVariableSelect(const char *var)
Slot to select a variable.
Parallel Coordinates class.
const Int_t n
Definition: legend1.C:16
static constexpr double s
auto * a
Definition: textangle.C:12