|
Blender V4.3
|
#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 |
| uint | nPosDotP () const |
| uint | nNullDotP () const |
| int | closestPointIndex () const |
| WXNature | nature () const |
| bool | hasSmoothEdge () const |
| WXFace * | getFace () |
| WXSmoothEdge * | getSmoothEdge () |
| bool | isViewDependant () const |
| void | setClosestPointIndex (int iIndex) |
| void | removeSmoothEdge () |
| uint | Get0VertexIndex () const |
| uint | GetSmoothEdgeIndex () const |
| void | RetrieveCuspEdgesIndices (vector< int > &oCuspEdges) |
| WXSmoothEdge * | BuildSmoothEdge () |
| void | setDotP (const vector< float > &iDotP) |
| void | PushDotP (float iDotP) |
| void | ReplaceDotP (uint index, float newDotP) |
| void | updateDotPInfos () |
Public Attributes | |
| void * | userdata |
| WXFace * | _pWXFace |
| vector< float > | _DotP |
| WXSmoothEdge * | _pSmoothEdge |
| WXNature | _Nature |
| uint | _nPosDotP |
| uint | _nNullDotP |
| uint | _ClosestPointIndex |
| bool | _viewDependant |
Definition at line 325 of file WXEdge.h.
References _Nature, _nNullDotP, _nPosDotP, _pSmoothEdge, _pWXFace, _viewDependant, and userdata.
|
inline |
Definition at line 336 of file WXEdge.h.
References _DotP, _Nature, _nNullDotP, _nPosDotP, _pSmoothEdge, _pWXFace, _viewDependant, and userdata.
|
inlinevirtual |
Definition at line 351 of file WXEdge.h.
References _DotP, and _pSmoothEdge.
| WXSmoothEdge * Freestyle::WXFaceLayer::BuildSmoothEdge | ( | ) |
Definition at line 61 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 377 of file WXEdge.h.
References _ClosestPointIndex.
Definition at line 362 of file WXEdge.h.
References _DotP.
Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
| uint 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 26 of file WXEdge.cpp.
References _DotP, _pWXFace, and Freestyle::WFace::numberOfEdges().
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 395 of file WXEdge.h.
References _pWXFace.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), and Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer().
|
inline |
Definition at line 400 of file WXEdge.h.
References _pSmoothEdge.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer(), and Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
| uint 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 37 of file WXEdge.cpp.
References _DotP, _pWXFace, and Freestyle::WFace::numberOfEdges().
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 387 of file WXEdge.h.
References _pSmoothEdge.
|
inline |
Definition at line 405 of file WXEdge.h.
References _viewDependant.
|
inline |
Definition at line 382 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 372 of file WXEdge.h.
References _nNullDotP.
|
inline |
Definition at line 367 of file WXEdge.h.
References _nPosDotP.
Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
|
inline |
Definition at line 446 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 415 of file WXEdge.h.
References _DotP, and _pSmoothEdge.
Referenced by Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
Definition at line 457 of file WXEdge.h.
References _DotP, and updateDotPInfos().
Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
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 49 of file WXEdge.cpp.
References _DotP, _pWXFace, and Freestyle::WFace::numberOfEdges().
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 410 of file WXEdge.h.
References _ClosestPointIndex.
Referenced by Freestyle::FEdgeXDetector::ProcessSilhouetteFace().
|
inline |
Definition at line 463 of file WXEdge.h.
References _DotP, _nNullDotP, and _nPosDotP.
Referenced by ReplaceDotP().
| uint Freestyle::WXFaceLayer::_ClosestPointIndex |
Definition at line 322 of file WXEdge.h.
Referenced by BuildSmoothEdge(), closestPointIndex(), and setClosestPointIndex().
Definition at line 312 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 314 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nature(), WXFaceLayer(), and WXFaceLayer().
| uint Freestyle::WXFaceLayer::_nNullDotP |
Definition at line 321 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nNullDotP(), PushDotP(), updateDotPInfos(), WXFaceLayer(), and WXFaceLayer().
| uint Freestyle::WXFaceLayer::_nPosDotP |
Definition at line 319 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nPosDotP(), PushDotP(), updateDotPInfos(), WXFaceLayer(), and WXFaceLayer().
| WXSmoothEdge* Freestyle::WXFaceLayer::_pSmoothEdge |
Definition at line 313 of file WXEdge.h.
Referenced by BuildSmoothEdge(), getSmoothEdge(), hasSmoothEdge(), removeSmoothEdge(), WXFaceLayer(), WXFaceLayer(), and ~WXFaceLayer().
| WXFace* Freestyle::WXFaceLayer::_pWXFace |
Definition at line 309 of file WXEdge.h.
Referenced by BuildSmoothEdge(), Get0VertexIndex(), getFace(), GetSmoothEdgeIndex(), RetrieveCuspEdgesIndices(), WXFaceLayer(), and WXFaceLayer().
| bool Freestyle::WXFaceLayer::_viewDependant |
Definition at line 323 of file WXEdge.h.
Referenced by isViewDependant(), WXFaceLayer(), and WXFaceLayer().
| void* Freestyle::WXFaceLayer::userdata |
Definition at line 308 of file WXEdge.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewEdgeXBuilder::stopSmoothViewEdge(), WXFaceLayer(), and WXFaceLayer().