lux::RandomPixelSampler Class Reference

#include <randompx.h>

Inheritance diagram for lux::RandomPixelSampler:

lux::PixelSampler

List of all members.

Public Member Functions

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

Private Attributes

u_int TotalPx
u_int pixelCounter
int xPixelStart
int yPixelStart
int xPixelEnd
int yPixelEnd


Detailed Description

Definition at line 32 of file randompx.h.


Constructor & Destructor Documentation

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

Definition at line 30 of file randompx.cpp.

References pixelCounter, TotalPx, xPixelEnd, xPixelStart, yPixelEnd, and yPixelStart.

lux::RandomPixelSampler::~RandomPixelSampler (  )  [inline]

Definition at line 37 of file randompx.h.


Member Function Documentation

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

u_int RandomPixelSampler::GetTotalPixels (  )  [virtual]

Implements lux::PixelSampler.

Definition at line 41 of file randompx.cpp.


Member Data Documentation

Definition at line 47 of file randompx.h.

Referenced by GetNextPixel(), and RandomPixelSampler().

Definition at line 45 of file randompx.h.

Referenced by GetNextPixel(), and RandomPixelSampler().

Definition at line 50 of file randompx.h.

Referenced by GetNextPixel(), and RandomPixelSampler().

Definition at line 50 of file randompx.h.

Referenced by GetNextPixel(), and RandomPixelSampler().

Definition at line 50 of file randompx.h.

Referenced by GetNextPixel(), and RandomPixelSampler().

Definition at line 50 of file randompx.h.

Referenced by GetNextPixel(), and RandomPixelSampler().


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

Generated on Fri Jul 24 11:52:04 2009 for lux by  doxygen 1.5.9