Blender
V3.3
|
#include <BoxGrid.h>
Classes | |
class | Iterator |
struct | OccluderData |
class | Transform |
Public Member Functions | |
BoxGrid (OccluderSource &source, GridDensityProvider &density, ViewMap *viewMap, Vec3r &viewpoint, bool enableQI) | |
virtual | ~BoxGrid () |
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 |
Public Attributes | |
Transform | transform |
|
explicit |
Definition at line 71 of file BoxGrid.cpp.
References assignCells(), usdtokens::density(), distributePolygons(), G, G_DEBUG_FREESTYLE, and reorganizeCells().
|
virtualdefault |
void Freestyle::BoxGrid::assignCells | ( | OccluderSource & | source, |
GridDensityProvider & | density, | ||
ViewMap * | viewMap | ||
) |
Definition at line 103 of file BoxGrid.cpp.
References usdtokens::b(), usdtokens::density(), Freestyle::ViewMap::FEdges(), G, G_DEBUG_FREESTYLE, height, NULL, point, transform, width, Freestyle::x, and y.
Referenced by BoxGrid().
void Freestyle::BoxGrid::distributePolygons | ( | OccluderSource & | source | ) |
Definition at line 150 of file BoxGrid.cpp.
References Freestyle::OccluderSource::begin(), G, G_DEBUG_FREESTYLE, insertOccluder(), Freestyle::OccluderSource::isValid(), and Freestyle::OccluderSource::next().
Referenced by BoxGrid().
bool Freestyle::BoxGrid::enableQI | ( | ) | const |
Definition at line 212 of file BoxGrid.cpp.
BoxGrid::Cell * Freestyle::BoxGrid::findCell | ( | const Vec3r & | point | ) |
Definition at line 195 of file BoxGrid.cpp.
References point, Freestyle::x, and y.
Referenced by Freestyle::BoxGrid::Iterator::Iterator().
|
inline |
Definition at line 384 of file BoxGrid.h.
References Freestyle::Geometry::Polygon< Point >::getBBox(), Freestyle::OccluderSource::getGridSpacePolygon(), and NULL.
Referenced by distributePolygons().
bool Freestyle::BoxGrid::orthographicProjection | ( | ) | const |
Definition at line 202 of file BoxGrid.cpp.
void Freestyle::BoxGrid::reorganizeCells | ( | ) |
const Vec3r & Freestyle::BoxGrid::viewpoint | ( | ) | const |
Definition at line 207 of file BoxGrid.cpp.
Transform Freestyle::BoxGrid::transform |
Definition at line 154 of file BoxGrid.h.
Referenced by assignCells().