
// @(#)root/gl:$Id: TGL5DDataSetEditor.h 28619 2009-05-14 07:10:01Z brun $ // Author: Bertrand Bellenot 2009 /************************************************************************* * Copyright (C) 1995-2009, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ #ifndef ROOT_TGL5DDataSetEditor #define ROOT_TGL5DDataSetEditor #ifndef ROOT_TGedFrame #include "TGedFrame.h" #endif #ifndef ROOT_TGLUtil #include "TGLUtil.h" #endif class TGCheckButton; class TGNumberEntry; class TGDoubleSlider; class TGL5DPainter; class TGL5DDataSetEditor : public TGedFrame { private: TGCheckButton *fShowBoxCut; TGNumberEntry *fNumberOfPlanes; TGNumberEntry *fAlpha; TGCheckButton *fLogScale; TGDoubleSlider *fSlideRange; TGTextButton *fApplyAlpha; TGTextButton *fApplyPlanes; //Model TGL5DPainter *fPainter; void ConnectSignals2Slots(); TGL5DDataSetEditor(const TGL5DDataSetEditor &); TGL5DDataSetEditor &operator = (const TGL5DDataSetEditor &); void CreateStyleTab(); public: TGL5DDataSetEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); ~TGL5DDataSetEditor(); virtual void SetModel(TObject* obj); void DoAlpha(); void DoLogScale(); void DoPlanes(); void DoShowBoxCut(); void DoSliderRangeMoved(); void DoAlphaChanged(); void DoNContoursChanged(); ClassDef(TGL5DDataSetEditor, 0); //GUI for editing OpenGL 5D Viewer attributes }; #endif