Blender
V3.3
|
#include <SphericalGrid.h>
Public Member Functions | |
Iterator (SphericalGrid &grid, Vec3r ¢er, real epsilon=1.0e-06) | |
void | initBeforeTarget () |
void | initAfterTarget () |
void | nextOccluder () |
void | nextOccludee () |
bool | validBeforeTarget () |
bool | validAfterTarget () |
WFace * | getWFace () const |
Polygon3r * | getCameraSpacePolygon () |
void | reportDepth (Vec3r origin, Vec3r u, real t) |
Iterator needs to allow the user to avoid full 3D comparison in two cases:
(1) Where (*current)->deepest < target[2], where the occluder is unambiguously in front of the target point.
(2) Where (*current)->shallowest > target[2], where the occluder is unambiguously in back of the target point.
In addition, when used by OptimizedFindOccludee, Iterator should stop iterating as soon as it has an occludee candidate and (*current)->shallowest > candidate[2], because at that point forward no new occluder could possibly be a better occludee.
Definition at line 89 of file SphericalGrid.h.
|
explicit |
Definition at line 51 of file SphericalGrid.cpp.
References Freestyle::SphericalGrid::findCell(), G, and G_DEBUG_FREESTYLE.
|
inline |
Definition at line 358 of file SphericalGrid.h.
|
inline |
Definition at line 353 of file SphericalGrid.h.
|
inline |
Definition at line 184 of file SphericalGrid.h.
References G, and G_DEBUG_FREESTYLE.
|
inline |
Definition at line 176 of file SphericalGrid.h.
|
inline |
Definition at line 322 of file SphericalGrid.h.
|
inline |
Definition at line 313 of file SphericalGrid.h.
Definition at line 281 of file SphericalGrid.h.
References G, G_DEBUG_FREESTYLE, norm(), and t.
|
inline |
Definition at line 336 of file SphericalGrid.h.
|
inline |
Definition at line 331 of file SphericalGrid.h.