TEveElementEditor.h

Go to the documentation of this file.
00001 // @(#)root/eve:$Id: TEveElementEditor.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_TEveElementEditor
00013 #define ROOT_TEveElementEditor
00014 
00015 #include "TGedFrame.h"
00016 
00017 class TGCheckButton;
00018 class TGNumberEntry;
00019 class TGColorSelect;
00020 class TGLabel;
00021 
00022 class TEveElement;
00023 class TEveTransSubEditor;
00024 
00025 class TEveElementEditor : public TGedFrame
00026 {
00027    TEveElementEditor(const TEveElementEditor&);            // Not implemented
00028    TEveElementEditor& operator=(const TEveElementEditor&); // Not implemented
00029 
00030 protected:
00031    TEveElement         *fRE; // Model object.
00032 
00033    TGHorizontalFrame   *fHFrame;
00034    TGLabel             *fPreLabel;
00035    TGCheckButton       *fRnrSelf;
00036    TGCheckButton       *fRnrChildren;
00037    TGCheckButton       *fRnrState;
00038    TGColorSelect       *fMainColor;
00039    TGNumberEntry       *fTransparency;
00040    TEveTransSubEditor  *fTrans;
00041 
00042 public:
00043    TEveElementEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
00044                      UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
00045    virtual ~TEveElementEditor() {}
00046 
00047    virtual void SetModel(TObject* obj);
00048 
00049    void DoRnrSelf();
00050    void DoRnrChildren();
00051    void DoRnrState();
00052    void DoMainColor(Pixel_t color);
00053    void DoTransparency();
00054 
00055    ClassDef(TEveElementEditor, 1); // Editor for TEveElement class.
00056 };
00057 
00058 #endif

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