|
Blender V4.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 92 of file SphericalGrid.h.
|
explicit |
Definition at line 55 of file SphericalGrid.cpp.
References G, and G_DEBUG_FREESTYLE.
|
inline |
Definition at line 362 of file SphericalGrid.h.
|
inline |
Definition at line 357 of file SphericalGrid.h.
|
inline |
Definition at line 187 of file SphericalGrid.h.
References G, and G_DEBUG_FREESTYLE.
|
inline |
Definition at line 179 of file SphericalGrid.h.
|
inline |
Definition at line 326 of file SphericalGrid.h.
|
inline |
Definition at line 317 of file SphericalGrid.h.
Definition at line 285 of file SphericalGrid.h.
References G, G_DEBUG_FREESTYLE, and norm().
|
inline |
Definition at line 340 of file SphericalGrid.h.
|
inline |
Definition at line 335 of file SphericalGrid.h.