lux::LinearPixelSampler Class Reference

#include <linear.h>

Inheritance diagram for lux::LinearPixelSampler:

lux::PixelSampler

List of all members.

Public Member Functions

 LinearPixelSampler (int xstart, int xend, int ystart, int yend)
u_int GetTotalPixels ()
bool GetNextPixel (int &xPos, int &yPos, u_int *use_pos)

Private Attributes

u_int TotalPx
vector< PxLocPxa


Detailed Description

Definition at line 32 of file linear.h.


Constructor & Destructor Documentation

LinearPixelSampler::LinearPixelSampler ( int  xstart,
int  xend,
int  ystart,
int  yend 
)

Definition at line 30 of file linear.cpp.

References Pxa, TotalPx, lux::PxLoc::x, and lux::PxLoc::y.


Member Function Documentation

bool LinearPixelSampler::GetNextPixel ( int &  xPos,
int &  yPos,
u_int use_pos 
) [virtual]

Implements lux::PixelSampler.

Definition at line 57 of file linear.cpp.

References Pxa, and TotalPx.

u_int LinearPixelSampler::GetTotalPixels (  )  [virtual]

Implements lux::PixelSampler.

Definition at line 53 of file linear.cpp.

References TotalPx.


Member Data Documentation

Definition at line 45 of file linear.h.

Referenced by GetNextPixel(), and LinearPixelSampler().

Definition at line 43 of file linear.h.

Referenced by GetNextPixel(), GetTotalPixels(), and LinearPixelSampler().


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

Generated on Fri Jul 24 11:50:05 2009 for lux by  doxygen 1.5.9