12 #ifndef ROOT_TGLClipSetEditor
13 #define ROOT_TGLClipSetEditor
26 class TGLClipSetSubEditor :
public TGVerticalFrame
29 TGLClipSetSubEditor(
const TGLClipSetSubEditor&);
30 TGLClipSetSubEditor& operator=(
const TGLClipSetSubEditor&);
35 TGLClip::EType fCurrentClip;
36 TGButtonGroup *fTypeButtons;
38 TGCompositeFrame *fPlanePropFrame;
39 TGNumberEntry *fPlaneProp[4];
41 TGCompositeFrame *fBoxPropFrame;
42 TGNumberEntry *fBoxProp[6];
43 TGCheckButton *fClipInside;
44 TGCheckButton *fAutoUpdate;
45 TGCheckButton *fClipEdit;
46 TGCheckButton *fClipShow;
47 TGButton *fApplyButton;
48 TGButton *fResetButton;
51 TGLClipSetSubEditor(
const TGWindow* p);
52 virtual ~TGLClipSetSubEditor() {}
54 void SetModel(TGLClipSet* m);
59 void ClipValueChanged();
60 void ClipTypeChanged(Int_t);
61 void UpdateViewerClip();
62 void ResetViewerClip();
64 ClassDef(TGLClipSetSubEditor, 0);
68 class TGLClipSetEditor :
public TGedFrame {
71 TGLClipSetEditor(
const TGLClipSetEditor&);
72 TGLClipSetEditor& operator=(
const TGLClipSetEditor&);
76 TGLClipSetSubEditor *fSE;
79 TGLClipSetEditor(
const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
80 virtual ~TGLClipSetEditor() {}
82 virtual void SetModel(TObject* obj);
84 ClassDef(TGLClipSetEditor, 0);