|
Blender
V2.93
|
#include <WXEdge.h>
Public Member Functions | |
| WXFaceLayer (WXFace *iFace, WXNature iNature, bool viewDependant) | |
| WXFaceLayer (const WXFaceLayer &iBrother) | |
| virtual | ~WXFaceLayer () |
| const float | dotP (int i) const |
| unsigned | nPosDotP () const |
| unsigned | nNullDotP () const |
| int | closestPointIndex () const |
| WXNature | nature () const |
| bool | hasSmoothEdge () const |
| WXFace * | getFace () |
| WXSmoothEdge * | getSmoothEdge () |
| bool | isViewDependant () const |
| void | setClosestPointIndex (int iIndex) |
| void | removeSmoothEdge () |
| unsigned int | Get0VertexIndex () const |
| unsigned int | GetSmoothEdgeIndex () const |
| void | RetrieveCuspEdgesIndices (vector< int > &oCuspEdges) |
| WXSmoothEdge * | BuildSmoothEdge () |
| void | setDotP (const vector< float > &iDotP) |
| void | PushDotP (float iDotP) |
| void | ReplaceDotP (unsigned int index, float newDotP) |
| void | updateDotPInfos () |
Public Attributes | |
| void * | userdata |
| WXFace * | _pWXFace |
| vector< float > | _DotP |
| WXSmoothEdge * | _pSmoothEdge |
| WXNature | _Nature |
| unsigned | _nPosDotP |
| unsigned | _nNullDotP |
| unsigned | _ClosestPointIndex |
| bool | _viewDependant |
Definition at line 341 of file WXEdge.h.
References _Nature, _nNullDotP, _nPosDotP, _pSmoothEdge, _pWXFace, _viewDependant, NULL, and userdata.
|
inline |
Definition at line 352 of file WXEdge.h.
References _DotP, _Nature, _nNullDotP, _nPosDotP, _pSmoothEdge, _pWXFace, _viewDependant, NULL, and userdata.
|
inlinevirtual |
Definition at line 367 of file WXEdge.h.
References _DotP, _pSmoothEdge, and NULL.
| WXSmoothEdge * Freestyle::WXFaceLayer::BuildSmoothEdge | ( | ) |
Definition at line 70 of file WXEdge.cpp.
References _ClosestPointIndex, _DotP, _Nature, _nNullDotP, _nPosDotP, _pSmoothEdge, _pWXFace, ELEM, Freestyle::WXFace::front(), G, G_DEBUG_FREESTYLE, Get0VertexIndex(), Freestyle::WFace::GetOEdge(), GetSmoothEdgeIndex(), Freestyle::WFace::numberOfEdges(), RetrieveCuspEdgesIndices(), Freestyle::WXSmoothEdge::setFront(), Freestyle::WXSmoothEdge::setTa(), Freestyle::WXSmoothEdge::setTb(), Freestyle::WXSmoothEdge::setWOeA(), Freestyle::WXSmoothEdge::setWOeB(), and Freestyle::Nature::SILHOUETTE.
|
inline |
Definition at line 393 of file WXEdge.h.
References _ClosestPointIndex.
|
inline |
Definition at line 378 of file WXEdge.h.
References _DotP.
Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
| unsigned int Freestyle::WXFaceLayer::Get0VertexIndex | ( | ) | const |
If one of the face layer vertex has a DotP equal to 0, this method returns the vertex where it happens
Definition at line 35 of file WXEdge.cpp.
References _DotP, _pWXFace, and Freestyle::WFace::numberOfEdges().
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 411 of file WXEdge.h.
References _pWXFace.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), and Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer().
|
inline |
Definition at line 416 of file WXEdge.h.
References _pSmoothEdge.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer(), and Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
| unsigned int Freestyle::WXFaceLayer::GetSmoothEdgeIndex | ( | ) | const |
In case one of the edge of the triangle is a smooth edge, this method allows to retrieve the concerned edge
Definition at line 46 of file WXEdge.cpp.
References _DotP, _pWXFace, and Freestyle::WFace::numberOfEdges().
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 403 of file WXEdge.h.
References _pSmoothEdge.
|
inline |
Definition at line 421 of file WXEdge.h.
References _viewDependant.
|
inline |
Definition at line 398 of file WXEdge.h.
References _Nature.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), and Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer().
|
inline |
Definition at line 388 of file WXEdge.h.
References _nNullDotP.
|
inline |
Definition at line 383 of file WXEdge.h.
References _nPosDotP.
Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
|
inline |
Definition at line 462 of file WXEdge.h.
References _DotP, _nNullDotP, and _nPosDotP.
Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), Freestyle::FEdgeXDetector::ProcessSilhouetteFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
|
inline |
Definition at line 431 of file WXEdge.h.
References _DotP, _pSmoothEdge, and NULL.
Referenced by Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
|
inline |
Definition at line 473 of file WXEdge.h.
References _DotP, and updateDotPInfos().
Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
| void Freestyle::WXFaceLayer::RetrieveCuspEdgesIndices | ( | vector< int > & | oCuspEdges | ) |
retrieves the edges of the triangle for which the signs are different (a null value is not considered) for the dotp values at each edge extremity
Definition at line 58 of file WXEdge.cpp.
References _DotP, _pWXFace, and Freestyle::WFace::numberOfEdges().
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 426 of file WXEdge.h.
References _ClosestPointIndex.
Referenced by Freestyle::FEdgeXDetector::ProcessSilhouetteFace().
|
inline |
Definition at line 479 of file WXEdge.h.
References _DotP, _nNullDotP, and _nPosDotP.
Referenced by ReplaceDotP().
| unsigned Freestyle::WXFaceLayer::_ClosestPointIndex |
Definition at line 338 of file WXEdge.h.
Referenced by BuildSmoothEdge(), closestPointIndex(), and setClosestPointIndex().
Definition at line 328 of file WXEdge.h.
Referenced by BuildSmoothEdge(), dotP(), Get0VertexIndex(), GetSmoothEdgeIndex(), PushDotP(), removeSmoothEdge(), ReplaceDotP(), RetrieveCuspEdgesIndices(), setDotP(), updateDotPInfos(), WXFaceLayer(), and ~WXFaceLayer().
| WXNature Freestyle::WXFaceLayer::_Nature |
Definition at line 330 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nature(), and WXFaceLayer().
| unsigned Freestyle::WXFaceLayer::_nNullDotP |
Definition at line 337 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nNullDotP(), PushDotP(), updateDotPInfos(), and WXFaceLayer().
| unsigned Freestyle::WXFaceLayer::_nPosDotP |
Definition at line 335 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nPosDotP(), PushDotP(), updateDotPInfos(), and WXFaceLayer().
| WXSmoothEdge* Freestyle::WXFaceLayer::_pSmoothEdge |
Definition at line 329 of file WXEdge.h.
Referenced by BuildSmoothEdge(), getSmoothEdge(), hasSmoothEdge(), removeSmoothEdge(), WXFaceLayer(), and ~WXFaceLayer().
| WXFace* Freestyle::WXFaceLayer::_pWXFace |
Definition at line 325 of file WXEdge.h.
Referenced by BuildSmoothEdge(), Get0VertexIndex(), getFace(), GetSmoothEdgeIndex(), RetrieveCuspEdgesIndices(), and WXFaceLayer().
| bool Freestyle::WXFaceLayer::_viewDependant |
Definition at line 339 of file WXEdge.h.
Referenced by isViewDependant(), and WXFaceLayer().
| void* Freestyle::WXFaceLayer::userdata |
Definition at line 324 of file WXEdge.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewEdgeXBuilder::stopSmoothViewEdge(), and WXFaceLayer().