397 this,
"DoGlobalLineColor(Pixel_t)");
399 this,
"DoGlobalLineWidth(Int_t)");
402 this,
"DoDotsSpacing()");
404 this,
"DoLiveDotsSpacing(Int_t)");
406 this,
"DoDotsSpacingField()");
411 fAlpha->
Connect(
"PositionChanged(Int_t)",
"TParallelCoordEditor",
412 this,
"DoLiveAlpha(Int_t)");
414 this,
"DoAlphaField()");
417 this,
"DoLineType()");
419 this,
"DoSelectionSelect(const char*)");
421 this,
"DoSelectLineColor(Pixel_t)");
423 this,
"DoSelectLineWidth(Int_t)");
425 this,
"DoActivateSelection(Bool_t)");
427 this,
"DoShowRanges(Bool_t)");
429 this,
"DoDeleteSelection()");
431 this,
"DoAddSelection()");
433 this,
"DoPaintEntries(Bool_t)");
435 this,
"DoEntriesToDraw()");
437 this,
"DoLiveEntriesToDraw()");
439 this,
"DoFirstEntry()");
441 this,
"DoNentries()");
443 this,
"DoApplySelect()");
445 this,
"DoUnApply()");
447 this,
"DoDelayDrawing(Bool_t)");
449 this,
"DoAddVariable()");
451 this,
"DoAddVariable()");
453 this,
"DoHideAllRanges(Bool_t)");
455 this,
"DoVariableSelect(const char*)");
457 this,
"DoDeleteVar()");
459 this,
"DoHistWidth()");
461 this,
"DoHistBinning()");
463 this,
"DoWeightCut()");
465 this,
"DoLiveWeightCut(Int_t)");
467 this,
"DoWeightCut()");
469 this,
"DoHistColorSelect(Pixel_t)");
471 this,
"DoHistPatternSelect(Style_t)");
473 this,
"DoHistShowBoxes(Bool_t)");
498 if (title ==
"") title =
"Selection";
ULong_t Pixel_t
Pixel value.
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",...
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
void SetEnabled(Bool_t e=kTRUE)
Set enabled or disabled state of button.
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
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.
The base class for composite widgets (menu bars, list boxes, etc.).
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.
Dragging the slider will generate the event:
virtual Double_t GetMaxPositionD() const
virtual Long64_t GetMinPositionL() const
virtual Double_t GetMinPositionD() 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.
Concrete class for horizontal slider.
A composite frame that layout their children in horizontal way.
virtual void SetBackgroundColor(Pixel_t col)
Set background color (override from TGWindow base class).
This class handles GUI labels.
This class describes layout hints used by the layout classes.
The TGLineWidthComboBox user callable and it creates a combobox for selecting the line width.
virtual TGLBEntry * GetEntry(Int_t id) const
Returns list box entry with specified id.
virtual void SetNumber(Double_t val, Bool_t emit=kTRUE)
Set the numeric value (floating point representation).
virtual Double_t GetNumber() const
Get 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)
Yield an action as soon as it is clicked.
A TGTextEntry is a one line text input widget.
const char * GetText() const
void SetEnabled(Bool_t flag=kTRUE)
Text string listbox entries.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
virtual TGVerticalFrame * CreateEditorTabSubFrame(const char *name)
Create a vertical frame to be used by 'owner' in extra tab 'name'.
Bool_t fInit
init flag for setting signals/slots
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Int_t fPriority
location in GedEditor
Bool_t fAvoidSignal
flag for executing slots
is a button with pattern area with a little down arrow.
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 dot spacing.
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 weight 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 dot spacing 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 being 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.
@ kPaintEntries
To paint all TParallelCoord entries.
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)