#ifndef ROOT_TParallelCoordRange
#define ROOT_TParallelCoordRange
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TAttLine
#include "TAttLine.h"
#endif
class TParallelCoordVar;
class TParallelCoord;
class TParallelCoordSelect;
class TPoint;
class TString;
class TParallelCoordRange : public TNamed, public TAttLine {
public:
enum {
kShowOnPad = BIT(15),
kLiveUpdate = BIT(16)
};
private:
Double_t fMin;
Double_t fMax;
const Double_t fSize;
TParallelCoordVar *fVar;
TParallelCoordSelect* fSelect;
void PaintSlider(Double_t value,Bool_t fill=kFALSE);
TPoint* GetBindingLinePoints(Int_t pos,Int_t mindragged);
TPoint* GetSliderPoints(Double_t value);
TPoint* GetSliderPoints(Int_t pos);
public:
TParallelCoordRange();
~TParallelCoordRange();
TParallelCoordRange(TParallelCoordVar *var, Double_t min=0, Double_t max=0, TParallelCoordSelect* sel=NULL);
virtual void BringOnTop() ;
virtual void Delete(const Option_t* options="");
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py);
virtual void Draw(Option_t *options="");
virtual void ExecuteEvent(Int_t entry, Int_t px, Int_t py);
virtual Double_t GetMin() {return fMin;}
virtual Double_t GetMax() {return fMax;}
TParallelCoordVar* GetVar() {return fVar;}
TParallelCoordSelect* GetSelection() {return fSelect;}
Bool_t IsIn(Double_t evtval);
virtual void Paint(Option_t *options);
virtual void Print(Option_t *options) const;
virtual void SendToBack();
virtual void SetLineColor(Color_t col);
virtual void SetLineWidth(Width_t wid);
ClassDef(TParallelCoordRange,1);
};
#endif
#ifndef ROOT_TParallelCoordSelect
#define ROOT_TParallelCoordSelect
#ifndef ROOT_TAttLine
#include "TAttLine.h"
#endif
#ifndef ROOT_TList
#include "TList.h"
#endif
class TParallelCoord;
class TParallelCoordRange;
class TParallelCoordSelect : public TList, public TAttLine {
public:
enum {
kActivated = BIT(18),
kShowRanges = BIT(19)
};
private:
TString fTitle;
public:
TParallelCoordSelect();
TParallelCoordSelect(const char* title);
~TParallelCoordSelect();
const char* GetTitle() const {return fTitle.Data();}
void SetActivated(Bool_t on);
void SetShowRanges(Bool_t s);
void SetTitle(const char* title) {fTitle = title;}
ClassDef(TParallelCoordSelect,1);
};
#endif
Last change: Wed Jun 25 08:50:24 2008
Last generated: 2008-06-25 08:50
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.