Rev | Line | |
---|
[310] | 1 | #pragma once |
---|
| 2 | #include<osgViewer/Viewer> |
---|
| 3 | |
---|
| 4 | class extViewer : public osgViewer::Viewer |
---|
| 5 | { |
---|
| 6 | public: |
---|
[311] | 7 | extViewer(); |
---|
| 8 | |
---|
| 9 | extViewer(osg::ArgumentParser& arguments); |
---|
| 10 | |
---|
| 11 | extViewer(const osgViewer::Viewer& viewer, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); |
---|
| 12 | |
---|
| 13 | virtual ~extViewer(); |
---|
| 14 | |
---|
| 15 | /** Convenience method for projection on curved screens using a slave camera rendering scene and a second camera doing distortion correction to present on a nonplaner display.*/ |
---|
[315] | 16 | void setUpViewForManualDistortion(unsigned int screenNum=0, osg::Image* intensityMap=0, const osg::Matrixd& projectorMatrix = osg::Matrixd()); |
---|
[313] | 17 | |
---|
[316] | 18 | static osg::Geometry* createMesh(const osg::Vec3& origin, const osg::Vec3& widthVector, const osg::Vec3& heightVector, unsigned int columns, unsigned int rows); |
---|
[310] | 19 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.