#include <linear.h>
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< PxLoc > | Pxa |
Definition at line 32 of file linear.h.
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.
bool LinearPixelSampler::GetNextPixel | ( | int & | xPos, | |
int & | yPos, | |||
u_int * | use_pos | |||
) | [virtual] |
Implements lux::PixelSampler.
Definition at line 57 of file linear.cpp.
u_int LinearPixelSampler::GetTotalPixels | ( | ) | [virtual] |
vector<PxLoc> lux::LinearPixelSampler::Pxa [private] |
Definition at line 45 of file linear.h.
Referenced by GetNextPixel(), and LinearPixelSampler().
u_int lux::LinearPixelSampler::TotalPx [private] |
Definition at line 43 of file linear.h.
Referenced by GetNextPixel(), GetTotalPixels(), and LinearPixelSampler().