// @(#)root/treeviewer:$Id$ // Author: Bastien Dalla Piazza 02/08/2007 /************************************************************************* * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ #ifndef ROOT_TParallelCoord #define ROOT_TParallelCoord #include "TAttLine.h" #include "TNamed.h" class TTree; class TPaveText; class TEntryList; class TParallelCoordSelect; class TParallelCoordVar; class TParallelCoordRange; class TList; class TGaxis; class TSelectorDraw; class TParallelCoord : public TNamed { public: enum EStatusBits { kVertDisplay = BIT(14), ///< If the axes are drawn vertically, false if horizontally. kCurveDisplay = BIT(15), ///< If the polylines are replaced by interpolated curves. kPaintEntries = BIT(16), ///< To paint all TParallelCoord entries. kLiveUpdate = BIT(17), ///< To paint the entries when being modified. kGlobalScale = BIT(19), ///< Every variable is on the same scale. kCandleChart = BIT(20), ///< To produce a candle chart. kGlobalLogScale = BIT(21) ///< Every variable in log scale. }; private: UInt_t fNvar; ///< Number of variables. Long64_t fCurrentFirst; ///< First entry to display. Long64_t fCurrentN; ///< Number of entries to display. Long64_t fNentries; ///< Number of entries; Int_t fDotsSpacing; ///< Spacing between dots to draw the entries. Color_t fLineColor; ///< entries line color. Width_t fLineWidth; ///< entries line width. Int_t fWeightCut; ///< Specify a cut on the entries from their weight (see TParallelCoordVar::GetEvtWeight(Long64_t)) TEntryList *fCurrentEntries; ///<-> Current selected entries in the tree. TEntryList *fInitEntries; ///<-> Selected entries when TParallelCoord first initialized. TTree *fTree; ///