Line | |
---|
1 | |
---|
2 | #include <project.h> |
---|
3 | #include <osgProducer/Viewer> |
---|
4 | #include "customtrackball.h" |
---|
5 | #include "customterrainmanipulator.h" |
---|
6 | |
---|
7 | |
---|
8 | class CustomViewer : public osgProducer::Viewer |
---|
9 | { |
---|
10 | |
---|
11 | public: |
---|
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 | |
---|
17 | protected: |
---|
18 | CustomTrackballManipulator* _trackball; |
---|
19 | CustomTerrainManipulator* _terrainmanipulator; |
---|
20 | |
---|
21 | }; |
---|
22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.