Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveTransEditor.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_TEveTransEditor
13#define ROOT_TEveTransEditor
14
15#include "TGedFrame.h"
16
17class TGCheckButton;
18class TGTextButton;
19
20class TEveTrans;
22
23
25{
26 TEveTransSubEditor(const TEveTransSubEditor&); // Not implemented
27 TEveTransSubEditor& operator=(const TEveTransSubEditor&); // Not implemented
28
29protected:
31
33
36
38
42
45
46public:
48 ~TEveTransSubEditor() override {}
49
50 void SetModel(TEveTrans* t);
51 void SetTransFromData();
52
53 void UseTrans(); //*SIGNAL*
54 void TransChanged(); //*SIGNAL*
55
56 void DoUseTrans();
57 void DoEditTrans();
58 void DoTransChanged();
59
63
64 ClassDefOverride(TEveTransSubEditor, 0); // Sub-editor for TEveTrans class.
65};
66
67
69{
70private:
71 TEveTransEditor(const TEveTransEditor&); // Not implemented
72 TEveTransEditor& operator=(const TEveTransEditor&); // Not implemented
73
74protected:
75 TEveTrans *fM; // Model object.
76 TEveTransSubEditor *fSE; // Actual editor widget.
77
78public:
80 ~TEveTransEditor() override {}
81
82 void SetModel(TObject* obj) override;
83
84 ClassDefOverride(TEveTransEditor, 0); // Editor for TEveTrans class.
85};
86
87#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
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 height
Composite GUI element for setting three numerical values (label, three number-entries).
Editor for TEveTrans class.
TEveTransSubEditor * fSE
ClassDefOverride(TEveTransEditor, 0)
void SetModel(TObject *obj) override
Set model object.
TEveTransEditor(const TEveTransEditor &)
~TEveTransEditor() override
TEveTransEditor & operator=(const TEveTransEditor &)
Sub-editor for TEveTrans class.
TEveGTriVecValuator * GetScaleValuator()
void UseTrans()
Emit "UseTrans()" signal.
void DoUseTrans()
Slot for UseTrans.
TEveGTriVecValuator * fScale
TEveGTriVecValuator * GetPosValuator()
TGHorizontalFrame * fTopHorFrame
ClassDefOverride(TEveTransSubEditor, 0)
~TEveTransSubEditor() override
TGCheckButton * fUseTrans
void DoEditTrans()
Slot for EditTrans.
TGTextButton * fUpdate
TEveGTriVecValuator * GetRotValuator()
void TransChanged()
Set transformation values from widget and emit "TransChanged()" signal.
void SetTransFromData()
Set model object from widget data.
void SetModel(TEveTrans *t)
Set model object.
void DoTransChanged()
Slot for TransChanged.
TGVerticalFrame * fEditTransFrame
TEveGTriVecValuator * fRot
TGCheckButton * fEditTrans
TGCheckButton * fAutoUpdate
TEveTransSubEditor(const TEveTransSubEditor &)
TEveGTriVecValuator * fPos
TEveTransSubEditor & operator=(const TEveTransSubEditor &)
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
Definition TEveTrans.h:27
Selects different options.
Definition TGButton.h:264
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
A composite frame that layout their children in horizontal way.
Definition TGFrame.h:385
Yield an action as soon as it is clicked.
Definition TGButton.h:142
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