2 #ifndef vgl_ellipse_scan_iterator_h_ 3 #define vgl_ellipse_scan_iterator_h_ 42 void reset()
override;
75 #define VGL_ELLIPSE_SCAN_ITERATOR_INSTANTIATE(T) extern "please include <vgl/vgl_ellipse_scan_iterator.hxx> instead" 77 #endif // vgl_ellipse_scan_iterator_h_
vgl_ellipse_scan_iterator(T xc, T yc, T rx, T ry, T theta)
Constructor.
int endx() const override
Returns ending x-value of the current scan line.
int startx() const override
Returns starting x-value of the current scan line.
~vgl_ellipse_scan_iterator() override
Destructor.
int start_x_
Start of current scan line.
void reset() override
Resets the scan iterator to before the first scan line.
T xc_
Parameters of the ellipse being scan converted.
int end_x_
End of current scan line.
int scany() const override
y-coordinate of the current scan line.
Abstract base class for iterating over the pixels in a region of an image.
int min_y_
Final scan line.
bool next() override
Tries to moves to the next scan line.