404 this,
"DoGlobalLineColor(Pixel_t)");
406 this,
"DoGlobalLineWidth(Int_t)");
409 this,
"DoDotsSpacing()");
411 this,
"DoLiveDotsSpacing(Int_t)");
413 this,
"DoDotsSpacingField()");
418 fAlpha->
Connect(
"PositionChanged(Int_t)",
"TParallelCoordEditor",
419 this,
"DoLiveAlpha(Int_t)");
421 this,
"DoAlphaField()");
424 this,
"DoLineType()");
426 this,
"DoSelectionSelect(const char*)");
428 this,
"DoSelectLineColor(Pixel_t)");
430 this,
"DoSelectLineWidth(Int_t)");
432 this,
"DoActivateSelection(Bool_t)");
434 this,
"DoShowRanges(Bool_t)");
436 this,
"DoDeleteSelection()");
438 this,
"DoAddSelection()");
440 this,
"DoPaintEntries(Bool_t)");
442 this,
"DoEntriesToDraw()");
444 this,
"DoLiveEntriesToDraw()");
446 this,
"DoFirstEntry()");
448 this,
"DoNentries()");
450 this,
"DoApplySelect()");
452 this,
"DoUnApply()");
454 this,
"DoDelayDrawing(Bool_t)");
456 this,
"DoAddVariable()");
458 this,
"DoAddVariable()");
460 this,
"DoHideAllRanges(Bool_t)");
462 this,
"DoVariableSelect(const char*)");
464 this,
"DoDeleteVar()");
466 this,
"DoHistWidth()");
468 this,
"DoHistBinning()");
470 this,
"DoWeightCut()");
472 this,
"DoLiveWeightCut(Int_t)");
474 this,
"DoWeightCut()");
476 this,
"DoHistColorSelect(Pixel_t)");
478 this,
"DoHistPatternSelect(Style_t)");
480 this,
"DoHistShowBoxes(Bool_t)");
505 if (title ==
"") title =
"Selection";
virtual const char * GetTitle() const
Returns title of object.
virtual void SetLineWidth(Width_t lwidth)
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
A TParallelCoordSelect is a specialised TList to hold TParallelCoordRanges used by TParallelCoord...
This is the TParallelCoord editor.
virtual void DoApplySelect()
Slot to apply a selection to the tree.
void SetLineColor(Color_t col)
TParallelCoordSelect * GetCurrentSelection()
Return the selection currently being edited.
virtual void DoShowRanges(Bool_t s)
Slot to show or not the ranges on the pad.
TGTextButton * fRenameVar
TParallelCoordEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Normal constructor.
TGTextButton * fDeleteVar
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
virtual void DoGlobalLineWidth(Int_t)
Slot to set the global line width.
virtual void SetRange(Int_t min, Int_t max)
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.
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
void SetLineWidth(Width_t wid)
void SetAxisHistogramLineWidth(Int_t lw=2)
Set the same histogram axis line width for all axis.
void SetEnabled(Bool_t e=kTRUE)
Set enabled or disabled state of button.
void SetLiveRangesUpdate(Bool_t)
If true, the pad is updated while the motion of a dragged range.
TGCheckButton * fPaintEntries
void SetWeightCut(Int_t w=0)
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGButtonGroup * fLineTypeBgroup
virtual void DoFirstEntry()
Slot to set the first entry.
virtual void DoVariableSelect(const char *var)
Slot to select a variable.
TGCheckButton * fHideAllRanges
void ResetTree()
Reset the tree entry list to the initial one..
void SetCurrentFirst(Long64_t)
Set the first entry to be displayed.
virtual void DoAlphaField()
Slot to set the alpha value from the entry field.
TGCheckButton * fDelayDrawing
void SetCurrentN(Long64_t)
Set the number of entry to be displayed.
virtual void SetRange(Float_t min, Float_t max)
virtual TGLBEntry * GetSelectedEntry() const
TGTextEntry * fAddVariable
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
~TParallelCoordEditor()
Destructor.
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.
void SetAxisHistogramBinning(Int_t n=100)
Set the same histogram axis binning for all axis.
const char * Data() const
virtual void DoLiveEntriesToDraw()
Slot to update the entries fields from the slider position.
void ApplySelectionToTree()
Apply the current selection to the tree.
virtual void DoDotsSpacing()
Slot to set the line dotspacing.
TGLineWidthComboBox * fSelectLineWidth
const char * GetTitle() const
Returns title of object.
TGColorSelect * fSelectLineColor
virtual void DoHistPatternSelect(Style_t)
Slot to set the histograms fill style.
virtual void DoDeleteVar()
Slot to delete a variable().
const char * GetText() const
TGCheckButton * fActivateSelection
virtual void Update()
Update the current pad when an attribute is changed via GUI.
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
TGCompositeFrame(const TGCompositeFrame &)
virtual TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
virtual void DoSelectionSelect(const char *title)
Slot to set the selection beeing edited.
TString & Append(const char *cs)
virtual void DoSelectLineColor(Pixel_t)
Slot to set the line color of selection.
TGTextButton * fDeleteSelection
Int_t GetHistBinning() const
TGTextButton * fButtonAddVar
virtual void RemoveAll()
Remove all entries from combo box.
virtual void DoPaintEntries(Bool_t)
Slot to postpone the entries drawing.
virtual void DoEntriesToDraw()
Slot to select the entries to be drawn.
TGNumberEntryField * fFirstEntry
static Bool_t SupportAlpha()
Static function returning "true" if transparency is supported.
TGNumberEntryField * fHistWidth
TGComboBox * fSelectionSelect
virtual void DoLiveDotsSpacing(Int_t a)
Slot to set the dots spacing online.
void RemoveVariable(TParallelCoordVar *var)
Delete a variable from the graph.
Long64_t GetCurrentFirst()
virtual void SetLineColor(Color_t lcolor)
void CleanUpSelections()
Clean up the selection combo box.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
TGColorSelect * fGlobalLineColor
TGCompositeFrame * fVarTab
virtual Int_t GetPosition() const
void AddSelection(const char *title)
Add a selection.
Int_t GetWeightCut() const
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.
virtual TGLBEntry * FindEntry(const char *s) const
Find entry by name.
TGLineWidthComboBox * fGlobalLineWidth
TGDoubleHSlider * fEntriesToDraw
virtual void DoAddVariable()
Slot to add a variable.
Bool_t TestBit(UInt_t f) const
char * Form(const char *fmt,...)
virtual TGListBox * GetListBox() const
virtual void SetPosition(Int_t pos)
virtual void ChangeOptions(UInt_t options)
Change composite frame options. Options is an OR of the EFrameTypes.
TGRadioButton * fLineTypeCurves
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb"...
virtual Double_t GetNumber() const
Get the numeric value (floating point representation).
void CleanUpVariables()
Clean up the variables combo box.
void SetPattern(Style_t pattern, Bool_t emit=kTRUE)
Set pattern.
virtual void DoActivateSelection(Bool_t)
Slot to activate or not a selection.
void AddVariable(Double_t *val, const char *title="")
Add a variable.
virtual void DoAlpha()
Slot to set the alpha value.
virtual void SetModel(TObject *obj)
Pick up the used parallel coordinates plot attributes.
virtual Color_t GetLineColor() const
virtual void SetEnabled(Bool_t on=kTRUE)
Set state of combo box. If kTRUE=enabled, kFALSE=disabled.
virtual void DoNentries()
Slot to set the number of entries to display.
virtual void DoDeleteSelection()
Slot to delete a selection.
virtual TObject * Last() const
Return the last object in the list. Returns 0 when list is empty.
static ULong_t Number2Pixel(Int_t ci)
Static method that given a color index number, returns the corresponding pixel value.
virtual void DoGlobalLineColor(Pixel_t)
Slot to set the global line color.
virtual Int_t GetSize() const
void SetEnabled(Bool_t flag=kTRUE)
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
Bool_t GetCurveDisplay() const
virtual void AddEntry(TGString *s, Int_t id)
TParallelCoordSelect * SetCurrentSelection(const char *title)
Set the selection being edited.
virtual void DoAddSelection()
Slot to add a selection.
virtual void SetCurveDisplay(Bool_t curve=1)
void SetDotsSpacing(Int_t s=0)
Set dots spacing.
The color creation and management class.
TGedPatternSelect * fHistPatternSelect
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
void DeleteSelection(TParallelCoordSelect *sel)
Delete a selection.
void MakeVariablesTab()
Make the "variable" tab.
Parallel Coordinates class.
Mother of all ROOT objects.
TGNumberEntryField * fAlphaField
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
virtual void SetBackgroundColor(Pixel_t col)
Set background color (override from TGWindow base class).
TGNumberEntryField * fDotsSpacingField
virtual void SetNumber(Double_t val)
Set the numeric value (floating point representation).
virtual void DoHideAllRanges(Bool_t)
Slot to hide all the ranges.
TGCheckButton * fHistShowBoxes
double f2(const double *x)
TGTextButton * fApplySelect
TGNumberEntryField * fNentries
virtual void SetPosition(Float_t min, Float_t max)
Int_t GetDotsSpacing() const
virtual Float_t GetMinPosition() const
TGTextButton * fAddSelection
virtual Float_t GetMaxPosition() const
virtual Int_t IndexOf(const TObject *obj) const
virtual void DoDotsSpacingField()
Slot to set the line dotspacing from the entry field.
virtual Width_t GetLineWidth() const
TGCheckButton * fShowRanges
virtual const char * GetTitle() const
Returns title of object.
TGRadioButton * fLineTypePoly
virtual void MakeTitle(const char *title)
Create attribute frame title.
TGTextEntry * fAddSelectionField
virtual TGLBEntry * GetEntry(Int_t id) const
Returns list box entry with specified id.
void SetShowRanges(Bool_t s)
Show the ranges needles.
void SetActivated(Bool_t on)
Activate the selection.