1 #ifndef VieportBufferFill_h     2 #define VieportBufferFill_h    24                          const double &xScale, 
const int &yCoef,
    25                          const double &yScale, 
const QPoint &topLeftPixel);
    46         return (x + p_xCoef) / p_xScale;
    57         return (y + p_yCoef) / p_yScale;
    66         return p_requestPosition;
    75         return p_readPosition;
   109       unsigned int p_readPosition;
   111       unsigned int p_requestPosition;
   115       QPoint *p_topLeftPixel;
   126       const static int STEPSIZE = 20;
 
int getLeftmostPixelPosition()
Returns the left of the X/Y bounding rect for this fill. 
Definition: ViewportBufferFill.cpp:70
 
int getRequestPosition() const
Returns the current request position (>= read position) 
Definition: ViewportBufferFill.h:65
 
bool shouldRequestMore()
Returns true if request position is past the end of the fill. 
Definition: ViewportBufferFill.cpp:90
 
bool shouldPaint(int &linesToPaint)
Returns true if it is recommended to paint the fill area so far. 
Definition: ViewportBufferFill.cpp:111
 
Definition: ViewportBufferFill.h:21
 
QRect * getRect()
Returns the rect that this action is filling in screen pixels. 
Definition: ViewportBufferFill.h:93
 
ViewportBufferFill(const QRect &rect, const int &xCoef, const double &xScale, const int &yCoef, const double &yScale, const QPoint &topLeftPixel)
Constructor. 
Definition: ViewportBufferFill.cpp:23
 
void incRequestPosition()
Increment request position. 
Definition: ViewportBufferFill.h:84
 
virtual ViewportBufferAction::ActionType getActionType()
Returns the type of this class. 
Definition: ViewportBufferFill.h:34
 
ActionType
This uniquely identifies which child is instantiated. 
Definition: ViewportBufferAction.h:19
 
void stop()
Cancels the current operation. 
Definition: ViewportBufferFill.cpp:98
 
double viewportToSample(int x)
Converts screen x position to cube sample position. 
Definition: ViewportBufferFill.h:45
 
~ViewportBufferFill()
Destructor. 
Definition: ViewportBufferFill.cpp:43
 
bool doneReading()
Returns true if read position is past the end of the fill. 
Definition: ViewportBufferFill.cpp:80
 
void incReadPosition()
Increment read position. 
Definition: ViewportBufferFill.h:79
 
Namespace for ISIS/Bullet specific routines. 
Definition: Apollo.h:31
 
ViewportBufferFill. 
Definition: ViewportBufferAction.h:22
 
double viewportToLine(int y)
Converts screen y position to cube line position. 
Definition: ViewportBufferFill.h:56
 
int getReadPosition() const
Returns the current read position. 
Definition: ViewportBufferFill.h:74
 
Definition: ViewportBufferAction.h:11
 
int getTopmostPixelPosition()
Returns the top of the X/Y bounding rect for this fill. 
Definition: ViewportBufferFill.cpp:60