Logo ROOT   6.16/01
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
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
ULong_t Pixel_t
Definition: GuiTypes.h:39
int Int_t
Definition: RtypesCore.h:41
unsigned int UInt_t
Definition: RtypesCore.h:42
#define ClassDef(name, id)
Definition: Rtypes.h:324
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
@ kChildFrame
Definition: TGFrame.h:57
int type
Definition: TGX11.cxx:120
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.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
Mother of all ROOT objects.
Definition: TObject.h:37