#include #include #include "customtrackball.h" #include "customterrainmanipulator.h" class CustomViewer : public osgProducer::Viewer { public: CustomViewer(osg::ArgumentParser& arguments); void setUpViewer(unsigned int options=STANDARD_SETTINGS); virtual CustomTrackballManipulator* getTrackball(){return _trackball;} virtual CustomTerrainManipulator* getTerrainManipulator(){return _terrainmanipulator;} protected: CustomTrackballManipulator* _trackball; CustomTerrainManipulator* _terrainmanipulator; };