source: experimental/TerrainTest/myTerrainTechnique.h @ 219

Last change on this file since 219 was 172, checked in by Torben Dannhauer, 14 years ago
File size: 678 bytes
Line 
1#pragma once
2
3#include <osgTerrain/GeometryTechnique>
4#include <osg/Image>
5
6
7namespace osgTerrain {
8
9class myTerrainTechnique : public osgTerrain::GeometryTechnique
10{
11public:
12        myTerrainTechnique(void);
13
14        /** Copy constructor using CopyOp to manage deep vs shallow copy.*/
15    myTerrainTechnique(const GeometryTechnique&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
16
17        META_Object(osgTerrain, myTerrainTechnique);
18
19        ~myTerrainTechnique(void);
20
21        virtual void init(int dirtyMask, bool assumeMultiThreaded);
22
23        void ConvertImage(osg::ref_ptr<osg::Image> a_toImage, osg::ref_ptr<osg::Image> a_fromImage, GLenum a_pixelFormat, GLenum a_dataType);
24};
25
26}
Note: See TracBrowser for help on using the repository browser.