12 #ifndef ROOT_TEveTransEditor
13 #define ROOT_TEveTransEditor
21 class TEveGTriVecValuator;
24 class TEveTransSubEditor :
public TGVerticalFrame
26 TEveTransSubEditor(
const TEveTransSubEditor&);
27 TEveTransSubEditor& operator=(
const TEveTransSubEditor&);
32 TGHorizontalFrame *fTopHorFrame;
34 TGCheckButton *fUseTrans;
35 TGCheckButton *fEditTrans;
37 TGVerticalFrame *fEditTransFrame;
39 TEveGTriVecValuator *fPos;
40 TEveGTriVecValuator *fRot;
41 TEveGTriVecValuator *fScale;
43 TGCheckButton *fAutoUpdate;
44 TGTextButton *fUpdate;
47 TEveTransSubEditor(TGWindow* p);
48 virtual ~TEveTransSubEditor() {}
50 void SetModel(TEveTrans* t);
51 void SetTransFromData();
58 void DoTransChanged();
60 TEveGTriVecValuator* GetPosValuator(){
return fPos;}
61 TEveGTriVecValuator* GetRotValuator(){
return fRot;}
62 TEveGTriVecValuator* GetScaleValuator(){
return fScale;}
64 ClassDef(TEveTransSubEditor, 0);
68 class TEveTransEditor :
public TGedFrame
71 TEveTransEditor(
const TEveTransEditor&);
72 TEveTransEditor& operator=(
const TEveTransEditor&);
76 TEveTransSubEditor *fSE;
79 TEveTransEditor(
const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
80 virtual ~TEveTransEditor() {}
82 virtual void SetModel(TObject* obj);
84 ClassDef(TEveTransEditor, 0);