Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveArrowEditor.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 // Author: Matevz Tadel 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_TEveArrowEditor
0013 #define ROOT_TEveArrowEditor
0014 
0015 #include "TGedFrame.h"
0016 
0017 class TEveGValuator;
0018 class TEveArrow;
0019 class TEveGTriVecValuator;
0020 
0021 class TEveArrowEditor : public TGedFrame
0022 {
0023 private:
0024    TEveArrowEditor(const TEveArrowEditor&);            // Not implemented
0025    TEveArrowEditor& operator=(const TEveArrowEditor&); // Not implemented
0026 
0027 protected:
0028    TEveArrow            *fM; // Model object.
0029 
0030    TEveGValuator        *fTubeR;
0031    TEveGValuator        *fConeR;
0032    TEveGValuator        *fConeL;
0033 
0034    TEveGTriVecValuator  *fOrigin;
0035    TEveGTriVecValuator  *fVector;
0036 
0037 public:
0038    TEveArrowEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
0039          UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0040    ~TEveArrowEditor() override {}
0041 
0042    void SetModel(TObject* obj) override;
0043 
0044    void DoTubeR();
0045    void DoConeR();
0046    void DoConeL();
0047    void DoVertex();
0048 
0049    ClassDefOverride(TEveArrowEditor, 0); // GUI editor for TEveArrow.
0050 };
0051 
0052 #endif