Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
17class TGComboBox;
18class TGCheckButton;
19class TGNumberEntry;
20class TGColorSelect;
21
23class TEveGValuator;
24
26{
27private:
30
31protected:
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
48public:
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
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
int Int_t
Definition RtypesCore.h:45
#define ClassDef(name, id)
Definition Rtypes.h:325
include TDocParser_001 C image html pict1_TDocParser_001 png width
int type
Definition TGX11.cxx:121
Composite GUI element for single value selection (supports label, number-entry and slider).
GUI editor for TEveProjectionManager class.
void DoPastFixZFac()
Slot for setting fixed z-coordinate.
void DoCurrentDepth()
Slot for setting current depth.
void DoType(Int_t type)
Slot for setting of projection type.
TEveProjectionManagerEditor(const TEveProjectionManagerEditor &)
void DoMaxTrackStep()
Slot for setting fixed z-coordinate.
void DoCenter()
Slot for setting center of distortion.
virtual void SetModel(TObject *obj)
Set model object.
void DoDistortion()
Slot for setting distortion.
TEveProjectionManagerEditor & operator=(const TEveProjectionManagerEditor &)
void DoFixZ()
Slot for setting fixed z-coordinate.
void DoFixR()
Slot for setting fixed radius.
void DoPastFixRFac()
Slot for setting fixed radius.
Manager class for steering of projections and managing projected objects.
Selects different options.
Definition TGButton.h:264
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
Definition TGComboBox.h:47
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
TGNumberEntry is a number entry input widget with up/down buttons.
A composite frame that layout their children in vertical way.
Definition TGFrame.h:375
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
Mother of all ROOT objects.
Definition TObject.h:41