source: experimental/TerrainTest/myTerrainTechnique.h @ 237

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