2 #include "ViewportBufferFill.h" 23 ViewportBufferFill::ViewportBufferFill(
const QRect &rect,
24 const int &xCoef,
const double &xScale,
const int &yCoef,
25 const double &yScale,
const QPoint &topLeftPixel)
113 linesToPaint =
p_rect->height();
int getLeftmostPixelPosition()
Returns the left of the X/Y bounding rect for this fill.
QPoint * p_topLeftPixel
Top left of the viewport for this fill.
bool shouldRequestMore()
Returns true if request position is past the end of the fill.
bool shouldPaint(int &linesToPaint)
Returns true if it is recommended to paint the fill area so far.
Namespace for the standard library.
unsigned int p_readPosition
Position of the cube reads.
void stop()
Cancels the current operation.
double p_xScale
viewport to sample/line x scalar
~ViewportBufferFill()
Destructor.
bool doneReading()
Returns true if read position is past the end of the fill.
unsigned int p_requestPosition
Position of the cube requests.
int p_xCoef
viewport to sample/line x coef
QRect * p_rect
Rect this fill represents.
Namespace for ISIS/Bullet specific routines.
static const int STEPSIZE
how many cube lines per paint if painting inbetween gets re-enabled
double p_yScale
viewport to sample/line y scalar
int p_yCoef
viewport to sample/line y coef
int getTopmostPixelPosition()
Returns the top of the X/Y bounding rect for this fill.