osgEarth 2.1.1
Public Member Functions

osgEarth::ImageUtils::CopyImage Struct Reference

List of all members.

Public Member Functions

bool operator() (const osg::Vec4f &src, osg::Vec4f &dest)

Detailed Description

Simple functor to copy pixels from one image to another.

Usage: PixelVisitor<CopyImage>().accept( fromImage, toImage );

Definition at line 330 of file ImageUtils.


Member Function Documentation

bool osgEarth::ImageUtils::CopyImage::operator() ( const osg::Vec4f &  src,
osg::Vec4f &  dest 
) [inline]

Definition at line 331 of file ImageUtils.

                                                                   {
                dest = src;
                return true;
            }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines