forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TEveProjectionManagerEditor.h
69 lines (54 loc) · 2.55 KB
/
TEveProjectionManagerEditor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// @(#)root/eve:$Id$
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
/*************************************************************************
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TEveProjectionManagerEditor
#define ROOT_TEveProjectionManagerEditor
#include "TGedFrame.h"
class TGComboBox;
class TGCheckButton;
class TGNumberEntry;
class TGColorSelect;
class TEveProjectionManager;
class TEveGValuator;
class TEveProjectionManagerEditor : public TGedFrame
{
private:
TEveProjectionManagerEditor(const TEveProjectionManagerEditor&); // Not implemented
TEveProjectionManagerEditor& operator=(const TEveProjectionManagerEditor&); // Not implemented
protected:
TEveProjectionManager *fM; // Model object.
TGComboBox *fType; // TEveProjection type widget
TEveGValuator *fDistortion; // TEveProjection distortion widget
TEveGValuator *fFixR; // TEveProjection fixed-radius widget
TEveGValuator *fFixZ; // TEveProjection fixed-z widget
TEveGValuator *fPastFixRFac; // TEveProjection relative scale after FixR
TEveGValuator *fPastFixZFac; // TEveProjection relative scale after FixZ
TEveGValuator *fCurrentDepth; // TEveProjection z-coordinate widget
TEveGValuator *fMaxTrackStep; // TEveProjection relative scale after FixZ
TGVerticalFrame *fCenterFrame; // parent frame for distortion center
TEveGValuator *fCenterX; // center x value widget
TEveGValuator *fCenterY; // center y value widget
TEveGValuator *fCenterZ; // center z value widget
public:
TEveProjectionManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
virtual ~TEveProjectionManagerEditor(){}
virtual void SetModel(TObject* obj);
// Declare callback/slot methods
void DoType(Int_t type);
void DoDistortion();
void DoFixR();
void DoFixZ();
void DoPastFixRFac();
void DoPastFixZFac();
void DoCurrentDepth();
void DoMaxTrackStep();
void DoCenter();
ClassDef(TEveProjectionManagerEditor, 0); // Editor for TEveProjectionManager class.
};
#endif