Logo ROOT   6.14/05
Reference Guide
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;
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 
33 
36 
37 public:
38  TEveArrowEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
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
Composite GUI element for setting three numerical values (label, three number-entries).
virtual void SetModel(TObject *obj)
Set model object.
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
Definition: TGaxis.cxx:2551
void DoVertex()
Slot for origin and vector.
TEveGValuator * fTubeR
Class used for display of a thick arrow.
Definition: TEveArrow.h:21
int Int_t
Definition: RtypesCore.h:41
TEveGValuator * fConeR
Composite GUI element for single value selection (supports label, number-entry and slider)...
#define ClassDef(name, id)
Definition: Rtypes.h:320
ULong_t Pixel_t
Definition: GuiTypes.h:39
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
TEveGTriVecValuator * fOrigin
TEveArrowEditor & operator=(const TEveArrowEditor &)
TEveGTriVecValuator * fVector
void DoConeL()
Slot for ConeL.
virtual ~TEveArrowEditor()
TEveGValuator * fConeL
unsigned int UInt_t
Definition: RtypesCore.h:42
GUI editor for TEveArrow.
TEveArrow * fM
Mother of all ROOT objects.
Definition: TObject.h:37
TEveArrowEditor(const TEveArrowEditor &)
void DoConeR()
Slot for ConeR.
void DoTubeR()
Slot for TubeR.