Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveLineEditor.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_TEveLineEditor
0013 #define ROOT_TEveLineEditor
0014 
0015 #include "TGedFrame.h"
0016 
0017 class TGCheckButton;
0018 class TGNumberEntry;
0019 class TGColorSelect;
0020 
0021 class TEveLine;
0022 
0023 class TEveLineEditor : public TGedFrame
0024 {
0025 private:
0026    TEveLineEditor(const TEveLineEditor&);            // Not implemented
0027    TEveLineEditor& operator=(const TEveLineEditor&); // Not implemented
0028 
0029 protected:
0030    TEveLine          *fM;          // Model object.
0031 
0032    TGCheckButton     *fRnrLine;    // Checkbox for line-rendering.
0033    TGCheckButton     *fRnrPoints;  // Checkbox for point-rendering.
0034    TGCheckButton     *fSmooth;     // Checkbox for line smoothing.
0035 
0036 public:
0037    TEveLineEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0038    ~TEveLineEditor() override {}
0039 
0040    void SetModel(TObject* obj) override;
0041 
0042    void DoRnrLine();
0043    void DoRnrPoints();
0044    void DoSmooth();
0045 
0046    ClassDefOverride(TEveLineEditor, 0); // Editor for TEveLine class.
0047 };
0048 
0049 #endif