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

VCF::Channel< PixelType, ColorChannelVal > Class Template Reference

#include <Pixels.h>

List of all members.

Public Types

typedef _typename_ PixelType::Traits::ChannelType Type
typedef PixelType PixType
typedef ChannelIterator< PixelType,
ColorChannelVal > 
Iterator
enum  ChannelField { Field = ColorChannelVal }

Public Member Functions

 Channel (ColorPixels &colorPixels)
 ~Channel ()
Iterator begin ()
Iterator end ()
uint32 copyTo (Type *channelData, const uint32 &dataLength) const
uint32 copyFrom (const Type *channelData, const uint32 &dataLength)
void fill (const Type &val)
Typeat (uint32 x, uint32 y)
Type at (uint32 x, uint32 y) const
ImagecreateImage ()
void updateFromImage (Image *image)

Protected Attributes

PixTypeptr_
PixTypeendPtr_
ColorPixelspixels_
uint32 width_
uint32 height_

Friends

class ChannelIterator< PixelType, ColorChannelVal >

template<typename PixelType, int ColorChannelVal>
class VCF::Channel< PixelType, ColorChannelVal >


Member Typedef Documentation

template<typename PixelType, int ColorChannelVal>
typedef ChannelIterator<PixelType,ColorChannelVal> VCF::Channel< PixelType, ColorChannelVal >::Iterator
 

template<typename PixelType, int ColorChannelVal>
typedef PixelType VCF::Channel< PixelType, ColorChannelVal >::PixType
 

template<typename PixelType, int ColorChannelVal>
typedef _typename_ PixelType::Traits::ChannelType VCF::Channel< PixelType, ColorChannelVal >::Type
 


Member Enumeration Documentation

template<typename PixelType, int ColorChannelVal>
enum VCF::Channel::ChannelField
 

Enumerator:
Field 


Constructor & Destructor Documentation

template<typename PixelType, int ColorChannelVal>
VCF::Channel< PixelType, ColorChannelVal >::Channel ColorPixels colorPixels  )  [inline]
 

template<typename PixelType, int ColorChannelVal>
VCF::Channel< PixelType, ColorChannelVal >::~Channel  )  [inline]
 


Member Function Documentation

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

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

template<typename PixelType, int ColorChannelVal>
_typename_ Channel< PixelType, ColorChannelVal >::Iterator VCF::Channel< PixelType, ColorChannelVal >::begin  )  [inline]
 

template<typename PixelType, int ColorChannelVal>
uint32 VCF::Channel< PixelType, ColorChannelVal >::copyFrom const Type channelData,
const uint32 dataLength
[inline]
 

template<typename PixelType, int ColorChannelVal>
uint32 VCF::Channel< PixelType, ColorChannelVal >::copyTo Type channelData,
const uint32 dataLength
const [inline]
 

template<typename PixelType, int ColorChannelVal>
Image* VCF::Channel< PixelType, ColorChannelVal >::createImage  )  [inline]
 

template<typename PixelType, int ColorChannelVal>
_typename_ Channel< PixelType, ColorChannelVal >::Iterator VCF::Channel< PixelType, ColorChannelVal >::end  )  [inline]
 

template<typename PixelType, int ColorChannelVal>
void VCF::Channel< PixelType, ColorChannelVal >::fill const Type val  )  [inline]
 

template<typename PixelType, int ColorChannelVal>
void VCF::Channel< PixelType, ColorChannelVal >::updateFromImage Image image  )  [inline]
 


Friends And Related Function Documentation

template<typename PixelType, int ColorChannelVal>
friend class ChannelIterator< PixelType, ColorChannelVal > [friend]
 


Member Data Documentation

template<typename PixelType, int ColorChannelVal>
PixType* VCF::Channel< PixelType, ColorChannelVal >::endPtr_ [protected]
 

template<typename PixelType, int ColorChannelVal>
uint32 VCF::Channel< PixelType, ColorChannelVal >::height_ [protected]
 

template<typename PixelType, int ColorChannelVal>
ColorPixels& VCF::Channel< PixelType, ColorChannelVal >::pixels_ [protected]
 

template<typename PixelType, int ColorChannelVal>
PixType* VCF::Channel< PixelType, ColorChannelVal >::ptr_ [protected]
 

template<typename PixelType, int ColorChannelVal>
uint32 VCF::Channel< PixelType, ColorChannelVal >::width_ [protected]
 


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