|
Blender V5.0
|
#include <WXEdge.h>
Public Member Functions | |
| WXFaceLayer (WXFace *iFace, WXNature iNature, bool viewDependant) | |
| WXFaceLayer (const WXFaceLayer &iBrother) | |
| virtual | ~WXFaceLayer () |
| 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 317 of file WXEdge.h.
References _Nature, _nNullDotP, _nPosDotP, _pSmoothEdge, _pWXFace, _viewDependant, and userdata.
Referenced by WXFaceLayer().
|
inline |
Definition at line 328 of file WXEdge.h.
References _DotP, _Nature, _nNullDotP, _nPosDotP, _pSmoothEdge, _pWXFace, _viewDependant, userdata, and WXFaceLayer().
|
inlinevirtual |
Definition at line 343 of file WXEdge.h.
References _DotP, and _pSmoothEdge.
| WXSmoothEdge * Freestyle::WXFaceLayer::BuildSmoothEdge | ( | ) |
Definition at line 62 of file WXEdge.cpp.
References _ClosestPointIndex, _DotP, _Nature, _nNullDotP, _nPosDotP, _pSmoothEdge, _pWXFace, ELEM, G, G_DEBUG_FREESTYLE, Get0VertexIndex(), GetSmoothEdgeIndex(), i, RetrieveCuspEdgesIndices(), and Freestyle::Nature::SILHOUETTE.
|
inline |
Definition at line 369 of file WXEdge.h.
References _ClosestPointIndex.
|
inline |
Definition at line 354 of file WXEdge.h.
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 27 of file WXEdge.cpp.
References _DotP, _pWXFace, and i.
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 387 of file WXEdge.h.
References _pWXFace.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), and Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer().
|
inline |
Definition at line 392 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 38 of file WXEdge.cpp.
References _DotP, _pWXFace, and i.
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 379 of file WXEdge.h.
References _pSmoothEdge.
|
inline |
Definition at line 397 of file WXEdge.h.
References _viewDependant.
|
inline |
Definition at line 374 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 364 of file WXEdge.h.
References _nNullDotP.
|
inline |
Definition at line 359 of file WXEdge.h.
References _nPosDotP.
Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
|
inline |
Definition at line 438 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 407 of file WXEdge.h.
References _DotP, and _pSmoothEdge.
Referenced by Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
Definition at line 449 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 50 of file WXEdge.cpp.
References _DotP, _pWXFace, and i.
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 402 of file WXEdge.h.
References _ClosestPointIndex.
Referenced by Freestyle::FEdgeXDetector::ProcessSilhouetteFace().
|
inline |
Definition at line 455 of file WXEdge.h.
References _DotP, _nNullDotP, and _nPosDotP.
Referenced by ReplaceDotP().
| uint Freestyle::WXFaceLayer::_ClosestPointIndex |
Definition at line 314 of file WXEdge.h.
Referenced by BuildSmoothEdge(), closestPointIndex(), and setClosestPointIndex().
Definition at line 304 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 306 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nature(), WXFaceLayer(), and WXFaceLayer().
| uint Freestyle::WXFaceLayer::_nNullDotP |
Definition at line 313 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nNullDotP(), PushDotP(), updateDotPInfos(), WXFaceLayer(), and WXFaceLayer().
| uint Freestyle::WXFaceLayer::_nPosDotP |
Definition at line 311 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nPosDotP(), PushDotP(), updateDotPInfos(), WXFaceLayer(), and WXFaceLayer().
| WXSmoothEdge* Freestyle::WXFaceLayer::_pSmoothEdge |
Definition at line 305 of file WXEdge.h.
Referenced by BuildSmoothEdge(), getSmoothEdge(), hasSmoothEdge(), removeSmoothEdge(), WXFaceLayer(), WXFaceLayer(), and ~WXFaceLayer().
| WXFace* Freestyle::WXFaceLayer::_pWXFace |
Definition at line 301 of file WXEdge.h.
Referenced by BuildSmoothEdge(), Get0VertexIndex(), getFace(), GetSmoothEdgeIndex(), RetrieveCuspEdgesIndices(), WXFaceLayer(), and WXFaceLayer().
| bool Freestyle::WXFaceLayer::_viewDependant |
Definition at line 315 of file WXEdge.h.
Referenced by isViewDependant(), WXFaceLayer(), and WXFaceLayer().
| void* Freestyle::WXFaceLayer::userdata |
Definition at line 300 of file WXEdge.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewEdgeXBuilder::stopSmoothViewEdge(), WXFaceLayer(), and WXFaceLayer().