kn::ImageRGB< T > Class Template Reference

Class for RGB image. More...

#include <ImageRGB.hpp>

Inherits Image< T >.

Collaboration diagram for kn::ImageRGB< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ImageRGB ()
 Constructor to build a 0 size image.
 ImageRGB (const size_t w, const size_t h, T *buffer=NULL)
 Constructor to build an allocated empty image RGB or an image from a raw data buffer.
 ImageRGB (const ImageRGB &e)
 Copy Constructor.
virtual ~ImageRGB ()
 dealoccates image data


Detailed Description

template<typename T>
class kn::ImageRGB< T >

Class for RGB image.

Definition at line 52 of file ImageRGB.hpp.


Constructor & Destructor Documentation

template<typename T >
kn::ImageRGB< T >::ImageRGB ( void   )  [inline]

Constructor to build a 0 size image.

Definition at line 85 of file ImageRGB.hpp.

template<typename T >
kn::ImageRGB< T >::ImageRGB ( const size_t  w,
const size_t  h,
T *  buffer = NULL 
) [inline]

Constructor to build an allocated empty image RGB or an image from a raw data buffer.

Parameters:
w width of the image
h height of the image
buffer optional data buffer WHICH IS NOT COPYIED

Definition at line 90 of file ImageRGB.hpp.

template<typename T >
kn::ImageRGB< T >::ImageRGB ( const ImageRGB< T > &  e  )  [inline]

Copy Constructor.

Parameters:
e Error to clone

Definition at line 94 of file ImageRGB.hpp.

template<typename T >
kn::ImageRGB< T >::~ImageRGB ( void   )  [inline, virtual]

dealoccates image data

Definition at line 98 of file ImageRGB.hpp.


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

Generated on Thu Nov 12 16:06:36 2009 for OpenKraken-image by  doxygen 1.5.8