/*************************************************************************** * Copyright (C) 2009 by Jack R * * lynx21.12.12@gmail.com * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ #ifndef OssimPlanetGUI_H #define OssimPlanetGUI_H #include #include #include #include class OssimPlanetQgisViewer; class ossimPlanet; class ossimPlanetManipulator; class ossimPlanetViewerCallback; class OssimPlanetGui : public QWidget { Q_OBJECT public: OssimPlanetGui(QgisInterface *, QWidget *parent = 0, Qt::WFlags fl = 0); ~OssimPlanetGui(); void convertLayer(); osg::ref_ptr layerGroup() { return mTextureLayers; } public slots: void uploadImages(); void lookAt(ossim_uint32 idx); private: QgisInterface *mQGisIface; osg::ref_ptr mGlobeViewer; osg::ref_ptr mTextureLayers; osg::ref_ptr mPlanet; osg::ref_ptr mManipulator; }; #endif