TEveTrackEditor.h

Go to the documentation of this file.
00001 // @(#)root/eve:$Id: TEveTrackEditor.h 25245 2008-08-25 21:44:09Z matevz $
00002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TEveTrackEditors
00013 #define ROOT_TEveTrackEditors
00014 
00015 #include "TGedFrame.h"
00016 
00017 class TGButton;
00018 class TGCheckButton;
00019 class TGNumberEntry;
00020 class TGColorSelect;
00021 
00022 class TEveGValuator;
00023 class TEveGDoubleValuator;
00024 class TEveTrackPropagatorSubEditor;
00025 class TEveTrack;
00026 class TEveTrackList;
00027 
00028 
00029 /******************************************************************************/
00030 // TEveTrackEditor
00031 /******************************************************************************/
00032 
00033 class TEveTrackEditor : public TGedFrame
00034 {
00035 private:
00036    TEveTrackEditor(const TEveTrackEditor&);            // Not implemented
00037    TEveTrackEditor& operator=(const TEveTrackEditor&); // Not implemented
00038 
00039 protected:
00040    TEveTrack                      *fM;
00041    TGTextButton                   *fRSEditor;
00042 public:
00043    TEveTrackEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
00044                    UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
00045    virtual ~TEveTrackEditor() {}
00046 
00047    virtual void SetModel(TObject* obj);
00048    void DoEditPropagator();
00049 
00050    ClassDef(TEveTrackEditor, 0); // Editor for TEveTrack class.
00051 };
00052 
00053 
00054 /******************************************************************************/
00055 // TEveTrackListEditor
00056 /******************************************************************************/
00057 
00058 class TEveTrackListEditor : public TGedFrame
00059 {
00060 private:
00061    TEveTrackListEditor(const TEveTrackListEditor&);            // Not implemented
00062    TEveTrackListEditor& operator=(const TEveTrackListEditor&); // Not implemented
00063 
00064    void CreateRefTab();
00065 protected:
00066    TGVerticalFrame                 *fRefs;
00067 
00068    TEveTrackList                   *fTC; // fModel dynamic-casted to TEveTrackListEditor
00069 
00070    TGCheckButton                   *fRnrLine;
00071    TGCheckButton                   *fRnrPoints;
00072 
00073    TEveGDoubleValuator             *fPtRange;
00074    TEveGDoubleValuator             *fPRange;
00075 
00076    TEveTrackPropagatorSubEditor      *fRSSubEditor;
00077 
00078 public:
00079    TEveTrackListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
00080                        UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
00081    virtual ~TEveTrackListEditor() {}
00082 
00083    void CreateRefsTab();
00084    virtual void SetModel(TObject* obj);
00085 
00086    void DoRnrLine();
00087    void DoRnrPoints();
00088 
00089    void DoPtRange();
00090    void DoPRange();
00091 
00092    ClassDef(TEveTrackListEditor, 0); // Editor for TEveTrackList class.
00093 };
00094 
00095 #endif

Generated on Tue Jul 5 14:15:01 2011 for ROOT_528-00b_version by  doxygen 1.5.1