00001 // Author: Richard Maunder 04/08/05 00002 00003 /************************************************************************* 00004 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * 00005 * All rights reserved. * 00006 * * 00007 * For the licensing terms see $ROOTSYS/LICENSE. * 00008 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00009 *************************************************************************/ 00010 00011 #ifndef ROOT_TX3DFrame 00012 #define ROOT_TX3DFrame 00013 00014 ////////////////////////////////////////////////////////////////////////// 00015 // // 00016 // TViewerX3D // 00017 // // 00018 // C++ interface to the X3D viewer // 00019 // // 00020 ////////////////////////////////////////////////////////////////////////// 00021 00022 #ifndef ROOT_TGFrame 00023 #include "TGFrame.h" 00024 #endif 00025 00026 class TViewerX3D; 00027 00028 class TX3DFrame : public TGMainFrame 00029 { 00030 private: 00031 TViewerX3D & fViewer; 00032 00033 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2); 00034 void CloseWindow(); 00035 00036 public: 00037 TX3DFrame(TViewerX3D & viewer, const TGWindow * win, UInt_t width, UInt_t height); 00038 ~TX3DFrame(); 00039 }; 00040 00041 #endif