// @(#)root/eve:$Id$
// Author: Matevz Tadel 2007

/*************************************************************************
 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TEveArrowEditor
#define ROOT_TEveArrowEditor

#include "TGedFrame.h"

class TEveGValuator;
class TEveArrow;
class TEveGTriVecValuator;

class TEveArrowEditor : public TGedFrame
{
private:
   TEveArrowEditor(const TEveArrowEditor&);            // Not implemented
   TEveArrowEditor& operator=(const TEveArrowEditor&); // Not implemented

protected:
   TEveArrow            *fM; // Model object.

   TEveGValuator        *fTubeR;
   TEveGValuator        *fConeR;
   TEveGValuator        *fConeL;

   TEveGTriVecValuator  *fOrigin;
   TEveGTriVecValuator  *fVector;

public:
   TEveArrowEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
         UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
   virtual ~TEveArrowEditor() {}

   virtual void SetModel(TObject* obj);

   void DoTubeR();
   void DoConeR();
   void DoConeL();
   void DoVertex();

   ClassDef(TEveArrowEditor, 0); // GUI editor for TEveArrow.
};

#endif
 TEveArrowEditor.h:1
 TEveArrowEditor.h:2
 TEveArrowEditor.h:3
 TEveArrowEditor.h:4
 TEveArrowEditor.h:5
 TEveArrowEditor.h:6
 TEveArrowEditor.h:7
 TEveArrowEditor.h:8
 TEveArrowEditor.h:9
 TEveArrowEditor.h:10
 TEveArrowEditor.h:11
 TEveArrowEditor.h:12
 TEveArrowEditor.h:13
 TEveArrowEditor.h:14
 TEveArrowEditor.h:15
 TEveArrowEditor.h:16
 TEveArrowEditor.h:17
 TEveArrowEditor.h:18
 TEveArrowEditor.h:19
 TEveArrowEditor.h:20
 TEveArrowEditor.h:21
 TEveArrowEditor.h:22
 TEveArrowEditor.h:23
 TEveArrowEditor.h:24
 TEveArrowEditor.h:25
 TEveArrowEditor.h:26
 TEveArrowEditor.h:27
 TEveArrowEditor.h:28
 TEveArrowEditor.h:29
 TEveArrowEditor.h:30
 TEveArrowEditor.h:31
 TEveArrowEditor.h:32
 TEveArrowEditor.h:33
 TEveArrowEditor.h:34
 TEveArrowEditor.h:35
 TEveArrowEditor.h:36
 TEveArrowEditor.h:37
 TEveArrowEditor.h:38
 TEveArrowEditor.h:39
 TEveArrowEditor.h:40
 TEveArrowEditor.h:41
 TEveArrowEditor.h:42
 TEveArrowEditor.h:43
 TEveArrowEditor.h:44
 TEveArrowEditor.h:45
 TEveArrowEditor.h:46
 TEveArrowEditor.h:47
 TEveArrowEditor.h:48
 TEveArrowEditor.h:49
 TEveArrowEditor.h:50
 TEveArrowEditor.h:51
 TEveArrowEditor.h:52