osgEarth 2.1.1
Classes | Functions

/home/cube/sources/osgearth/src/osgEarthDrivers/engine_droam/MeshManager.cpp File Reference

#include "MeshManager"
#include <osg/CullFace>
#include <osg/Texture2D>
Include dependency graph for MeshManager.cpp:

Go to the source code of this file.

Classes

struct  ImageRequest

Functions

static void outlineTexture (osg::Image *image)

Function Documentation

static void outlineTexture ( osg::Image *  image) [static]

Definition at line 139 of file MeshManager.cpp.

{
    for( int s=1; s<image->s()-1; ++s )
    {
        *((unsigned int*)image->data( s, 1 )) = 0x00ff00ff;
        *((unsigned int*)image->data( s, image->t()-2 )) = 0x00ff00ff;
    }

    for( int t=1; t<image->t()-1; ++t )
    {
        *((unsigned int*)image->data( 1, t )) = 0x00ff00ff;
        *((unsigned int*)image->data( image->s()-2, t )) = 0x00ff00ff;
    }
}

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines