Logo ROOT   6.10/09
Reference Guide
TEveLineEditor.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 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_TEveLineEditor
13 #define ROOT_TEveLineEditor
14 
15 #include "TGedFrame.h"
16 
17 class TGCheckButton;
18 class TGNumberEntry;
19 class TGColorSelect;
20 
21 class TEveLine;
22 
23 class TEveLineEditor : public TGedFrame
24 {
25 private:
26  TEveLineEditor(const TEveLineEditor&); // Not implemented
27  TEveLineEditor& operator=(const TEveLineEditor&); // Not implemented
28 
29 protected:
30  TEveLine *fM; // Model object.
31 
32  TGCheckButton *fRnrLine; // Checkbox for line-rendering.
33  TGCheckButton *fRnrPoints; // Checkbox for point-rendering.
34  TGCheckButton *fSmooth; // Checkbox for line smoothing.
35 
36 public:
37  TEveLineEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
38  virtual ~TEveLineEditor() {}
39 
40  virtual void SetModel(TObject* obj);
41 
42  void DoRnrLine();
43  void DoRnrPoints();
44  void DoSmooth();
45 
46  ClassDef(TEveLineEditor, 0); // Editor for TEveLine class.
47 };
48 
49 #endif
TGCheckButton * fRnrLine
void DoSmooth()
Slot for anti-alias.
TGCheckButton * fSmooth
An arbitrary polyline with fixed line and marker attributes.
Definition: TEveLine.h:24
virtual void SetModel(TObject *obj)
Set model object.
Editor for TEveLine class.
int Int_t
Definition: RtypesCore.h:41
void DoRnrPoints()
Slot for RnrPoints.
TEveLineEditor(const TEveLineEditor &)
#define ClassDef(name, id)
Definition: Rtypes.h:297
ULong_t Pixel_t
Definition: GuiTypes.h:39
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
virtual ~TEveLineEditor()
unsigned int UInt_t
Definition: RtypesCore.h:42
TEveLineEditor & operator=(const TEveLineEditor &)
TEveLine * fM
Mother of all ROOT objects.
Definition: TObject.h:37
void DoRnrLine()
Slot for RnrLine.
TGCheckButton * fRnrPoints