#include <surfaces/Mesh.h>
Inheritance diagram for MeshTriangle:

Public Member Functions | |
| MeshTriangle (const Mesh *_mesh, unsigned int ind0, unsigned int ind1, unsigned int ind2) | |
| bool | hit (Ray &r, HitRecord &rec, Context &context) const |
| bool | shadowHit (Ray &r, Context &context) const |
| BBox | boundingBox (double time0, double time1) const |
| bool | overlapsBox (const BBox &box) const |
Represents a triangle in a mesh. Stores pointers to the mesh structure (mesh) and the indices of its vertices.
|
||||||||||||||||
|
Intersect given ray with the surface.
Implements Surface. |
|
||||||||||||
|
Intersect without visibility ordering or shading geometry.
Reimplemented from Surface. |
|
||||||||||||
|
Calculate the bounding box of the surface.
Implements Surface. |
|
|
Determine if this surface overlaps the input axis aligned box.
Implements Surface. |
1.4.3