Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveTrackEditor.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/eve:$Id$
0002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TEveTrackEditors
0013 #define ROOT_TEveTrackEditors
0014 
0015 #include "TGedFrame.h"
0016 
0017 class TGButton;
0018 class TGCheckButton;
0019 class TGNumberEntry;
0020 class TGColorSelect;
0021 
0022 class TEveGValuator;
0023 class TEveGDoubleValuator;
0024 class TEveTrackPropagatorSubEditor;
0025 class TEveTrack;
0026 class TEveTrackList;
0027 
0028 
0029 /******************************************************************************/
0030 // TEveTrackEditor
0031 /******************************************************************************/
0032 
0033 class TEveTrackEditor : public TGedFrame
0034 {
0035 private:
0036    TEveTrackEditor(const TEveTrackEditor&);            // Not implemented
0037    TEveTrackEditor& operator=(const TEveTrackEditor&); // Not implemented
0038 
0039 protected:
0040    TEveTrack                      *fM;
0041    TGTextButton                   *fRSEditor;
0042 public:
0043    TEveTrackEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
0044                    UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0045    ~TEveTrackEditor() override {}
0046 
0047    void SetModel(TObject* obj) override;
0048    void DoEditPropagator();
0049 
0050    ClassDefOverride(TEveTrackEditor, 0); // Editor for TEveTrack class.
0051 };
0052 
0053 
0054 /******************************************************************************/
0055 // TEveTrackListEditor
0056 /******************************************************************************/
0057 
0058 class TEveTrackListEditor : public TGedFrame
0059 {
0060 private:
0061    TEveTrackListEditor(const TEveTrackListEditor&);            // Not implemented
0062    TEveTrackListEditor& operator=(const TEveTrackListEditor&); // Not implemented
0063 
0064    void CreateRefTab();
0065 protected:
0066    TGVerticalFrame                 *fRefs;
0067 
0068    TEveTrackList                   *fTC; // fModel dynamic-casted to TEveTrackListEditor
0069 
0070    TGCheckButton                   *fRnrLine;
0071    TGCheckButton                   *fRnrPoints;
0072 
0073    TEveGDoubleValuator             *fPtRange;
0074    TEveGDoubleValuator             *fPRange;
0075 
0076    TEveTrackPropagatorSubEditor      *fRSSubEditor;
0077 
0078 public:
0079    TEveTrackListEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
0080                        UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0081    ~TEveTrackListEditor() override {}
0082 
0083    void CreateRefsTab();
0084    void SetModel(TObject* obj) override;
0085 
0086    void DoRnrLine();
0087    void DoRnrPoints();
0088 
0089    void DoPtRange();
0090    void DoPRange();
0091 
0092    ClassDefOverride(TEveTrackListEditor, 0); // Editor for TEveTrackList class.
0093 };
0094 
0095 #endif