Logo ROOT   6.14/05
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
virtual void SetModel(TObject *obj)
Set model object.
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
Definition: TGaxis.cxx:2551
TEveTrack * fM
int Int_t
Definition: RtypesCore.h:41
TGTextButton * fRSEditor
virtual ~TEveTrackEditor()
Composite GUI element for single value selection (supports label, number-entry and slider)...
#define ClassDef(name, id)
Definition: Rtypes.h:320
ULong_t Pixel_t
Definition: GuiTypes.h:39
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
TEveTrackEditor(const TEveTrackEditor &)
TEveTrackPropagatorSubEditor * fRSSubEditor
TEveGDoubleValuator * fPtRange
A list of tracks supporting change of common attributes and selection based on track parameters...
Definition: TEveTrack.h:137
Editor for TEveTrackList class.
TGVerticalFrame * fRefs
TEveGDoubleValuator * fPRange
Editor for TEveTrack class.
TEveTrackEditor & operator=(const TEveTrackEditor &)
unsigned int UInt_t
Definition: RtypesCore.h:42
Visual representation of a track.
Definition: TEveTrack.h:32
virtual ~TEveTrackListEditor()
TGCheckButton * fRnrPoints
TGCheckButton * fRnrLine
TEveTrackList * fTC
Mother of all ROOT objects.
Definition: TObject.h:37
Sub-editor for TEveTrackPropagator class.
void DoEditPropagator()
Slot for EditPropagator.
Composite GUI element for selection of range (label, two number-entries and double-slider).