Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TParallelCoordEditor.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/treeviewer:$Id$
0002 // Author: Bastien Dalla Piazza  02/08/2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TParallelCoordEditor
0013 #define ROOT_TParallelCoordEditor
0014 
0015 #include "TGedFrame.h"
0016 
0017 class TParallelCoord;
0018 class TGCheckButton;
0019 class TGNumberEntryField;
0020 class TGButtonGroup;
0021 class TGRadioButton;
0022 class TGTextEntry;
0023 class TGLineWidthComboBox;
0024 class TGColorSelect;
0025 class TGHSlider;
0026 class TGComboBox;
0027 class TGDoubleHSlider;
0028 class TGedPatternSelect;
0029 
0030 class TParallelCoordEditor : public TGedFrame {
0031 protected:
0032    TGCompositeFrame        *fVarTab;
0033    TParallelCoord          *fParallel;
0034    TGColorSelect           *fGlobalLineColor;
0035    TGLineWidthComboBox     *fGlobalLineWidth;
0036    TGHSlider               *fDotsSpacing;
0037    TGNumberEntryField      *fDotsSpacingField;
0038    TGHSlider               *fAlpha;
0039    TGNumberEntryField      *fAlphaField;
0040    TGButtonGroup           *fLineTypeBgroup;
0041    TGRadioButton           *fLineTypePoly;
0042    TGRadioButton           *fLineTypeCurves;
0043    TGCheckButton           *fHideAllRanges;
0044    TGComboBox              *fSelectionSelect;
0045    TGColorSelect           *fSelectLineColor;
0046    TGLineWidthComboBox     *fSelectLineWidth;
0047    TGCheckButton           *fActivateSelection;
0048    TGCheckButton           *fShowRanges;
0049    TGTextButton            *fDeleteSelection;
0050    TGTextButton            *fAddSelection;
0051    TGTextEntry             *fAddSelectionField;
0052    TGCheckButton           *fPaintEntries;
0053    TGDoubleHSlider         *fEntriesToDraw;
0054    TGNumberEntryField      *fFirstEntry;
0055    TGNumberEntryField      *fNentries;
0056    TGTextButton            *fApplySelect;
0057    TGTextButton            *fUnApply;
0058    TGCheckButton           *fDelayDrawing;
0059    TGTextEntry             *fAddVariable;
0060    TGTextButton            *fButtonAddVar;
0061    TGComboBox              *fVariables;
0062    TGTextButton            *fDeleteVar;
0063    TGCheckButton           *fHistShowBoxes;
0064    TGNumberEntryField      *fHistWidth;
0065    TGNumberEntryField      *fHistBinning;
0066    TGTextButton            *fRenameVar;
0067    TGHSlider               *fWeightCut;
0068    TGNumberEntryField      *fWeightCutField;
0069    TGColorSelect           *fHistColorSelect;
0070    TGedPatternSelect       *fHistPatternSelect;
0071    bool                     fDelay;
0072 
0073    void                    CleanUpSelections();
0074    void                    CleanUpVariables();
0075    virtual void            ConnectSignals2Slots();
0076    void                    MakeVariablesTab();
0077 
0078 public:
0079    TParallelCoordEditor(const TGWindow *p = nullptr,
0080                         Int_t width = 140, Int_t height = 30,
0081                         UInt_t options = kChildFrame,
0082                         Pixel_t back = GetDefaultFrameBackground());
0083    ~TParallelCoordEditor() override;
0084 
0085    virtual void            DoActivateSelection(bool);
0086    virtual void            DoAddSelection();
0087    virtual void            DoAddVariable();
0088    virtual void            DoApplySelect();
0089    virtual void            DoDelayDrawing(bool);
0090    virtual void            DoDeleteSelection();
0091    virtual void            DoDeleteVar();
0092    virtual void            DoDotsSpacing();
0093    virtual void            DoDotsSpacingField();
0094    virtual void            DoAlpha();
0095    virtual void            DoAlphaField();
0096    virtual void            DoFirstEntry();
0097    virtual void            DoGlobalLineColor(Pixel_t);
0098    virtual void            DoGlobalLineWidth(Int_t);
0099    virtual void            DoHideAllRanges(bool);
0100    virtual void            DoHistShowBoxes(bool);
0101    virtual void            DoHistWidth();
0102    virtual void            DoHistBinning();
0103    virtual void            DoHistColorSelect(Pixel_t);
0104    virtual void            DoHistPatternSelect(Style_t);
0105    virtual void            DoEntriesToDraw();
0106    virtual void            DoLineType();
0107    virtual void            DoLiveDotsSpacing(Int_t a);
0108    virtual void            DoLiveAlpha(Int_t a);
0109    virtual void            DoLiveEntriesToDraw();
0110    virtual void            DoLiveWeightCut(Int_t n);
0111    virtual void            DoNentries();
0112    virtual void            DoPaintEntries(bool);
0113    virtual void            DoSelectionSelect(const char* title);
0114    virtual void            DoSelectLineColor(Pixel_t);
0115    virtual void            DoSelectLineWidth(Int_t);
0116    virtual void            DoShowRanges(bool s);
0117    virtual void            DoUnApply();
0118    virtual void            DoVariableSelect(const char* var);
0119    virtual void            DoWeightCut();
0120    void            SetModel(TObject* obj) override;
0121 
0122    ClassDefOverride(TParallelCoordEditor,0)    // GUI for editing the parallel coordinates plot attributes.
0123 };
0124 
0125 
0126 #endif