|
Blender
V2.93
|
#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 |
| unsigned | _FrsMaterialIndex |
| bool | _Mark |
| Freestyle::WFace::WFace | ( | WFace & | iBrother | ) |
copy constructor
Definition at line 266 of file WEdge.cpp.
References _FrsMaterialIndex, Freestyle::WVertex::_Id, _Mark, _VerticesNormals, _VerticesTexCoords, getEdgeList(), GetId(), GetNormal(), Freestyle::WVertex::userdata, and userdata.
|
inline |
|
virtual |
Reimplemented in Freestyle::WXFace.
Definition at line 280 of file WEdge.cpp.
Referenced by Freestyle::WShape::WShape().
| const FrsMaterial & Freestyle::WFace::frs_material | ( | ) |
|
inline |
Definition at line 785 of file WEdge.h.
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 419 of file WEdge.cpp.
References Freestyle::a, norm(), v1, and v2.
Referenced by Freestyle::gts_vertex_principal_directions().
|
inline |
Definition at line 846 of file WEdge.h.
References NULL.
Referenced by Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), and Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer().
Definition at line 856 of file WEdge.h.
References Freestyle::WOEdge::GetaFace().
accessors
Definition at line 765 of file WEdge.h.
Referenced by Freestyle::computeVisibility(), Freestyle::triangle_obtuse(), and WFace().
|
inline |
|
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 811 of file WEdge.h.
Referenced by Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
|
inline |
Definition at line 790 of file WEdge.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer(), and Freestyle::ViewEdgeXBuilder::retrieveFaceMarks().
Definition at line 901 of file WEdge.h.
References NULL.
Referenced by Freestyle::gts_vertex_principal_directions(), and Freestyle::WOEdge::RetrieveCWOrderedEdges().
|
inline |
Definition at line 775 of file WEdge.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), Freestyle::computeCumulativeVisibility(), Freestyle::computeDetailedVisibility(), Freestyle::computeFastVisibility(), Freestyle::computeVeryFastVisibility(), Freestyle::computeVisibility(), Freestyle::FEdgeXDetector::preProcessFace(), Freestyle::WOEdge::setVecAndAngle(), and WFace().
|
inline |
Definition at line 770 of file WEdge.h.
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 390 of file WEdge.cpp.
Referenced by Freestyle::angle_obtuse(), and Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
| WShape * Freestyle::WFace::getShape | ( | ) |
Definition at line 455 of file WEdge.cpp.
References Freestyle::WVertex::GetVertex().
|
inline |
The vertex of index i corresponds to the a vertex of the edge of index i
Definition at line 798 of file WEdge.h.
References NULL.
Referenced by Freestyle::computeCumulativeVisibility(), Freestyle::computeDetailedVisibility(), Freestyle::ViewMapBuilder::ComputeFastRayCastingVisibility(), Freestyle::computeFastVisibility(), 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().
|
inline |
Returns the normal of the vertex of index index
Definition at line 872 of file WEdge.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::WingedEdgeBuilder::buildWShape(), Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace(), Freestyle::FEdgeXDetector::ProcessCreaseEdge(), Freestyle::FEdgeXDetector::ProcessSilhouetteEdge(), and Freestyle::FEdgeXDetector::ProcessSilhouetteFace().
|
inline |
|
inlinevirtual |
designed to build a specialized WEdge for use in MakeEdge
Reimplemented in Freestyle::WXFace.
|
inline |
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 291 of file WEdge.cpp.
References Freestyle::WVertex::AddEdge(), Freestyle::WEdge::AddOEdge(), Freestyle::WEdge::GetaOEdge(), Freestyle::WOEdge::GetaVertex(), Freestyle::WOEdge::GetbFace(), Freestyle::WEdge::GetbOEdge(), Freestyle::WOEdge::GetbVertex(), Freestyle::WOEdge::GetOwner(), Freestyle::WOEdge::setaFace(), Freestyle::WOEdge::setaVertex(), Freestyle::WOEdge::setbFace(), Freestyle::WOEdge::setbVertex(), Freestyle::WOEdge::setOwner(), v1, and v2.
Referenced by Freestyle::WShape::MakeFace().
|
inline |
Definition at line 926 of file WEdge.h.
Referenced by Freestyle::WXFaceLayer::BuildSmoothEdge(), Freestyle::computeCumulativeVisibility(), Freestyle::computeDetailedVisibility(), Freestyle::computeFastVisibility(), Freestyle::computeVeryFastVisibility(), Freestyle::WXFaceLayer::Get0VertexIndex(), Freestyle::WXFaceLayer::GetSmoothEdgeIndex(), and Freestyle::WXFaceLayer::RetrieveCuspEdgesIndices().
|
inline |
|
inlinevirtual |
Reimplemented in Freestyle::WXFace.
Definition at line 1014 of file WEdge.h.
References NULL.
Referenced by Freestyle::WXFace::ResetUserData().
Definition at line 825 of file WEdge.h.
Referenced by Freestyle::WXFace::ComputeCenter(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::computeVisibility(), Freestyle::findOccludee(), and Freestyle::ViewMapBuilder::FindOccludee().
|
inline |
Definition at line 975 of file WEdge.h.
Referenced by Freestyle::WShape::MakeFace().
|
inline |
|
inline |
Definition at line 980 of file WEdge.h.
Referenced by Freestyle::WShape::MakeFace().
|
inline |
Definition at line 955 of file WEdge.h.
Referenced by Freestyle::WShape::MakeFace().
Definition at line 960 of file WEdge.h.
Referenced by Freestyle::WShape::MakeFace().
Definition at line 965 of file WEdge.h.
Referenced by Freestyle::WShape::MakeFace().
|
protected |
|
protected |
| void* Freestyle::WFace::userdata |
Definition at line 750 of file WEdge.h.
Referenced by Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::FindOccludee(), WFace(), and Freestyle::WShape::WShape().