#include <TFRasterize.h>
Definition at line 32 of file TFRasterize.h.
Public Types | |
typedef gutz::vec3< T > | Vec3 |
enum | N_TEX_COORDS { N_TEX = 8 } |
Public Member Functions | |
Triangle () | |
Triangle (Vec3 *p1, Vec3 *p2, Vec3 *p3) | |
Triangle (const Triangle &t) | |
Triangle & | operator= (const Triangle &t) |
~Triangle(); /// just using default for now | |
void | setPoints (Vec3 *p1, Vec3 *p2, Vec3 *p3) |
void | setTexCoord (int tc, Vec3 *t1, Vec3 *t2, Vec3 *t3) |
Vec3 & | getTex (int tcNum, int ptNum) |
const Vec3 & | getTex (int tcNum, int ptNum) const |
Vec3 & | operator[] (int i) |
a convenient accessor! | |
const Vec3 & | operator[] (int i) const |
Public Attributes | |
Vec3 * | pts [3] |
three points, verticies of triangle | |
Vec3 * | tex [N_TEX][3] |
N_TEX coordinate sets, one Vec3 coordinate for each point. |
|
Definition at line 34 of file TFRasterize.h. |
|
Definition at line 35 of file TFRasterize.h. |
|
Definition at line 39 of file TFRasterize.h. References Triangle< T >::N_TEX, Triangle< T >::pts, and Triangle< T >::tex. |
|
Definition at line 48 of file TFRasterize.h. References Triangle< T >::N_TEX, Triangle< T >::pts, and Triangle< T >::tex. |
|
Definition at line 59 of file TFRasterize.h. References Triangle< T >::N_TEX, Triangle< T >::pts, t, and Triangle< T >::tex. |
|
Definition at line 93 of file TFRasterize.h. References Triangle< T >::tex. |
|
Definition at line 92 of file TFRasterize.h. References Triangle< T >::tex. |
|
~Triangle(); /// just using default for now
Definition at line 67 of file TFRasterize.h. References Triangle< T >::N_TEX, Triangle< T >::pts, t, and Triangle< T >::tex. |
|
Definition at line 97 of file TFRasterize.h. References Triangle< T >::pts. |
|
a convenient accessor!
Definition at line 96 of file TFRasterize.h. References Triangle< T >::pts. |
|
Definition at line 75 of file TFRasterize.h. References Triangle< T >::pts. Referenced by TFElementBox::rasterize2D(). |
|
Definition at line 83 of file TFRasterize.h. References Triangle< T >::tex. Referenced by TFElementBox::rasterize2D(). |
|
three points, verticies of triangle
Definition at line 100 of file TFRasterize.h. Referenced by Triangle< T >::operator=(), Triangle< T >::operator[](), Triangle< T >::setPoints(), and Triangle< T >::Triangle(). |
|
N_TEX coordinate sets, one Vec3 coordinate for each point.
Definition at line 102 of file TFRasterize.h. Referenced by Triangle< T >::getTex(), Triangle< T >::operator=(), Triangle< T >::setTexCoord(), and Triangle< T >::Triangle(). |