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