Blender
V3.3
|
#include <CulledOccluderSource.h>
Public Member Functions | |
CulledOccluderSource (const GridHelpers::Transform &transform, WingedEdge &we, ViewMap &viewMap, bool extensiveFEdgeSearch=true) | |
void | cullViewEdges (ViewMap &viewMap, bool extensiveFEdgeSearch) |
bool | next () |
void | getOccluderProscenium (real proscenium[4]) |
![]() | |
OccluderSource (const GridHelpers::Transform &transform, WingedEdge &we) | |
virtual | ~OccluderSource () |
void | begin () |
bool | isValid () |
WFace * | getWFace () |
Polygon3r | getCameraSpacePolygon () |
Polygon3r & | getGridSpacePolygon () |
virtual real | averageOccluderArea () |
Additional Inherited Members | |
![]() | |
void | buildCachedPolygon () |
![]() | |
WingedEdge & | wingedEdge |
vector< WShape * >::const_iterator | currentShape |
vector< WShape * >::const_iterator | shapesEnd |
vector< WFace * >::const_iterator | currentFace |
vector< WFace * >::const_iterator | facesEnd |
bool | valid |
Polygon3r | cachedPolygon |
const GridHelpers::Transform & | transform |
Definition at line 15 of file CulledOccluderSource.h.
Freestyle::CulledOccluderSource::CulledOccluderSource | ( | const GridHelpers::Transform & | transform, |
WingedEdge & | we, | ||
ViewMap & | viewMap, | ||
bool | extensiveFEdgeSearch = true |
||
) |
Definition at line 16 of file CulledOccluderSource.cpp.
References cullViewEdges(), next(), and Freestyle::OccluderSource::valid.
void Freestyle::CulledOccluderSource::cullViewEdges | ( | ViewMap & | viewMap, |
bool | extensiveFEdgeSearch | ||
) |
Definition at line 85 of file CulledOccluderSource.cpp.
References Freestyle::FEdge::center2d(), Freestyle::crossesProscenium(), Freestyle::distance2D(), ELEM, blender::robust_pred::epsilon, G, G_DEBUG_FREESTYLE, Freestyle::GridHelpers::getDefaultViewProscenium(), Freestyle::insideProscenium(), Freestyle::FEdge::isInImage(), Freestyle::FEdge::nextEdge(), NULL, point, Freestyle::FEdge::setIsInImage(), and Freestyle::ViewMap::ViewEdges().
Referenced by CulledOccluderSource().
Reimplemented from Freestyle::OccluderSource.
Definition at line 57 of file CulledOccluderSource.cpp.
|
virtual |
Reimplemented from Freestyle::OccluderSource.
Definition at line 43 of file CulledOccluderSource.cpp.
References G, G_DEBUG_FREESTYLE, and Freestyle::OccluderSource::next().
Referenced by CulledOccluderSource().