source: experimental/distortionNG/DistortionSetupStrategy.h @ 432

Last change on this file since 432 was 394, checked in by Torben Dannhauer, 12 years ago

vertex- and texcoord warping works now :)

File size: 1.6 KB
RevLine 
[371]1/* osgVisual test. distortionNG, experimental.
2*
3*  Permission is hereby granted, free of charge, to any person obtaining a copy
4*  of this software and associated documentation files (the "Software"), to deal
5*  in the Software without restriction, including without limitation the rights
6*  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7*  copies of the Software, and to permit persons to whom the Software is
8*  furnished to do so, subject to the following conditions:
9*
10*  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11*  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12*  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13*  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14*  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15*  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
16*  THE SOFTWARE.
17*/
18
19#ifndef OSGGA_DISTORTION_SETUP_STRATEGY
20#define OSGGA_DISTORTION_SETUP_STRATEGY 1
21
22#include <osg/Referenced>
23
24#include "DistortionSet.h"
25
26/**
27 * \brief This class must be subclassed with a concrete strategy to setup the distortion
28 *
29 * @author Torben Dannhauer
30 * @date  Jun 2012
31 */ 
32class DistortionSetupStrategy  : public osg::Referenced
33{
34public:
35        DistortionSetupStrategy();
[372]36        virtual ~DistortionSetupStrategy();
[371]37        virtual void delegateDistortionSetup(osgViewer::DistortionSet* distortionSet)=0;
38
39protected:
40
41};
42
43
44#endif /* OSGGA_DISTORTION_SETUP_STRATEGY */
Note: See TracBrowser for help on using the repository browser.