source: experimental/distortionNG/extViewer.h @ 312

Last change on this file since 312 was 311, checked in by Torben Dannhauer, 13 years ago
File size: 544 bytes
Line 
1#pragma once
2#include<osgViewer/Viewer>
3
4class extViewer : public osgViewer::Viewer
5{
6public:
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.*/
16        void setUpViewForDistortion();
17};
Note: See TracBrowser for help on using the repository browser.