Blender V2.61 - r43446
|
#include <ntl_ray.h>
Public Member Functions | |
ntlTriangle (void) | |
ntlTriangle (int *p, bool smooth, int obj, ntlVec3Gfx norm, int setflags) | |
ntlTriangle (const ntlTriangle &tri) | |
~ntlTriangle () | |
int * | getPoints (void) |
bool | getSmoothNormals (void) const |
void | setSmoothNormals (bool set) |
int | getObjectId (void) const |
void | setObjectId (int set) |
ntlVec3Gfx | getNormal (void) const |
void | setNormal (ntlVec3Gfx set) |
int | getFlags (void) const |
void | setFlags (int set) |
int | getLastRay (void) const |
void | setLastRay (int set) |
int | getBBoxId (void) const |
void | setBBoxId (int set) |
gfxReal | getAverage (int axis) const |
Friends | |
bool | operator< (const ntlTriangle &lhs, const ntlTriangle &rhs) |
bool | operator> (const ntlTriangle &lhs, const ntlTriangle &rhs) |
ntlTriangle::ntlTriangle | ( | void | ) | [inline] |
ntlTriangle::ntlTriangle | ( | int * | p, |
bool | smooth, | ||
int | obj, | ||
ntlVec3Gfx | norm, | ||
int | setflags | ||
) | [inline] |
ntlTriangle::ntlTriangle | ( | const ntlTriangle & | tri | ) | [inline] |
gfxReal ntlTriangle::getAverage | ( | int | axis | ) | const [inline] |
Get average of the three points for this axis
Definition at line 295 of file ntl_ray.h.
References globalSortingPoints.
Referenced by lessTriangleAverage(), operator<(), and operator>().
int ntlTriangle::getBBoxId | ( | void | ) | const [inline] |
int ntlTriangle::getFlags | ( | void | ) | const [inline] |
int ntlTriangle::getLastRay | ( | void | ) | const [inline] |
ntlVec3Gfx ntlTriangle::getNormal | ( | void | ) | const [inline] |
int ntlTriangle::getObjectId | ( | void | ) | const [inline] |
Access object
Definition at line 179 of file ntl_ray.h.
Referenced by ControlParticles::checkPointInside(), LbmSolverInterface::geoInitCheckPointInside(), and ntlRay::shade().
int* ntlTriangle::getPoints | ( | void | ) | [inline] |
Acces to points of triangle
Definition at line 174 of file ntl_ray.h.
Referenced by IsoSurface::getTriangles(), ntlTree::intersect(), ntlRay::intersectTriangle(), ntlRay::intersectTriangleBack(), ntlRay::intersectTriangleFront(), ntlRay::intersectTriangleX(), ntlTree::intersectX(), ntlGeometryObject::sceneAddTriangle(), and ntlGeometryObject::sceneAddTriangleNoVert().
bool ntlTriangle::getSmoothNormals | ( | void | ) | const [inline] |
void ntlTriangle::setFlags | ( | int | set | ) | [inline] |
Definition at line 186 of file ntl_ray.h.
Referenced by IsoSurface::getTriangles(), ntlGeometryObject::sceneAddTriangle(), and ntlGeometryObject::sceneAddTriangleNoVert().
void ntlTriangle::setNormal | ( | ntlVec3Gfx | set | ) | [inline] |
Definition at line 183 of file ntl_ray.h.
Referenced by IsoSurface::getTriangles(), ntlGeometryObject::sceneAddTriangle(), and ntlGeometryObject::sceneAddTriangleNoVert().
void ntlTriangle::setObjectId | ( | int | set | ) | [inline] |
Definition at line 180 of file ntl_ray.h.
Referenced by IsoSurface::getTriangles(), ntlGeometryObject::sceneAddTriangle(), and ntlGeometryObject::sceneAddTriangleNoVert().
void ntlTriangle::setSmoothNormals | ( | bool | set | ) | [inline] |
Definition at line 177 of file ntl_ray.h.
Referenced by IsoSurface::getTriangles(), ntlGeometryObject::sceneAddTriangle(), and ntlGeometryObject::sceneAddTriangleNoVert().
bool operator< | ( | const ntlTriangle & | lhs, |
const ntlTriangle & | rhs | ||
) | [friend] |
bool operator> | ( | const ntlTriangle & | lhs, |
const ntlTriangle & | rhs | ||
) | [friend] |