OMToolkit
1.0
The polygonal mesh processing tool.
|
#include <OMTriIterator.h>
Classes | |
struct | SDataMembers |
Public Member Functions | |
OMTriIterator (VectorT *vertices) | |
~OMTriIterator () | |
mds::tSize | getX () const |
mds::tSize | getY () const |
bool | isEnd () const |
void | advance () |
Protected Member Functions | |
bool | isInner () |
void | init (VectorT *vertices) |
void | next () |
Protected Attributes | |
SDataMembers | m_Impl |
Iterator used to traverse pixels inside a triangle.
|
inline |
Constructor
VectorT[3] | array of triangle vertices |
|
inline |
Destructor
|
inline |
Moves iterator to the next triangle pixel
|
inline |
Returns current iterator X position
|
inline |
Returns current iterator Y position
|
inlineprotected |
Initializes the triangle iterator
|
inline |
Control if iterator is still valid
|
inlineprotected |
Returns true if the current pixel is inside the triangle
|
inlineprotected |
Moves iterator to the next pixel
|
protected |
Data members