source: Swollen/swollen/customviewer.h @ 71

Last change on this file since 71 was 66, checked in by darran, 20 years ago
File size: 570 bytes
Line 
1
2#include <project.h>
3#include <osgProducer/Viewer>
4#include "customtrackball.h"
5#include "customterrainmanipulator.h"
6
7
8class CustomViewer : public osgProducer::Viewer
9{
10
11public:
12    CustomViewer(osg::ArgumentParser& arguments);
13    void setUpViewer(unsigned int options=STANDARD_SETTINGS);
14    virtual CustomTrackballManipulator* getTrackball(){return _trackball;}
15    virtual CustomTerrainManipulator* getTerrainManipulator(){return _terrainmanipulator;}
16
17protected:
18    CustomTrackballManipulator* _trackball;
19    CustomTerrainManipulator* _terrainmanipulator;
20
21};
22
Note: See TracBrowser for help on using the repository browser.