lux::HilbertPixelSampler Class Reference

#include <hilbertpx.h>

Inheritance diagram for lux::HilbertPixelSampler:
[legend]
Collaboration diagram for lux::HilbertPixelSampler:
[legend]

List of all members.

Public Member Functions

 HilbertPixelSampler (int xStart, int xEnd, int yStart, int yEnd)
virtual ~HilbertPixelSampler ()
virtual u_int GetTotalPixels ()
virtual bool GetNextPixel (int &xPos, int &yPos, u_int *use_pos)

Private Member Functions

void HilberCurve (int n, int xo, int yo, int xd, int yd, int xp, int yp, int xEnd, int yEnd)

Private Attributes

u_int TotalPx
vector< PxLocPxa

Detailed Description

Definition at line 31 of file hilbertpx.h.


Constructor & Destructor Documentation

HilbertPixelSampler::HilbertPixelSampler ( int  xStart,
int  xEnd,
int  yStart,
int  yEnd 
)

Definition at line 76 of file hilbertpx.cpp.

References HilberCurve(), IsPowerOf2(), RoundUpPow2(), and TotalPx.

virtual lux::HilbertPixelSampler::~HilbertPixelSampler (  )  [inline, virtual]

Definition at line 37 of file hilbertpx.h.


Member Function Documentation

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

Implements lux::PixelSampler.

Definition at line 111 of file hilbertpx.cpp.

References Pxa, and TotalPx.

u_int HilbertPixelSampler::GetTotalPixels (  )  [virtual]

Implements lux::PixelSampler.

Definition at line 107 of file hilbertpx.cpp.

References TotalPx.

void HilbertPixelSampler::HilberCurve ( int  n,
int  xo,
int  yo,
int  xd,
int  yd,
int  xp,
int  yp,
int  xEnd,
int  yEnd 
) [private]

Definition at line 28 of file hilbertpx.cpp.

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

Referenced by HilbertPixelSampler().


Member Data Documentation

Definition at line 52 of file hilbertpx.h.

Referenced by GetNextPixel(), and HilberCurve().

Definition at line 50 of file hilbertpx.h.

Referenced by GetNextPixel(), GetTotalPixels(), HilberCurve(), and HilbertPixelSampler().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208