Cuda::GilReference2D< Type > Class Template Reference

Reference to existing boost::gil image. More...

#include <specdim_gilreference2d.hpp>

Inheritance diagram for Cuda::GilReference2D< Type >:

Inheritance graph
[legend]
Collaboration diagram for Cuda::GilReference2D< Type >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GilReference2D (gil_image_t &image)
 Constructor.
 GilReference2D (const Size< 2 > &_size, gil_image_t &image)
 Constructor.
 GilReference2D ()
 Default constructor.
 GilReference2D (const Size< 2 > &_size, Type *_buffer)
 Constructor.
 GilReference2D (size_t size0, size_t size1, Type *_buffer)
 Constructor.
 GilReference2D (const Layout< Type, 2 > &layout, Type *_buffer)
 Constructor.


Detailed Description

template<class Type>
class Cuda::GilReference2D< Type >

Reference to existing boost::gil image.

GilReference template specialized for 2 dimension(s).


Constructor & Destructor Documentation

template<class Type>
Cuda::GilReference2D< Type >::GilReference2D ( gil_image_t &  image  )  [inline]

Constructor.

Parameters:
image boost::gil image to reference

template<class Type>
Cuda::GilReference2D< Type >::GilReference2D ( const Size< 2 > &  _size,
gil_image_t &  image 
) [inline]

Constructor.

This allocates memory for the boost::gil image of the given size.

Parameters:
_size size of image
image boost::gil image to reference

template<class Type>
Cuda::GilReference2D< Type >::GilReference2D ( const Size< 2 > &  _size,
Type *  _buffer 
) [inline]

Constructor.

Parameters:
_size size of memory block.
_buffer pointer to memory block to be referenced.

template<class Type>
Cuda::GilReference2D< Type >::GilReference2D ( size_t  size0,
size_t  size1,
Type *  _buffer 
) [inline]

Constructor.

Parameters:
size0,size1 size of memory block.
_buffer pointer to memory block to be referenced.

template<class Type>
Cuda::GilReference2D< Type >::GilReference2D ( const Layout< Type, 2 > &  layout,
Type *  _buffer 
) [inline]

Constructor.

Parameters:
layout requested layout of memory block.
_buffer pointer to memory block to be referenced.


The documentation for this class was generated from the following files:

Generated on Sun Sep 13 00:55:18 2009 for cudatemplates by  doxygen 1.5.6