Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:43

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_TEveTriangleSetEditor
0013 #define ROOT_TEveTriangleSetEditor
0014 
0015 #include "TGedFrame.h"
0016 
0017 class TEveTriangleSet;
0018 
0019 class TGLabel;
0020 
0021 class TEveTriangleSetEditor : public TGedFrame
0022 {
0023 private:
0024    TEveTriangleSetEditor(const TEveTriangleSetEditor&);            // Not implemented
0025    TEveTriangleSetEditor& operator=(const TEveTriangleSetEditor&); // Not implemented
0026 
0027 protected:
0028    TEveTriangleSet    *fM;        // Model object.
0029 
0030    TGLabel            *fInfo;     // Info label.
0031 
0032 public:
0033    TEveTriangleSetEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0034    ~TEveTriangleSetEditor() override {}
0035 
0036    void SetModel(TObject* obj) override;
0037 
0038    ClassDefOverride(TEveTriangleSetEditor, 0); // Editor for TEveTriangleSet class.
0039 };
0040 
0041 #endif