Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveTrackEditor.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TEveTrackEditors
13#define ROOT_TEveTrackEditors
14
15#include "TGedFrame.h"
16
17class TGButton;
18class TGCheckButton;
19class TGNumberEntry;
20class TGColorSelect;
21
22class TEveGValuator;
25class TEveTrack;
26class TEveTrackList;
27
28
29/******************************************************************************/
30// TEveTrackEditor
31/******************************************************************************/
32
34{
35private:
36 TEveTrackEditor(const TEveTrackEditor&); // Not implemented
37 TEveTrackEditor& operator=(const TEveTrackEditor&); // Not implemented
38
39protected:
42public:
43 TEveTrackEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
45 ~TEveTrackEditor() override {}
46
47 void SetModel(TObject* obj) override;
48 void DoEditPropagator();
49
50 ClassDefOverride(TEveTrackEditor, 0); // Editor for TEveTrack class.
51};
52
53
54/******************************************************************************/
55// TEveTrackListEditor
56/******************************************************************************/
57
59{
60private:
61 TEveTrackListEditor(const TEveTrackListEditor&); // Not implemented
63
65protected:
67
68 TEveTrackList *fTC; // fModel dynamic-casted to TEveTrackListEditor
69
72
75
77
78public:
79 TEveTrackListEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
82
83 void CreateRefsTab();
84 void SetModel(TObject* obj) override;
85
86 void DoRnrLine();
87 void DoRnrPoints();
88
89 void DoPtRange();
90 void DoPRange();
91
92 ClassDefOverride(TEveTrackListEditor, 0); // Editor for TEveTrackList class.
93};
94
95#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Composite GUI element for selection of range (label, two number-entries and double-slider).
Composite GUI element for single value selection (supports label, number-entry and slider).
Editor for TEveTrack class.
void DoEditPropagator()
Slot for EditPropagator.
ClassDefOverride(TEveTrackEditor, 0)
TEveTrackEditor(const TEveTrackEditor &)
TEveTrackEditor & operator=(const TEveTrackEditor &)
TGTextButton * fRSEditor
void SetModel(TObject *obj) override
Set model object.
~TEveTrackEditor() override
Editor for TEveTrackList class.
void CreateRefsTab()
Create tab for control of path-mark display.
TEveTrackListEditor(const TEveTrackListEditor &)
void DoRnrPoints()
Slot for RnrPoints.
TEveGDoubleValuator * fPtRange
TGCheckButton * fRnrPoints
TGVerticalFrame * fRefs
TGCheckButton * fRnrLine
TEveGDoubleValuator * fPRange
void SetModel(TObject *obj) override
Set model object.
TEveTrackPropagatorSubEditor * fRSSubEditor
void DoRnrLine()
Slot for RnrLine.
ClassDefOverride(TEveTrackListEditor, 0)
void DoPRange()
Slot for PRange.
~TEveTrackListEditor() override
TEveTrackListEditor & operator=(const TEveTrackListEditor &)
TEveTrackList * fTC
void DoPtRange()
Slot for PtRange.
A list of tracks supporting change of common attributes and selection based on track parameters.
Definition TEveTrack.h:140
Sub-editor for TEveTrackPropagator class.
Visual representation of a track.
Definition TEveTrack.h:33
A button abstract base class.
Definition TGButton.h:68
Selects different options.
Definition TGButton.h:264
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
TGNumberEntry is a number entry input widget with up/down buttons.
Yield an action as soon as it is clicked.
Definition TGButton.h:142
A composite frame that layout their children in vertical way.
Definition TGFrame.h:374
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
Mother of all ROOT objects.
Definition TObject.h:41