00001 // @(#)root/eve:$Id: TEveArrowEditor.h 25696 2008-10-03 16:58:43Z matevz $ 00002 // Author: Matevz Tadel 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_TEveArrowEditor 00013 #define ROOT_TEveArrowEditor 00014 00015 #include "TGedFrame.h" 00016 00017 class TEveGValuator; 00018 class TEveArrow; 00019 class TEveGTriVecValuator; 00020 00021 class TEveArrowEditor : public TGedFrame 00022 { 00023 private: 00024 TEveArrowEditor(const TEveArrowEditor&); // Not implemented 00025 TEveArrowEditor& operator=(const TEveArrowEditor&); // Not implemented 00026 00027 protected: 00028 TEveArrow *fM; // Model object. 00029 00030 TEveGValuator *fTubeR; 00031 TEveGValuator *fConeR; 00032 TEveGValuator *fConeL; 00033 00034 TEveGTriVecValuator *fOrigin; 00035 TEveGTriVecValuator *fVector; 00036 00037 public: 00038 TEveArrowEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, 00039 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); 00040 virtual ~TEveArrowEditor() {} 00041 00042 virtual void SetModel(TObject* obj); 00043 00044 void DoTubeR(); 00045 void DoConeR(); 00046 void DoConeL(); 00047 void DoVertex(); 00048 00049 ClassDef(TEveArrowEditor, 0); // GUI editor for TEveArrow. 00050 }; 00051 00052 #endif