|
Blender V5.0
|
Classes | |
| class | Transform |
Functions | |
| template<class T> | |
| T | closestPointToSegment (const T &P, const T &A, const T &B, real &distance) |
| Vec3r | closestPointOnPolygon (const Vec3r &point, const Polygon3r &poly) |
| real | distancePointToPolygon (const Vec3r &point, const Polygon3r &poly) |
| bool | insideProscenium (const real proscenium[4], const Polygon3r &polygon) |
| vector< Vec3r > | enumerateVertices (const vector< WOEdge * > &fedges) |
| void | getDefaultViewProscenium (real viewProscenium[4]) |
| void | expandProscenium (real proscenium[4], const Polygon3r &polygon) |
| void | expandProscenium (real proscenium[4], const Vec3r &point) |
|
inline |
Definition at line 56 of file GridHelpers.h.
References closest(), closestPointToSegment(), distance(), Freestyle::Geometry::Polygon3r::getNormal(), Freestyle::Geometry::Polygon< Point >::getVertices(), i, Freestyle::Geometry::Polygon3r::rayIntersect(), and v.
| T Freestyle::GridHelpers::closestPointToSegment | ( | const T & | P, |
| const T & | A, | ||
| const T & | B, | ||
| real & | distance ) |
Computes the distance from a point P to a segment AB
Definition at line 28 of file GridHelpers.h.
References A, B, b, distance(), and P.
Referenced by closestPointOnPolygon().
|
inline |
Definition at line 81 of file GridHelpers.h.
References distance(), Freestyle::GeomUtils::distPointSegment(), Freestyle::Geometry::Polygon3r::getNormal(), Freestyle::Geometry::Polygon< Point >::getVertices(), i, Freestyle::Geometry::Polygon3r::rayIntersect(), and v.
Referenced by Freestyle::SphericalGrid::OccluderData::OccluderData().
|
inline |
Definition at line 137 of file GridHelpers.h.
Referenced by Freestyle::OccluderSource::buildCachedPolygon(), and Freestyle::OccluderSource::getCameraSpacePolygon().
|
inline |
Definition at line 152 of file GridHelpers.h.
References Freestyle::Geometry::Polygon< Point >::getBBox().
Referenced by Freestyle::GridDensityProvider::calculateOptimalProscenium(), and Freestyle::OccluderSource::getOccluderProscenium().
Definition at line 176 of file GridHelpers.h.
| void Freestyle::GridHelpers::getDefaultViewProscenium | ( | real | viewProscenium[4] | ) |
Definition at line 14 of file GridHelpers.cpp.
References g_freestyle.
Referenced by Freestyle::ViewMapBuilder::CullViewEdges(), and Freestyle::CulledOccluderSource::cullViewEdges().
|
inline |
Definition at line 110 of file GridHelpers.h.
References Freestyle::Geometry::Polygon< Point >::getBBox(), Freestyle::Geometry::Polygon< Point >::getVertices(), and Freestyle::GeomUtils::overlapTriangleBox().