Blender
V3.3
|
#include <WEdge.h>
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 252 of file WEdge.cpp.
References _FrsMaterialIndex, Freestyle::WVertex::_Id, _Mark, _VerticesNormals, _VerticesTexCoords, getEdgeList(), GetId(), GetNormal(), Freestyle::WVertex::userdata, and userdata.
|
virtual |
Reimplemented in Freestyle::WXFace.
Definition at line 266 of file WEdge.cpp.
Referenced by Freestyle::WShape::WShape().
const FrsMaterial & Freestyle::WFace::frs_material | ( | ) |
|
inline |
Definition at line 738 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 405 of file WEdge.cpp.
References Freestyle::a, norm(), v1, and v2.
Referenced by Freestyle::gts_vertex_principal_directions().
|
inline |
Definition at line 799 of file WEdge.h.
References NULL.
Referenced by Freestyle::ViewEdgeXBuilder::FindNextFaceLayer(), and Freestyle::ViewEdgeXBuilder::FindPreviousFaceLayer().
Definition at line 809 of file WEdge.h.
References Freestyle::WOEdge::GetaFace().
accessors
Definition at line 718 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 764 of file WEdge.h.
Referenced by Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
|
inline |
Definition at line 743 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 854 of file WEdge.h.
References NULL.
Referenced by Freestyle::gts_vertex_principal_directions(), and Freestyle::WOEdge::RetrieveCWOrderedEdges().
|
inline |
Definition at line 728 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 723 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 376 of file WEdge.cpp.
Referenced by Freestyle::angle_obtuse(), and Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
Definition at line 419 of file WEdge.cpp.
References blender::meshintersect::prev().
WShape * Freestyle::WFace::getShape | ( | ) |
Definition at line 441 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 751 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
.
Definition at line 825 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 277 of file WEdge.cpp.
References Freestyle::WVertex::AddEdge(), 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 879 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 967 of file WEdge.h.
References NULL.
Referenced by Freestyle::WXFace::ResetUserData().
Definition at line 778 of file WEdge.h.
Referenced by Freestyle::WXFace::ComputeCenter(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::computeVisibility(), Freestyle::findOccludee(), and Freestyle::ViewMapBuilder::FindOccludee().
|
inline |
Definition at line 928 of file WEdge.h.
Referenced by Freestyle::WShape::MakeFace().
|
inline |
Definition at line 933 of file WEdge.h.
Referenced by Freestyle::WShape::MakeFace().
Definition at line 908 of file WEdge.h.
Referenced by Freestyle::WShape::MakeFace().
Definition at line 913 of file WEdge.h.
Referenced by Freestyle::WShape::MakeFace().
Definition at line 918 of file WEdge.h.
Referenced by Freestyle::WShape::MakeFace().
|
protected |
|
protected |
void* Freestyle::WFace::userdata |
Definition at line 703 of file WEdge.h.
Referenced by Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::FindOccludee(), WFace(), and Freestyle::WShape::WShape().