Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::Pixels< PixelType > Class Template Reference

#include <vcf/GraphicsKit/Pixels.h>

List of all members.

Public Types

typedef PixelType Type
enum  { PixBitsSize = sizeof(Type) }

Public Member Functions

 Pixels ()
 Pixels (Image *img)
 ~Pixels ()
Pixelsoperator= (Image *img)
 operator Type * ()
 operator agg::rendering_buffer & ()
Typeat (uint32 x, uint32 y)
Type at (uint32 x, uint32 y) const
Typebuffer ()
uint32 width ()
uint32 height ()
uint32 stride ()
uint32 sizeInBytes ()

Protected Member Functions

void assign (Image *img)
void lockImageBuffer (Image *img)
void unLockImageBuffer (Image *img)

Protected Attributes

void * buffer_
ImagecurrentImage_
uint32 width_
uint32 stride_
uint32 height_
agg::rendering_buffer renderBuffer_

template<typename PixelType>
class VCF::Pixels< PixelType >


Member Typedef Documentation

template<typename PixelType>
typedef PixelType VCF::Pixels< PixelType >::Type
 


Member Enumeration Documentation

template<typename PixelType>
anonymous enum
 

Enumerator:
PixBitsSize 


Constructor & Destructor Documentation

template<typename PixelType>
VCF::Pixels< PixelType >::Pixels  )  [inline]
 

template<typename PixelType>
VCF::Pixels< PixelType >::Pixels Image img  )  [inline]
 

template<typename PixelType>
VCF::Pixels< PixelType >::~Pixels  )  [inline]
 


Member Function Documentation

template<typename PixelType>
void VCF::Pixels< PixelType >::assign Image img  )  [inline, protected]
 

template<typename PixelType>
Type VCF::Pixels< PixelType >::at uint32  x,
uint32  y
const [inline]
 

template<typename PixelType>
Type& VCF::Pixels< PixelType >::at uint32  x,
uint32  y
[inline]
 

template<typename PixelType>
Type* VCF::Pixels< PixelType >::buffer  )  [inline]
 

template<typename PixelType>
uint32 VCF::Pixels< PixelType >::height  )  [inline]
 

template<typename PixelType>
void VCF::Pixels< PixelType >::lockImageBuffer Image img  )  [inline, protected]
 

template<typename PixelType>
VCF::Pixels< PixelType >::operator agg::rendering_buffer &  )  [inline]
 

template<typename PixelType>
VCF::Pixels< PixelType >::operator Type *  )  [inline]
 

template<typename PixelType>
Pixels& VCF::Pixels< PixelType >::operator= Image img  )  [inline]
 

template<typename PixelType>
uint32 VCF::Pixels< PixelType >::sizeInBytes  )  [inline]
 

template<typename PixelType>
uint32 VCF::Pixels< PixelType >::stride  )  [inline]
 

template<typename PixelType>
void VCF::Pixels< PixelType >::unLockImageBuffer Image img  )  [inline, protected]
 

template<typename PixelType>
uint32 VCF::Pixels< PixelType >::width  )  [inline]
 


Member Data Documentation

template<typename PixelType>
void* VCF::Pixels< PixelType >::buffer_ [protected]
 

template<typename PixelType>
Image* VCF::Pixels< PixelType >::currentImage_ [protected]
 

template<typename PixelType>
uint32 VCF::Pixels< PixelType >::height_ [protected]
 

template<typename PixelType>
agg::rendering_buffer VCF::Pixels< PixelType >::renderBuffer_ [protected]
 

template<typename PixelType>
uint32 VCF::Pixels< PixelType >::stride_ [protected]
 

template<typename PixelType>
uint32 VCF::Pixels< PixelType >::width_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information