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
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=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{
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=0, Int_t width=170, Int_t height=30,
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
ULong_t Pixel_t
Definition: GuiTypes.h:39
int Int_t
Definition: RtypesCore.h:41
unsigned int UInt_t
Definition: RtypesCore.h:42
#define ClassDef(name, id)
Definition: Rtypes.h:326
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
@ kChildFrame
Definition: TGFrame.h:57
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.
virtual void SetModel(TObject *obj)
Set model object.
TEveTrackEditor(const TEveTrackEditor &)
TEveTrackEditor & operator=(const TEveTrackEditor &)
TGTextButton * fRSEditor
virtual ~TEveTrackEditor()
TEveTrack * fM
Editor for TEveTrackList class.
virtual ~TEveTrackListEditor()
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
virtual void SetModel(TObject *obj)
Set model object.
TEveGDoubleValuator * fPRange
TEveTrackPropagatorSubEditor * fRSSubEditor
void DoRnrLine()
Slot for RnrLine.
void DoPRange()
Slot for PRange.
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
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
Mother of all ROOT objects.
Definition: TObject.h:37