Blender V2.61 - r43446
|
#include <sstream>
#include "ntl_vector3dim.h"
#include "ntl_lighting.h"
#include "ntl_geometryobject.h"
#include "ntl_bsptree.h"
Go to the source code of this file.
Classes | |
class | ntlIntersection |
store data for an intersection of a ray and a triangle More... | |
class | ntlRay |
the main ray class More... | |
class | ntlTriangle |
class | ntlScene |
Defines | |
#define | TRI_GEOMETRY (1<<0) |
#define | TRI_CASTSHADOWS (1<<1) |
Functions | |
bool | operator< (const ntlTriangle &lhs, const ntlTriangle &rhs) |
bool | operator> (const ntlTriangle &lhs, const ntlTriangle &rhs) |
Variables | |
int | globalSortingAxis |
vector< ntlVec3Gfx > * | globalSortingPoints |
Definition in file ntl_ray.h.
#define TRI_CASTSHADOWS (1<<1) |
Definition at line 155 of file ntl_ray.h.
Referenced by IsoSurface::getTriangles(), ntlLightObject::illuminatePoint(), ntlGeometryObject::sceneAddTriangle(), and ntlGeometryObject::sceneAddTriangleNoVert().
#define TRI_GEOMETRY (1<<0) |
Triangle flag defines
Definition at line 154 of file ntl_ray.h.
Referenced by IsoSurface::getTriangles(), ntlScene::prepareScene(), ntlGeometryObject::sceneAddTriangle(), and ntlGeometryObject::sceneAddTriangleNoVert().
bool operator< | ( | const ntlTriangle & | lhs, |
const ntlTriangle & | rhs | ||
) |
operator < for sorting, uses global sorting axis
Definition at line 302 of file ntl_ray.h.
References ntlTriangle::getAverage(), and globalSortingAxis.
bool operator> | ( | const ntlTriangle & | lhs, |
const ntlTriangle & | rhs | ||
) |
operator > for sorting, uses global sorting axis
Definition at line 308 of file ntl_ray.h.
References ntlTriangle::getAverage(), and globalSortingAxis.
Static global variable for sorting direction
Definition at line 20 of file ntl_bsptree.cpp.
Referenced by lessTriangleAverage(), operator<(), and operator>().
vector<ntlVec3Gfx>* globalSortingPoints |
Access to points array for sorting
Definition at line 22 of file ntl_bsptree.cpp.
Referenced by ntlTriangle::getAverage(), and ntlTree::ntlTree().