#ifndef ROOT_TEveTransEditor
#define ROOT_TEveTransEditor
#include "TGedFrame.h"
class TGCheckButton;
class TGTextButton;
class TEveTrans;
class TEveGTriVecValuator;
class TEveTransSubEditor : public TGVerticalFrame
{
TEveTransSubEditor(const TEveTransSubEditor&);
TEveTransSubEditor& operator=(const TEveTransSubEditor&);
protected:
TEveTrans *fTrans;
TGHorizontalFrame *fTopHorFrame;
TGCheckButton *fUseTrans;
TGCheckButton *fEditTrans;
TGVerticalFrame *fEditTransFrame;
TEveGTriVecValuator *fPos;
TEveGTriVecValuator *fRot;
TEveGTriVecValuator *fScale;
TGCheckButton *fAutoUpdate;
TGTextButton *fUpdate;
public:
TEveTransSubEditor(TGWindow* p);
virtual ~TEveTransSubEditor() {}
void SetModel(TEveTrans* t);
void SetTransFromData();
void UseTrans();
void TransChanged();
void DoUseTrans();
void DoEditTrans();
void DoTransChanged();
TEveGTriVecValuator* GetPosValuator(){ return fPos;}
TEveGTriVecValuator* GetRotValuator(){ return fRot;}
TEveGTriVecValuator* GetScaleValuator(){ return fScale;}
ClassDef(TEveTransSubEditor, 0);
};
class TEveTransEditor : public TGedFrame
{
private:
TEveTransEditor(const TEveTransEditor&);
TEveTransEditor& operator=(const TEveTransEditor&);
protected:
TEveTrans *fM;
TEveTransSubEditor *fSE;
public:
TEveTransEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
virtual ~TEveTransEditor() {}
virtual void SetModel(TObject* obj);
ClassDef(TEveTransEditor, 1);
};
#endif
Last change: Wed Jun 25 08:38:33 2008
Last generated: 2008-06-25 08:38
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.