#ifndef ROOT_TGLClipSetEditor
#define ROOT_TGLClipSetEditor
#ifndef ROOT_TGedFrame
#include "TGedFrame.h"
#endif
#ifndef ROOT_TGLUtil
#include "TGLUtil.h"
#endif
class TGButton;
class TGCheckButton;
class TGNumberEntry;
class TGButtonGroup;
class TGLClipSet;
class TGLClipSetSubEditor : public TGVerticalFrame {
private:
TGLClipSetSubEditor(const TGLClipSetSubEditor&);
TGLClipSetSubEditor& operator=(const TGLClipSetSubEditor&);
protected:
TGLClipSet *fM;
EClipType fCurrentClip;
TGButtonGroup *fTypeButtons;
TGCompositeFrame *fPlanePropFrame;
TGNumberEntry *fPlaneProp[4];
TGCompositeFrame *fBoxPropFrame;
TGNumberEntry *fBoxProp[6];
TGCheckButton *fClipInside;
TGCheckButton *fClipEdit;
TGCheckButton *fClipShow;
TGButton *fApplyButton;
TGButton *fResetButton;
public:
TGLClipSetSubEditor(const TGWindow* p);
virtual ~TGLClipSetSubEditor() {}
void SetModel(TGLClipSet* m);
void Changed();
void ClipValueChanged();
void ClipTypeChanged(Int_t);
void UpdateViewerClip();
void ResetViewerClip();
ClassDef(TGLClipSetSubEditor, 0);
};
class TGLClipSetEditor : public TGedFrame {
private:
TGLClipSetEditor(const TGLClipSetEditor&);
TGLClipSetEditor& operator=(const TGLClipSetEditor&);
protected:
TGLClipSet *fM;
TGLClipSetSubEditor *fSE;
public:
TGLClipSetEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
virtual ~TGLClipSetEditor() {}
virtual void SetModel(TObject* obj);
ClassDef(TGLClipSetEditor, 0);
};
#endif
Last change: Mon Nov 24 08:19:13 2008
Last generated: 2008-11-24 08:19
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.