Rev | Line | |
---|
[6] | 1 | |
---|
| 2 | #include <project.h> |
---|
| 3 | #include <osgProducer/Viewer> |
---|
| 4 | #include "customtrackball.h" |
---|
[66] | 5 | #include "customterrainmanipulator.h" |
---|
[6] | 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;} |
---|
[66] | 15 | virtual CustomTerrainManipulator* getTerrainManipulator(){return _terrainmanipulator;} |
---|
[6] | 16 | |
---|
| 17 | protected: |
---|
| 18 | CustomTrackballManipulator* _trackball; |
---|
[66] | 19 | CustomTerrainManipulator* _terrainmanipulator; |
---|
[6] | 20 | |
---|
| 21 | }; |
---|
| 22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.