|
Blender V4.3
|
#include <Polygon.h>
Inherits Freestyle::Geometry::Polygon< Vec3r >.
Public Member Functions | |
| Polygon3r () | |
| Polygon3r (const vector< Vec3r > &vertices, const Vec3r &normal) | |
| Polygon3r (const Polygon3r &poly) | |
| virtual | ~Polygon3r () |
| void | setNormal (const Vec3r &normal) |
| Vec3r | getNormal () const |
| bool | rayIntersect (const Vec3r &orig, const Vec3r &dir, real &t, real &u, real &v, real epsilon=M_EPSILON) const |
Public Member Functions inherited from Freestyle::Geometry::Polygon< Vec3r > | |
| Polygon () | |
| Polygon (const vector< Vec3r > &vertices) | |
| Polygon (const Polygon< Vec3r > &poly) | |
| virtual | ~Polygon () |
| const vector< Vec3r > & | getVertices () const |
| void | getBBox (Vec3r &min, Vec3r &max) const |
| Vec3r | getBBoxCenter () |
| Vec3r | getCenter () |
| uint | getId () const |
| void | setVertices (const vector< Vec3r > &vertices) |
| void | setId (uint id) |
| void | computeBBox () |
Additional Inherited Members | |
Public Attributes inherited from Freestyle::Geometry::Polygon< Vec3r > | |
| void * | userdata |
| void * | userdata2 |
Protected Attributes inherited from Freestyle::Geometry::Polygon< Vec3r > | |
| vector< Vec3r > | _vertices |
| Vec3r | _min |
| Vec3r | _max |
| uint | _id |
|
inline |
Definition at line 170 of file Polygon.h.
References setNormal().
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 184 of file Polygon.h.
Referenced by Freestyle::computeVisibility(), and Freestyle::findOccludee().
|
inline |
Check whether the Polygon intersects with the ray or not
Definition at line 190 of file Polygon.h.
References Freestyle::Geometry::Polygon< Vec3r >::_vertices, Freestyle::GeomUtils::intersectRayTriangle(), and v.
Referenced by Freestyle::computeVisibility(), and Freestyle::findOccludee().
|
inline |
Definition at line 179 of file Polygon.h.
Referenced by Polygon3r().