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 Float_t GetMinPosition() const
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
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.
Int_t GetHistBinning() const
void SetLineColor(Color_t col)
virtual Float_t GetMaxPosition() const
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
virtual Int_t GetPosition() const
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.
virtual TObject * Last() const
Return the last object in the list. Returns 0 when list is empty.
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
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
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 SetFillStyle(Style_t fstyle)
Set the fill area style.
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)
TGTextEntry * fAddVariable
virtual Width_t GetLineWidth() const
Return the line width.
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.
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
TGColorSelect * fSelectLineColor
virtual void DoHistPatternSelect(Style_t)
Slot to set the histograms fill style.
virtual void DoDeleteVar()
Slot to delete a variable().
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 TGLBEntry * FindEntry(const char *s) const
Find entry by name.
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 Double_t GetNumber() const
Get the numeric value (floating point representation).
virtual void DoSelectLineColor(Pixel_t)
Slot to set the line color of selection.
TGTextButton * fDeleteSelection
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.
virtual TGLBEntry * GetEntry(Int_t id) const
Returns list box entry with specified id.
TGNumberEntryField * fFirstEntry
Bool_t GetCurveDisplay() const
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.
virtual TGListBox * GetListBox() const
void RemoveVariable(TParallelCoordVar *var)
Delete a variable from the graph.
Long64_t GetCurrentFirst()
virtual void SetLineColor(Color_t lcolor)
Set the line color.
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 TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
void AddSelection(const char *title)
Add a selection.
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 void SetFillColor(Color_t fcolor)
Set the fill area color.
TGLineWidthComboBox * fGlobalLineWidth
TGDoubleHSlider * fEntriesToDraw
virtual void DoAddVariable()
Slot to add a variable.
char * Form(const char *fmt,...)
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"...
void CleanUpVariables()
Clean up the variables combo box.
void SetPattern(Style_t pattern, Bool_t emit=kTRUE)
Set pattern.
const char * GetTitle() const
Returns title of object.
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 void SetEnabled(Bool_t on=kTRUE)
Set state of combo box. If kTRUE=enabled, kFALSE=disabled.
Int_t GetWeightCut() const
virtual void DoNentries()
Slot to set the number of entries to display.
virtual Color_t GetLineColor() const
Return the line color.
virtual void DoDeleteSelection()
Slot to delete a selection.
const char * GetText() const
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.
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
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.
static constexpr double s
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 const char * GetTitle() const
Returns title of object.
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
TGTextButton * fApplySelect
TGNumberEntryField * fNentries
virtual void SetPosition(Float_t min, Float_t max)
TGTextButton * fAddSelection
Int_t GetDotsSpacing() const
virtual void DoDotsSpacingField()
Slot to set the line dotspacing from the entry field.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
TGCheckButton * fShowRanges
TGRadioButton * fLineTypePoly
virtual void MakeTitle(const char *title)
Create attribute frame title.
TGTextEntry * fAddSelectionField
void SetShowRanges(Bool_t s)
Show the ranges needles.
virtual const char * GetTitle() const
Returns title of object.
virtual TGLBEntry * GetSelectedEntry() const
virtual Int_t IndexOf(const TObject *obj) const
Return index of object in collection.
const char * Data() const
void SetActivated(Bool_t on)
Activate the selection.