Blender
V3.3
|
#include <SphericalGrid.h>
Classes | |
class | Iterator |
struct | OccluderData |
class | Transform |
Public Member Functions | |
SphericalGrid (OccluderSource &source, GridDensityProvider &density, ViewMap *viewMap, Vec3r &viewpoint, bool enableQI) | |
virtual | ~SphericalGrid () |
void | assignCells (OccluderSource &source, GridDensityProvider &density, ViewMap *viewMap) |
void | distributePolygons (OccluderSource &source) |
bool | insertOccluder (OccluderSource &source, OccluderData *&occluder) |
void | reorganizeCells () |
Cell * | findCell (const Vec3r &point) |
bool | orthographicProjection () const |
const Vec3r & | viewpoint () const |
bool | enableQI () const |
Definition at line 38 of file SphericalGrid.h.
|
explicit |
Definition at line 71 of file SphericalGrid.cpp.
References assignCells(), usdtokens::density(), distributePolygons(), G, G_DEBUG_FREESTYLE, and reorganizeCells().
|
virtualdefault |
void Freestyle::SphericalGrid::assignCells | ( | OccluderSource & | source, |
GridDensityProvider & | density, | ||
ViewMap * | viewMap | ||
) |
Definition at line 100 of file SphericalGrid.cpp.
References usdtokens::b(), usdtokens::density(), Freestyle::ViewMap::FEdges(), G, G_DEBUG_FREESTYLE, height, NULL, point, Freestyle::SphericalGrid::Transform::sphericalProjection(), width, Freestyle::x, and y.
Referenced by SphericalGrid().
void Freestyle::SphericalGrid::distributePolygons | ( | OccluderSource & | source | ) |
Definition at line 147 of file SphericalGrid.cpp.
References Freestyle::OccluderSource::begin(), G, G_DEBUG_FREESTYLE, insertOccluder(), Freestyle::OccluderSource::isValid(), and Freestyle::OccluderSource::next().
Referenced by SphericalGrid().
bool Freestyle::SphericalGrid::enableQI | ( | ) | const |
Definition at line 208 of file SphericalGrid.cpp.
SphericalGrid::Cell * Freestyle::SphericalGrid::findCell | ( | const Vec3r & | point | ) |
Definition at line 191 of file SphericalGrid.cpp.
References point, Freestyle::x, and y.
Referenced by Freestyle::SphericalGrid::Iterator::Iterator().
|
inline |
Definition at line 396 of file SphericalGrid.h.
References Freestyle::Geometry::Polygon< Point >::getBBox(), Freestyle::OccluderSource::getGridSpacePolygon(), and NULL.
Referenced by distributePolygons().
bool Freestyle::SphericalGrid::orthographicProjection | ( | ) | const |
Definition at line 198 of file SphericalGrid.cpp.
void Freestyle::SphericalGrid::reorganizeCells | ( | ) |
const Vec3r & Freestyle::SphericalGrid::viewpoint | ( | ) | const |
Definition at line 203 of file SphericalGrid.cpp.
Referenced by Freestyle::SphericalGrid::OccluderData::OccluderData().