Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TEveArrowEditor.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Author: Matevz Tadel 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TEveArrowEditor
13 #define ROOT_TEveArrowEditor
14 
15 #include "TGedFrame.h"
16 
17 class TEveGValuator;
18 class TEveArrow;
19 class TEveGTriVecValuator;
20 
21 class TEveArrowEditor : public TGedFrame
22 {
23 private:
24  TEveArrowEditor(const TEveArrowEditor&); // Not implemented
25  TEveArrowEditor& operator=(const TEveArrowEditor&); // Not implemented
26 
27 protected:
28  TEveArrow *fM; // Model object.
29 
30  TEveGValuator *fTubeR;
31  TEveGValuator *fConeR;
32  TEveGValuator *fConeL;
33 
34  TEveGTriVecValuator *fOrigin;
35  TEveGTriVecValuator *fVector;
36 
37 public:
38  TEveArrowEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
39  UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
40  virtual ~TEveArrowEditor() {}
41 
42  virtual void SetModel(TObject* obj);
43 
44  void DoTubeR();
45  void DoConeR();
46  void DoConeL();
47  void DoVertex();
48 
49  ClassDef(TEveArrowEditor, 0); // GUI editor for TEveArrow.
50 };
51 
52 #endif