TEveLineEditor.h

Go to the documentation of this file.
00001 // @(#)root/eve:$Id: TEveLineEditor.h 22539 2008-03-08 14:36:37Z rdm $
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_TEveLineEditor
00013 #define ROOT_TEveLineEditor
00014 
00015 #include "TGedFrame.h"
00016 
00017 class TGCheckButton;
00018 class TGNumberEntry;
00019 class TGColorSelect;
00020 
00021 class TEveLine;
00022 
00023 class TEveLineEditor : public TGedFrame
00024 {
00025 private:
00026    TEveLineEditor(const TEveLineEditor&);            // Not implemented
00027    TEveLineEditor& operator=(const TEveLineEditor&); // Not implemented
00028 
00029 protected:
00030    TEveLine          *fM;          // Model object.
00031 
00032    TGCheckButton     *fRnrLine;    // Checkbox for line-rendering.
00033    TGCheckButton     *fRnrPoints;  // Checkbox for point-rendering.
00034    TGCheckButton     *fSmooth;     // Checkbox for line smoothing.
00035 
00036 public:
00037    TEveLineEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
00038    virtual ~TEveLineEditor() {}
00039 
00040    virtual void SetModel(TObject* obj);
00041 
00042    void DoRnrLine();
00043    void DoRnrPoints();
00044    void DoSmooth();
00045 
00046    ClassDef(TEveLineEditor, 0); // Editor for TEveLine class.
00047 };
00048 
00049 #endif

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