#include <archon/x3d/server/geometry.H>
Inheritance diagram for Archon::X3D::IndexedFaceSet:
Public Member Functions | |
const NodeType * | getType () const |
IndexedFaceSet (BackRef< ExecutionContext > c) | |
bool | getConvex () const |
double | getCreaseAngle () const |
const vector< int > & | getCoordIndex () const |
const vector< int > & | getColorIndex () const |
const vector< int > & | getNormalIndex () const |
const vector< int > & | getTexCoordIndex () const |
int | intersect (const Math::Ray3 &, double &dist) const |
Implementation based on An Efficient Ray/Polygon Intersection by Didier Badouel from "Graphics Gems I", Academic Press, 1990. | |
void | getNormalAndTexCoord (Vector3 hitPoint, int where, const Shape *, Vector3 *hitNormal, Vector2 *hitTexCoord) const |
void | render (bool texture, const Shape *shape, const RenderConfig *) |
Static Public Member Functions | |
static Ref< NodeBase > | instantiate (BackRef< ExecutionContext > c) |
Static Public Attributes | |
static const NodeType * | type = 0 |
Friends | |
void | initializeGeometryComponent () |
Definition at line 607 of file geometry.H.
|
Implementation based on An Efficient Ray/Polygon Intersection by Didier Badouel from "Graphics Gems I", Academic Press, 1990.
Implements Archon::X3D::GeometryNode. Definition at line 587 of file geometry.C. References Archon::Math::Ray3::direction, Archon::Math::dot(), n, Archon::Math::Ray3::origin, and Archon::Math::sort3(). |