|
Blender V4.5
|
#include <WXEdge.h>
Inherits Freestyle::WFace.
Public Member Functions | |
| WXFace () | |
| WXFace (WXFace &iBrother) | |
| virtual WFace * | duplicate () |
| virtual | ~WXFace () |
| virtual WEdge * | instanciateEdge () const |
| Vec3f & | center () |
| float | Z () |
| bool | front () |
| float | dotp () |
| bool | hasSmoothEdges () const |
| vector< WXFaceLayer * > & | getSmoothLayers () |
| void | retrieveSmoothEdges (WXNature iNature, vector< WXSmoothEdge * > &oSmoothEdges) |
| void | retrieveSmoothEdgesLayers (WXNature iNature, vector< WXFaceLayer * > &oSmoothEdgesLayers) |
| void | retrieveSmoothLayers (WXNature iNature, vector< WXFaceLayer * > &oSmoothLayers) |
| void | setCenter (const Vec3f &iCenter) |
| void | ComputeCenter () |
| void | setZ (float z) |
| void | setFront (bool iFront) |
| void | setDotP (float iDotP) |
| void | AddSmoothLayer (WXFaceLayer *iLayer) |
| void | Reset () |
| void | Clear () |
| virtual void | ResetUserData () |
| Public Member Functions inherited from Freestyle::WFace | |
| WFace () | |
| WFace (WFace &iBrother) | |
| virtual | ~WFace () |
| const vector< WOEdge * > & | getEdgeList () |
| WOEdge * | GetOEdge (int i) |
| Vec3f & | GetNormal () |
| int | GetId () |
| uint | frs_materialIndex () const |
| bool | GetMark () const |
| const FrsMaterial & | frs_material () |
| WVertex * | GetVertex (uint index) |
| int | GetIndex (WVertex *iVertex) |
| void | RetrieveVertexList (vector< WVertex * > &oVertices) |
| void | RetrieveBorderFaces (vector< const WFace * > &oWFaces) |
| WFace * | GetBordingFace (int index) |
| WFace * | GetBordingFace (WOEdge *iOEdge) |
| vector< Vec3f > & | GetPerVertexNormals () |
| vector< Vec2f > & | GetPerVertexTexCoords () |
| Vec3f & | GetVertexNormal (int index) |
| Vec2f & | GetVertexTexCoords (int index) |
| Vec3f & | GetVertexNormal (WVertex *iVertex) |
| WOEdge * | GetNextOEdge (WOEdge *iOEdge) |
| WOEdge * | GetPrevOEdge (WOEdge *iOEdge) |
| int | numberOfEdges () const |
| int | numberOfVertices () const |
| bool | isBorder () const |
| void | setEdgeList (const vector< WOEdge * > &iEdgeList) |
| void | setNormal (const Vec3f &iNormal) |
| void | setNormalList (const vector< Vec3f > &iNormalsList) |
| void | setTexCoordsList (const vector< Vec2f > &iTexCoordsList) |
| void | setId (int id) |
| void | setFrsMaterialIndex (uint iMaterialIndex) |
| void | setMark (bool iMark) |
| virtual WOEdge * | MakeEdge (WVertex *v1, WVertex *v2) |
| void | AddEdge (WOEdge *iEdge) |
| bool | getOppositeEdge (const WVertex *v, WOEdge *&e) |
| float | getArea () |
| WShape * | getShape () |
Protected Attributes | |
| Vec3f | _center |
| float | _Z |
| bool | _front |
| float | _dotp |
| vector< WXFaceLayer * > | _SmoothLayers |
| Protected Attributes inherited from Freestyle::WFace | |
| vector< WOEdge * > | _OEdgeList |
| Vec3f | _Normal |
| vector< Vec3f > | _VerticesNormals |
| vector< Vec2f > | _VerticesTexCoords |
| int | _Id |
| uint | _FrsMaterialIndex |
| bool | _Mark |
Additional Inherited Members | |
| Public Attributes inherited from Freestyle::WFace | |
| void * | userdata |
|
inline |
Definition at line 483 of file WXEdge.h.
References _front, _Z, and Freestyle::WFace::WFace().
Referenced by duplicate(), and WXFace().
|
inline |
|
inlinevirtual |
Definition at line 510 of file WXEdge.h.
References _SmoothLayers.
|
inline |
Definition at line 636 of file WXEdge.h.
References _SmoothLayers.
Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), Freestyle::FEdgeXDetector::ProcessSilhouetteFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
|
inline |
accessors
Definition at line 531 of file WXEdge.h.
References _center.
Referenced by ComputeCenter(), Freestyle::FEdgeXDetector::preProcessFace(), and WXFace().
|
inline |
Clears everything
Definition at line 659 of file WXEdge.h.
References _SmoothLayers.
Referenced by Freestyle::FEdgeXDetector::processShapes().
| void Freestyle::WXFace::ComputeCenter | ( | ) |
Definition at line 242 of file WXEdge.cpp.
References center(), Freestyle::WFace::RetrieveVertexList(), and setCenter().
|
inlinevirtual |
Reimplemented from Freestyle::WFace.
Definition at line 504 of file WXEdge.h.
References Freestyle::WFace::WFace(), and WXFace().
|
inline |
Definition at line 541 of file WXEdge.h.
References _front.
Referenced by Freestyle::FEdgeXDetector::ProcessSilhouetteEdge(), and WXFace().
|
inline |
Definition at line 565 of file WXEdge.h.
References _SmoothLayers.
Referenced by Freestyle::ViewEdgeXBuilder::BuildViewEdges().
|
inline |
Definition at line 551 of file WXEdge.h.
References _SmoothLayers.
Referenced by Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), and Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer().
|
inlinevirtual |
designed to build a specialized WEdge for use in MakeEdge
Reimplemented from Freestyle::WFace.
|
inline |
Definition at line 641 of file WXEdge.h.
References _SmoothLayers.
|
inlinevirtual |
Reimplemented from Freestyle::WFace.
Definition at line 670 of file WXEdge.h.
References _SmoothLayers, and Freestyle::WFace::ResetUserData().
|
inline |
retrieve the smooth edges that match the Nature given as argument
Definition at line 571 of file WXEdge.h.
References _SmoothLayers.
|
inline |
Definition at line 583 of file WXEdge.h.
References _SmoothLayers.
Referenced by Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer(), and Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
|
inline |
Definition at line 595 of file WXEdge.h.
References _SmoothLayers.
|
inline |
modifiers
Definition at line 608 of file WXEdge.h.
References _center.
Referenced by ComputeCenter().
|
inline |
Definition at line 625 of file WXEdge.h.
Referenced by Freestyle::FEdgeXDetector::preProcessFace().
|
inline |
|
inline |
Definition at line 615 of file WXEdge.h.
Referenced by Freestyle::FEdgeXDetector::preProcessFace().
|
inline |
|
protected |
Definition at line 474 of file WXEdge.h.
Referenced by center(), setCenter(), and WXFace().
|
protected |
|
protected |
|
protected |
Definition at line 479 of file WXEdge.h.
Referenced by AddSmoothLayer(), Clear(), getSmoothLayers(), hasSmoothEdges(), Reset(), ResetUserData(), retrieveSmoothEdges(), retrieveSmoothEdgesLayers(), retrieveSmoothLayers(), WXFace(), and ~WXFace().
|
protected |