|
Blender V4.3
|
#include <WEdge.h>
Inherited by Freestyle::WXFace.
Public Attributes | |
| void * | userdata |
Protected Attributes | |
| vector< WOEdge * > | _OEdgeList |
| Vec3f | _Normal |
| vector< Vec3f > | _VerticesNormals |
| vector< Vec2f > | _VerticesTexCoords |
| int | _Id |
| uint | _FrsMaterialIndex |
| bool | _Mark |
|
inline |
Definition at line 704 of file WEdge.h.
References _FrsMaterialIndex, and userdata.
| Freestyle::WFace::WFace | ( | WFace & | iBrother | ) |
copy constructor
Definition at line 256 of file WEdge.cpp.
References _FrsMaterialIndex, Freestyle::WVertex::_Id, _Mark, _VerticesNormals, _VerticesTexCoords, getEdgeList(), GetId(), GetNormal(), userdata, and Freestyle::WVertex::userdata.
|
inline |
|
virtual |
Reimplemented in Freestyle::WXFace.
Definition at line 270 of file WEdge.cpp.
Referenced by Freestyle::WShape::WShape().
| const FrsMaterial & Freestyle::WFace::frs_material | ( | ) |
|
inline |
Definition at line 736 of file WEdge.h.
References _FrsMaterialIndex.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), and Freestyle::FEdgeXDetector::ProcessMaterialBoundaryEdge().
| float Freestyle::WFace::getArea | ( | ) |
compute the area of the face
Definition at line 409 of file WEdge.cpp.
References Freestyle::a, norm(), and v2.
Referenced by Freestyle::gts_vertex_principal_directions().
Definition at line 800 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), and Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer().
Definition at line 810 of file WEdge.h.
References Freestyle::WOEdge::GetaFace().
accessors
Definition at line 716 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::computeVisibility(), Freestyle::triangle_obtuse(), and WFace().
|
inline |
returns the index at which iVertex is stored in the array. returns -1 if iVertex doesn't belong to the face.
Definition at line 762 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
|
inline |
Definition at line 741 of file WEdge.h.
References _Mark.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer(), and Freestyle::ViewEdgeXBuilder::retrieveFaceMarks().
Definition at line 856 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::gts_vertex_principal_directions(), and Freestyle::WOEdge::RetrieveCWOrderedEdges().
|
inline |
Definition at line 726 of file WEdge.h.
References _Normal.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), Freestyle::computeCumulativeVisibility(), Freestyle::computeDetailedVisibility(), Freestyle::computeFastVisibility(), Freestyle::computeVeryFastVisibility(), Freestyle::computeVisibility(), Freestyle::FEdgeXDetector::preProcessFace(), Freestyle::WOEdge::setVecAndAngle(), and WFace().
Definition at line 721 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::WXFaceLayer::BuildSmoothEdge().
For triangles, returns the edge opposite to the vertex in e. returns false if the face is not a triangle or if the vertex is not found
Definition at line 380 of file WEdge.cpp.
Referenced by Freestyle::angle_obtuse(), and Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
Definition at line 815 of file WEdge.h.
References _VerticesNormals.
Definition at line 820 of file WEdge.h.
References _VerticesTexCoords.
| WShape * Freestyle::WFace::getShape | ( | ) |
Definition at line 445 of file WEdge.cpp.
References Freestyle::WVertex::GetVertex().
The vertex of index i corresponds to the a vertex of the edge of index i
Definition at line 749 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::computeCumulativeVisibility(), Freestyle::computeDetailedVisibility(), Freestyle::ViewMapBuilder::ComputeFastRayCastingVisibility(), Freestyle::computeFastVisibility(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeVeryFastRayCastingVisibility(), Freestyle::computeVeryFastVisibility(), Freestyle::computeVisibility(), Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace(), Freestyle::FEdgeXDetector::preProcessFace(), Freestyle::FEdgeXDetector::ProcessRidgeFace(), Freestyle::FEdgeXDetector::ProcessSilhouetteFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
Returns the normal of the vertex of index.
Definition at line 826 of file WEdge.h.
References _VerticesNormals.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace(), Freestyle::FEdgeXDetector::ProcessCreaseEdge(), Freestyle::FEdgeXDetector::ProcessSilhouetteEdge(), and Freestyle::FEdgeXDetector::ProcessSilhouetteFace().
Returns the normal of the vertex iVertex for that face
Definition at line 838 of file WEdge.h.
References _OEdgeList, and _VerticesNormals.
Returns the texture coords of the vertex of index.
Definition at line 832 of file WEdge.h.
References _VerticesTexCoords.
|
inlinevirtual |
designed to build a specialized WEdge for use in MakeEdge
Reimplemented in Freestyle::WXFace.
|
inline |
Returns true if the face has one ot its edge which is a border edge
Definition at line 892 of file WEdge.h.
References _OEdgeList.
Builds an oriented edge Returns the built edge. v1, v2 Vertices at the edge's extremities The edge is oriented from v1 to v2.
Definition at line 281 of file WEdge.cpp.
References Freestyle::WVertex::AddEdge(), Freestyle::WEdge::GetaOEdge(), Freestyle::WOEdge::GetaVertex(), Freestyle::WOEdge::GetbFace(), Freestyle::WEdge::GetbOEdge(), Freestyle::WOEdge::GetbVertex(), Freestyle::WVertex::GetEdges(), Freestyle::WVertex::GetId(), Freestyle::WOEdge::GetOwner(), Freestyle::WOEdge::setaFace(), Freestyle::WOEdge::setaVertex(), Freestyle::WOEdge::setbFace(), Freestyle::WVertex::setBorder(), Freestyle::WOEdge::setbVertex(), Freestyle::WOEdge::setOwner(), and v2.
|
inline |
Definition at line 881 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::WXFaceLayer::BuildSmoothEdge(), Freestyle::computeCumulativeVisibility(), Freestyle::computeDetailedVisibility(), Freestyle::computeFastVisibility(), Freestyle::computeVeryFastVisibility(), Freestyle::WXFaceLayer::Get0VertexIndex(), Freestyle::WXFaceLayer::GetSmoothEdgeIndex(), and Freestyle::WXFaceLayer::RetrieveCuspEdgesIndices().
|
inline |
Definition at line 886 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace(), Freestyle::FEdgeXDetector::ProcessRidgeFace(), Freestyle::FEdgeXDetector::ProcessSilhouetteFace(), and Freestyle::FEdgeXDetector::ProcessSuggestiveContourFace().
|
inlinevirtual |
Reimplemented in Freestyle::WXFace.
Definition at line 970 of file WEdge.h.
References userdata.
Referenced by Freestyle::WXFace::ResetUserData().
Definition at line 787 of file WEdge.h.
References _OEdgeList.
Definition at line 777 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::WXFace::ComputeCenter(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), and Freestyle::computeVisibility().
|
inline |
Definition at line 931 of file WEdge.h.
References _FrsMaterialIndex.
Referenced by Freestyle::WShape::MakeFace().
|
inline |
|
inline |
|
inline |
Definition at line 916 of file WEdge.h.
References _VerticesNormals.
Definition at line 921 of file WEdge.h.
References _VerticesTexCoords.
|
protected |
Definition at line 699 of file WEdge.h.
Referenced by frs_materialIndex(), setFrsMaterialIndex(), WFace(), and WFace().
|
protected |
|
protected |
|
protected |
Definition at line 692 of file WEdge.h.
Referenced by GetNormal(), and setNormal().
Definition at line 691 of file WEdge.h.
Referenced by AddEdge(), GetBordingFace(), getEdgeList(), GetIndex(), GetNextOEdge(), GetOEdge(), GetVertex(), GetVertexNormal(), isBorder(), numberOfEdges(), numberOfVertices(), RetrieveBorderFaces(), RetrieveVertexList(), and setEdgeList().
Definition at line 695 of file WEdge.h.
Referenced by GetPerVertexNormals(), GetVertexNormal(), GetVertexNormal(), setNormalList(), and WFace().
Definition at line 696 of file WEdge.h.
Referenced by GetPerVertexTexCoords(), GetVertexTexCoords(), setTexCoordsList(), and WFace().
| void* Freestyle::WFace::userdata |
Definition at line 703 of file WEdge.h.
Referenced by Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::FindOccludee(), ResetUserData(), WFace(), WFace(), and Freestyle::WShape::WShape().