Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TEveProjectionManagerEditor.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_TEveProjectionManagerEditor
13 #define ROOT_TEveProjectionManagerEditor
14 
15 #include "TGedFrame.h"
16 
17 class TGComboBox;
18 class TGCheckButton;
19 class TGNumberEntry;
20 class TGColorSelect;
21 
22 class TEveProjectionManager;
23 class TEveGValuator;
24 
25 class TEveProjectionManagerEditor : public TGedFrame
26 {
27 private:
28  TEveProjectionManagerEditor(const TEveProjectionManagerEditor&); // Not implemented
29  TEveProjectionManagerEditor& operator=(const TEveProjectionManagerEditor&); // Not implemented
30 
31 protected:
32  TEveProjectionManager *fM; // Model object.
33 
34  TGComboBox *fType; // TEveProjection type widget
35  TEveGValuator *fDistortion; // TEveProjection distortion widget
36  TEveGValuator *fFixR; // TEveProjection fixed-radius widget
37  TEveGValuator *fFixZ; // TEveProjection fixed-z widget
38  TEveGValuator *fPastFixRFac; // TEveProjection relative scale after FixR
39  TEveGValuator *fPastFixZFac; // TEveProjection relative scale after FixZ
40  TEveGValuator *fCurrentDepth; // TEveProjection z-coordinate widget
41  TEveGValuator *fMaxTrackStep; // TEveProjection relative scale after FixZ
42 
43  TGVerticalFrame *fCenterFrame; // parent frame for distortion center
44  TEveGValuator *fCenterX; // center x value widget
45  TEveGValuator *fCenterY; // center y value widget
46  TEveGValuator *fCenterZ; // center z value widget
47 
48 public:
49  TEveProjectionManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
50  virtual ~TEveProjectionManagerEditor(){}
51 
52  virtual void SetModel(TObject* obj);
53 
54  // Declare callback/slot methods
55 
56  void DoType(Int_t type);
57  void DoDistortion();
58  void DoFixR();
59  void DoFixZ();
60  void DoPastFixRFac();
61  void DoPastFixZFac();
62  void DoCurrentDepth();
63  void DoMaxTrackStep();
64  void DoCenter();
65 
66  ClassDef(TEveProjectionManagerEditor, 0); // Editor for TEveProjectionManager class.
67 };
68 
69 #endif