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 void SetModel(TObject* obj) override;
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 ClassDefOverride(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
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
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 SetModel(TObject *obj) override
Set model object.
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.
void DoDistortion()
Slot for setting distortion.
ClassDefOverride(TEveProjectionManagerEditor, 0)
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:374
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