|
Blender
V2.93
|
#include <GridDensityProvider.h>
Inherited by Freestyle::ArbitraryGridDensityProvider, Freestyle::AverageAreaGridDensityProvider, and Freestyle::Pow23GridDensityProvider.
Public Member Functions | |
| GridDensityProvider (OccluderSource &source) | |
| virtual | ~GridDensityProvider () |
| float | cellSize () |
| unsigned | cellsX () |
| unsigned | cellsY () |
| float | cellOrigin (int index) |
Static Public Member Functions | |
| static void | calculateOptimalProscenium (OccluderSource &source, real proscenium[4]) |
| static void | calculateQuickProscenium (const GridHelpers::Transform &transform, const BBox< Vec3r > &bbox, real proscenium[4]) |
Protected Attributes | |
| OccluderSource & | source |
| unsigned | _cellsX |
| unsigned | _cellsY |
| float | _cellSize |
| float | _cellOrigin [2] |
Definition at line 41 of file GridDensityProvider.h.
|
inline |
Definition at line 47 of file GridDensityProvider.h.
|
inlinevirtual |
Definition at line 51 of file GridDensityProvider.h.
|
inlinestatic |
Definition at line 78 of file GridDensityProvider.h.
References Freestyle::OccluderSource::begin(), Freestyle::GridHelpers::expandProscenium(), G, G_DEBUG_FREESTYLE, Freestyle::OccluderSource::getGridSpacePolygon(), Freestyle::Geometry::Polygon< Point >::getVertices(), Freestyle::OccluderSource::isValid(), Freestyle::OccluderSource::next(), and source.
Referenced by Freestyle::ArbitraryGridDensityProvider::ArbitraryGridDensityProvider(), Freestyle::AverageAreaGridDensityProvider::AverageAreaGridDensityProvider(), Freestyle::HeuristicGridDensityProviderFactory::newGridDensityProvider(), and Freestyle::Pow23GridDensityProvider::Pow23GridDensityProvider().
|
inlinestatic |
Definition at line 96 of file GridDensityProvider.h.
References G, G_DEBUG_FREESTYLE, Freestyle::BBox< Point >::getMax(), Freestyle::BBox< Point >::getMin(), max, min, transform(), Freestyle::VecMat::Vec3< T >::x(), and Freestyle::VecMat::Vec3< T >::y().
Referenced by Freestyle::ArbitraryGridDensityProvider::ArbitraryGridDensityProvider(), Freestyle::AverageAreaGridDensityProvider::AverageAreaGridDensityProvider(), and Freestyle::Pow23GridDensityProvider::Pow23GridDensityProvider().
|
inline |
Definition at line 68 of file GridDensityProvider.h.
References _cellOrigin.
Referenced by Freestyle::BoxGrid::assignCells(), and Freestyle::SphericalGrid::assignCells().
|
inline |
Definition at line 53 of file GridDensityProvider.h.
References _cellSize.
Referenced by Freestyle::BoxGrid::assignCells(), and Freestyle::SphericalGrid::assignCells().
|
inline |
Definition at line 58 of file GridDensityProvider.h.
References _cellsX.
Referenced by Freestyle::BoxGrid::assignCells(), and Freestyle::SphericalGrid::assignCells().
|
inline |
Definition at line 63 of file GridDensityProvider.h.
References _cellsY.
Referenced by Freestyle::BoxGrid::assignCells(), and Freestyle::SphericalGrid::assignCells().
|
protected |
Definition at line 132 of file GridDensityProvider.h.
Referenced by cellOrigin().
|
protected |
Definition at line 131 of file GridDensityProvider.h.
Referenced by cellSize().
|
protected |
Definition at line 130 of file GridDensityProvider.h.
Referenced by cellsX().
|
protected |
Definition at line 130 of file GridDensityProvider.h.
Referenced by cellsY().
|
protected |
Definition at line 129 of file GridDensityProvider.h.
Referenced by Freestyle::ArbitraryGridDensityProvider::ArbitraryGridDensityProvider(), Freestyle::AverageAreaGridDensityProvider::AverageAreaGridDensityProvider(), calculateOptimalProscenium(), and Freestyle::Pow23GridDensityProvider::Pow23GridDensityProvider().