Logo ROOT   6.14/05
Reference Guide
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 
23 class TEveGValuator;
24 
26 {
27 private:
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:
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
void DoCurrentDepth()
Slot for setting current depth.
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
Definition: TGaxis.cxx:2551
void DoCenter()
Slot for setting center of distortion.
void DoType(Int_t type)
Slot for setting of projection type.
int Int_t
Definition: RtypesCore.h:41
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
virtual void SetModel(TObject *obj)
Set model object.
Manager class for steering of projections and managing projected objects.
GUI editor for TEveProjectionManager class.
unsigned int UInt_t
Definition: RtypesCore.h:42
void DoMaxTrackStep()
Slot for setting fixed z-coordinate.
void DoPastFixRFac()
Slot for setting fixed radius.
void DoPastFixZFac()
Slot for setting fixed z-coordinate.
void DoFixR()
Slot for setting fixed radius.
int type
Definition: TGX11.cxx:120
TEveProjectionManagerEditor(const TEveProjectionManagerEditor &)
Mother of all ROOT objects.
Definition: TObject.h:37
void DoDistortion()
Slot for setting distortion.
TEveProjectionManagerEditor & operator=(const TEveProjectionManagerEditor &)
void DoFixZ()
Slot for setting fixed z-coordinate.