Blender
V3.3
|
#include <Grid.h>
Public Member Functions | |
firstIntersectionGridVisitor (const Vec3r &ray_org, const Vec3r &ray_dir, const Vec3r &cell_size) | |
virtual | ~firstIntersectionGridVisitor () |
virtual void | discoverCell (Cell *cell) |
virtual void | examineOccluder (Polygon3r *occ) |
virtual bool | stop () |
Polygon3r * | occluder () |
![]() | |
virtual | ~GridVisitor () |
virtual void | finishCell (Cell *) |
Public Attributes | |
double | u_ |
double | v_ |
double | t_ |
Finds the first intersection and breaks. The occluder and the intersection information are stored and accessible.
|
inlinevirtual |
Reimplemented from Freestyle::GridVisitor.
Reimplemented from Freestyle::GridVisitor.
Definition at line 34 of file Grid.cpp.
References fabs(), Freestyle::Cell::getOrigin(), getVertices(), Freestyle::inBox(), min, Freestyle::VecMat::Vec< T, N >::norm(), normal, t, t_, u_, Freestyle::Geometry::Polygon< Point >::userdata2, v1, v_, Freestyle::VecMat::Vec3< T >::x(), Freestyle::VecMat::Vec3< T >::y(), and Freestyle::VecMat::Vec3< T >::z().
|
inline |
Definition at line 166 of file Grid.h.
Referenced by Freestyle::Grid::castRayToFindFirstIntersection(), and Freestyle::Grid::insertOccluder().
|
virtual |
Reimplemented from Freestyle::GridVisitor.
double Freestyle::firstIntersectionGridVisitor::t_ |
Definition at line 132 of file Grid.h.
Referenced by Freestyle::Grid::castRayToFindFirstIntersection(), and examineOccluder().
double Freestyle::firstIntersectionGridVisitor::u_ |
Definition at line 132 of file Grid.h.
Referenced by Freestyle::Grid::castRayToFindFirstIntersection(), and examineOccluder().
double Freestyle::firstIntersectionGridVisitor::v_ |
Definition at line 132 of file Grid.h.
Referenced by Freestyle::Grid::castRayToFindFirstIntersection(), and examineOccluder().