forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TEveTrackEditor.h
95 lines (70 loc) · 2.92 KB
/
TEveTrackEditor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// @(#)root/eve:$Id$
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
/*************************************************************************
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TEveTrackEditors
#define ROOT_TEveTrackEditors
#include "TGedFrame.h"
class TGButton;
class TGCheckButton;
class TGNumberEntry;
class TGColorSelect;
class TEveGValuator;
class TEveGDoubleValuator;
class TEveTrackPropagatorSubEditor;
class TEveTrack;
class TEveTrackList;
/******************************************************************************/
// TEveTrackEditor
/******************************************************************************/
class TEveTrackEditor : public TGedFrame
{
private:
TEveTrackEditor(const TEveTrackEditor&); // Not implemented
TEveTrackEditor& operator=(const TEveTrackEditor&); // Not implemented
protected:
TEveTrack *fM;
TGTextButton *fRSEditor;
public:
TEveTrackEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
virtual ~TEveTrackEditor() {}
virtual void SetModel(TObject* obj);
void DoEditPropagator();
ClassDef(TEveTrackEditor, 0); // Editor for TEveTrack class.
};
/******************************************************************************/
// TEveTrackListEditor
/******************************************************************************/
class TEveTrackListEditor : public TGedFrame
{
private:
TEveTrackListEditor(const TEveTrackListEditor&); // Not implemented
TEveTrackListEditor& operator=(const TEveTrackListEditor&); // Not implemented
void CreateRefTab();
protected:
TGVerticalFrame *fRefs;
TEveTrackList *fTC; // fModel dynamic-casted to TEveTrackListEditor
TGCheckButton *fRnrLine;
TGCheckButton *fRnrPoints;
TEveGDoubleValuator *fPtRange;
TEveGDoubleValuator *fPRange;
TEveTrackPropagatorSubEditor *fRSSubEditor;
public:
TEveTrackListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
virtual ~TEveTrackListEditor() {}
void CreateRefsTab();
virtual void SetModel(TObject* obj);
void DoRnrLine();
void DoRnrPoints();
void DoPtRange();
void DoPRange();
ClassDef(TEveTrackListEditor, 0); // Editor for TEveTrackList class.
};
#endif