Blender
V3.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 |
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 327 of file WXEdge.h.
References _Nature, _nNullDotP, _nPosDotP, _pSmoothEdge, _pWXFace, _viewDependant, NULL, and userdata.
|
inline |
Definition at line 338 of file WXEdge.h.
References _DotP, _Nature, _nNullDotP, _nPosDotP, _pSmoothEdge, _pWXFace, _viewDependant, NULL, and userdata.
|
inlinevirtual |
Definition at line 353 of file WXEdge.h.
References _DotP, _pSmoothEdge, and NULL.
WXSmoothEdge * Freestyle::WXFaceLayer::BuildSmoothEdge | ( | ) |
Definition at line 56 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 379 of file WXEdge.h.
References _ClosestPointIndex.
|
inline |
Definition at line 364 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 21 of file WXEdge.cpp.
References _DotP, _pWXFace, and Freestyle::WFace::numberOfEdges().
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 397 of file WXEdge.h.
References _pWXFace.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), and Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer().
|
inline |
Definition at line 402 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 32 of file WXEdge.cpp.
References _DotP, _pWXFace, and Freestyle::WFace::numberOfEdges().
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 389 of file WXEdge.h.
References _pSmoothEdge.
|
inline |
Definition at line 407 of file WXEdge.h.
References _viewDependant.
|
inline |
Definition at line 384 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 374 of file WXEdge.h.
References _nNullDotP.
|
inline |
Definition at line 369 of file WXEdge.h.
References _nPosDotP.
Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
Definition at line 448 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 417 of file WXEdge.h.
References _DotP, _pSmoothEdge, and NULL.
Referenced by Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
Definition at line 459 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 44 of file WXEdge.cpp.
References _DotP, _pWXFace, and Freestyle::WFace::numberOfEdges().
Referenced by BuildSmoothEdge().
|
inline |
Definition at line 412 of file WXEdge.h.
References _ClosestPointIndex.
Referenced by Freestyle::FEdgeXDetector::ProcessSilhouetteFace().
|
inline |
Definition at line 465 of file WXEdge.h.
References _DotP, _nNullDotP, and _nPosDotP.
Referenced by ReplaceDotP().
unsigned Freestyle::WXFaceLayer::_ClosestPointIndex |
Definition at line 324 of file WXEdge.h.
Referenced by BuildSmoothEdge(), closestPointIndex(), and setClosestPointIndex().
Definition at line 314 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 316 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nature(), and WXFaceLayer().
unsigned Freestyle::WXFaceLayer::_nNullDotP |
Definition at line 323 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nNullDotP(), PushDotP(), updateDotPInfos(), and WXFaceLayer().
unsigned Freestyle::WXFaceLayer::_nPosDotP |
Definition at line 321 of file WXEdge.h.
Referenced by BuildSmoothEdge(), nPosDotP(), PushDotP(), updateDotPInfos(), and WXFaceLayer().
WXSmoothEdge* Freestyle::WXFaceLayer::_pSmoothEdge |
Definition at line 315 of file WXEdge.h.
Referenced by BuildSmoothEdge(), getSmoothEdge(), hasSmoothEdge(), removeSmoothEdge(), WXFaceLayer(), and ~WXFaceLayer().
WXFace* Freestyle::WXFaceLayer::_pWXFace |
Definition at line 311 of file WXEdge.h.
Referenced by BuildSmoothEdge(), Get0VertexIndex(), getFace(), GetSmoothEdgeIndex(), RetrieveCuspEdgesIndices(), and WXFaceLayer().
bool Freestyle::WXFaceLayer::_viewDependant |
Definition at line 325 of file WXEdge.h.
Referenced by isViewDependant(), and WXFaceLayer().
void* Freestyle::WXFaceLayer::userdata |
Definition at line 310 of file WXEdge.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothViewEdge(), Freestyle::ViewEdgeXBuilder::stopSmoothViewEdge(), and WXFaceLayer().