Logo ROOT  
Reference Guide
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 
17 class TGButton;
18 class TGCheckButton;
19 class TGNumberEntry;
20 class TGColorSelect;
21 
22 class TEveGValuator;
25 class TEveTrack;
26 class TEveTrackList;
27 
28 
29 /******************************************************************************/
30 // TEveTrackEditor
31 /******************************************************************************/
32 
33 class TEveTrackEditor : public TGedFrame
34 {
35 private:
36  TEveTrackEditor(const TEveTrackEditor&); // Not implemented
37  TEveTrackEditor& operator=(const TEveTrackEditor&); // Not implemented
38 
39 protected:
42 public:
43  TEveTrackEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
45  virtual ~TEveTrackEditor() {}
46 
47  virtual void SetModel(TObject* obj);
48  void DoEditPropagator();
49 
50  ClassDef(TEveTrackEditor, 0); // Editor for TEveTrack class.
51 };
52 
53 
54 /******************************************************************************/
55 // TEveTrackListEditor
56 /******************************************************************************/
57 
59 {
60 private:
61  TEveTrackListEditor(const TEveTrackListEditor&); // Not implemented
62  TEveTrackListEditor& operator=(const TEveTrackListEditor&); // Not implemented
63 
64  void CreateRefTab();
65 protected:
67 
68  TEveTrackList *fTC; // fModel dynamic-casted to TEveTrackListEditor
69 
72 
75 
77 
78 public:
79  TEveTrackListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
81  virtual ~TEveTrackListEditor() {}
82 
83  void CreateRefsTab();
84  virtual void SetModel(TObject* obj);
85 
86  void DoRnrLine();
87  void DoRnrPoints();
88 
89  void DoPtRange();
90  void DoPRange();
91 
92  ClassDef(TEveTrackListEditor, 0); // Editor for TEveTrackList class.
93 };
94 
95 #endif
TEveTrackPropagatorSubEditor
Sub-editor for TEveTrackPropagator class.
Definition: TEveTrackPropagatorEditor.h:34
TGWindow
ROOT GUI Window base class.
Definition: TGWindow.h:23
TEveTrackListEditor::fPRange
TEveGDoubleValuator * fPRange
Definition: TEveTrackEditor.h:74
TEveTrackListEditor
Editor for TEveTrackList class.
Definition: TEveTrackEditor.h:59
Pixel_t
ULong_t Pixel_t
Pixel value.
Definition: GuiTypes.h:40
TEveGValuator
Composite GUI element for single value selection (supports label, number-entry and slider).
Definition: TEveGValuators.h:58
TEveTrackListEditor::DoRnrPoints
void DoRnrPoints()
Slot for RnrPoints.
Definition: TEveTrackEditor.cxx:191
TEveTrackListEditor::DoRnrLine
void DoRnrLine()
Slot for RnrLine.
Definition: TEveTrackEditor.cxx:182
width
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
TGTextButton
Yield an action as soon as it is clicked.
Definition: TGButton.h:142
TEveTrackListEditor::~TEveTrackListEditor
virtual ~TEveTrackListEditor()
Definition: TEveTrackEditor.h:81
TEveTrackListEditor::fPtRange
TEveGDoubleValuator * fPtRange
Definition: TEveTrackEditor.h:73
TEveTrackListEditor::DoPRange
void DoPRange()
Slot for PRange.
Definition: TEveTrackEditor.cxx:209
TEveTrackList
A list of tracks supporting change of common attributes and selection based on track parameters.
Definition: TEveTrack.h:140
TGFrame::GetDefaultFrameBackground
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:683
TEveTrackEditor::SetModel
virtual void SetModel(TObject *obj)
Set model object.
Definition: TEveTrackEditor.cxx:57
TEveTrackListEditor::SetModel
virtual void SetModel(TObject *obj)
Set model object.
Definition: TEveTrackEditor.cxx:162
TEveTrackListEditor::TEveTrackListEditor
TEveTrackListEditor(const TEveTrackListEditor &)
TGCheckButton
Selects different options.
Definition: TGButton.h:264
TGedFrame.h
TEveTrackListEditor::CreateRefTab
void CreateRefTab()
TGVerticalFrame
A composite frame that layout their children in vertical way.
Definition: TGFrame.h:375
TEveTrackListEditor::fTC
TEveTrackList * fTC
Definition: TEveTrackEditor.h:68
TEveTrackEditor
Editor for TEveTrack class.
Definition: TEveTrackEditor.h:34
TEveGDoubleValuator
Composite GUI element for selection of range (label, two number-entries and double-slider).
Definition: TEveGValuators.h:109
TEveTrackEditor::~TEveTrackEditor
virtual ~TEveTrackEditor()
Definition: TEveTrackEditor.h:45
TEveTrackListEditor::fRnrLine
TGCheckButton * fRnrLine
Definition: TEveTrackEditor.h:70
unsigned int
TEveTrack
Visual representation of a track.
Definition: TEveTrack.h:33
TEveTrackListEditor::fRSSubEditor
TEveTrackPropagatorSubEditor * fRSSubEditor
Definition: TEveTrackEditor.h:76
TGedFrame
Base frame for implementing GUI - a service class.
Definition: TGedFrame.h:27
TEveTrackListEditor::CreateRefsTab
void CreateRefsTab()
Create tab for control of path-mark display.
Definition: TEveTrackEditor.cxx:138
TEveTrackListEditor::fRefs
TGVerticalFrame * fRefs
Definition: TEveTrackEditor.h:66
TObject
Mother of all ROOT objects.
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TEveTrackListEditor::operator=
TEveTrackListEditor & operator=(const TEveTrackListEditor &)
TGColorSelect
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
Definition: TGColorSelect.h:104
TEveTrackListEditor::fRnrPoints
TGCheckButton * fRnrPoints
Definition: TEveTrackEditor.h:71
TEveTrackEditor::fRSEditor
TGTextButton * fRSEditor
Definition: TEveTrackEditor.h:41
TEveTrackEditor::DoEditPropagator
void DoEditPropagator()
Slot for EditPropagator.
Definition: TEveTrackEditor.cxx:65
TGNumberEntry
TGNumberEntry is a number entry input widget with up/down buttons.
Definition: TGNumberEntry.h:148
TGButton
A button abstract base class.
Definition: TGButton.h:68
TEveTrackEditor::fM
TEveTrack * fM
Definition: TEveTrackEditor.h:40
TEveTrackEditor::TEveTrackEditor
TEveTrackEditor(const TEveTrackEditor &)
TEveTrackEditor::operator=
TEveTrackEditor & operator=(const TEveTrackEditor &)
kChildFrame
@ kChildFrame
Definition: GuiTypes.h:379
int
TEveTrackListEditor::DoPtRange
void DoPtRange()
Slot for PtRange.
Definition: TEveTrackEditor.cxx:200