|
Blender V5.0
|
#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 692 of file WEdge.h.
References _FrsMaterialIndex, and userdata.
Referenced by duplicate(), Freestyle::WXFace::duplicate(), GetBordingFace(), GetBordingFace(), RetrieveBorderFaces(), WFace(), Freestyle::WXFace::WXFace(), and Freestyle::WXFace::WXFace().
| Freestyle::WFace::WFace | ( | WFace & | iBrother | ) |
copy constructor
Definition at line 256 of file WEdge.cpp.
References Freestyle::facedata::_copy, _FrsMaterialIndex, _Id, _Mark, _Normal, _OEdgeList, _VerticesNormals, _VerticesTexCoords, getEdgeList(), GetId(), GetNormal(), userdata, and WFace().
|
inline |
|
virtual |
Reimplemented in Freestyle::WXFace.
Definition at line 270 of file WEdge.cpp.
References WFace().
Referenced by Freestyle::WShape::WShape().
| const FrsMaterial & Freestyle::WFace::frs_material | ( | ) |
Definition at line 276 of file WEdge.cpp.
References _FrsMaterialIndex, and getShape().
|
inline |
Definition at line 724 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 _OEdgeList, Freestyle::a, norm(), and v2.
Referenced by Freestyle::gts_vertex_principal_directions().
|
inline |
Definition at line 788 of file WEdge.h.
References _OEdgeList, and WFace().
Definition at line 798 of file WEdge.h.
References Freestyle::WOEdge::GetaFace(), and WFace().
accessors
Definition at line 704 of file WEdge.h.
References _OEdgeList.
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 750 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
|
inline |
Definition at line 729 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 844 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::gts_vertex_principal_directions(), and Freestyle::WOEdge::RetrieveCWOrderedEdges().
|
inline |
Definition at line 714 of file WEdge.h.
References _Normal.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSharpFEdge(), Freestyle::computeCumulativeVisibility(), Freestyle::computeDetailedVisibility(), Freestyle::computeFastVisibility(), Freestyle::computeVeryFastVisibility(), Freestyle::computeVisibility(), Freestyle::FEdgeXDetector::preProcessFace(), and WFace().
|
inline |
Definition at line 709 of file WEdge.h.
References _OEdgeList, and i.
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.
References _OEdgeList, e, and v.
Referenced by Freestyle::angle_obtuse(), and Freestyle::FEdgeXDetector::postProcessSuggestiveContourFace().
Definition at line 803 of file WEdge.h.
References _VerticesNormals.
Definition at line 808 of file WEdge.h.
References _VerticesTexCoords.
Definition at line 423 of file WEdge.cpp.
References _OEdgeList.
| WShape * Freestyle::WFace::getShape | ( | ) |
Definition at line 445 of file WEdge.cpp.
References Freestyle::WVertex::GetVertex().
Referenced by frs_material().
The vertex of index i corresponds to the a vertex of the edge of index i
Definition at line 737 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().
|
inline |
Returns the normal of the vertex of index.
Definition at line 814 of file WEdge.h.
References _VerticesNormals.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::WingedEdgeBuilder::buildWShape(), 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 826 of file WEdge.h.
References _OEdgeList, _VerticesNormals, and i.
|
inline |
Returns the texture coords of the vertex of index.
Definition at line 820 of file WEdge.h.
References _VerticesTexCoords.
|
inlinevirtual |
designed to build a specialized WEdge for use in MakeEdge
Reimplemented in Freestyle::WXFace.
Definition at line 930 of file WEdge.h.
Referenced by MakeEdge().
|
inline |
Returns true if the face has one ot its edge which is a border edge
Definition at line 880 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::AddOEdge(), Freestyle::WEdge::GetaOEdge(), Freestyle::WOEdge::GetaVertex(), Freestyle::WOEdge::GetbFace(), Freestyle::WEdge::GetbOEdge(), Freestyle::WOEdge::GetbVertex(), Freestyle::WVertex::GetEdges(), Freestyle::WVertex::GetId(), Freestyle::WOEdge::GetOwner(), instanciateEdge(), Freestyle::WOEdge::setaFace(), Freestyle::WOEdge::setaVertex(), Freestyle::WOEdge::setbFace(), Freestyle::WVertex::setBorder(), Freestyle::WOEdge::setbVertex(), Freestyle::WOEdge::setOwner(), and v2.
Referenced by Freestyle::WShape::MakeFace().
|
inline |
Definition at line 869 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::computeCumulativeVisibility(), Freestyle::computeDetailedVisibility(), Freestyle::computeFastVisibility(), and Freestyle::computeVeryFastVisibility().
|
inline |
Definition at line 874 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 958 of file WEdge.h.
References userdata.
Referenced by Freestyle::WXFace::ResetUserData().
Definition at line 775 of file WEdge.h.
References _OEdgeList, and WFace().
Definition at line 765 of file WEdge.h.
References _OEdgeList.
Referenced by Freestyle::WXFace::ComputeCenter(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::computeVisibility(), Freestyle::ViewMapBuilder::FindOccludee(), and Freestyle::findOccludee().
|
inline |
Definition at line 919 of file WEdge.h.
References _FrsMaterialIndex.
Referenced by Freestyle::WShape::MakeFace().
|
inline |
Definition at line 914 of file WEdge.h.
References _Id.
Referenced by Freestyle::WShape::MakeFace().
|
inline |
Definition at line 924 of file WEdge.h.
References _Mark.
Referenced by Freestyle::WShape::MakeFace().
|
inline |
Definition at line 899 of file WEdge.h.
References _Normal.
Referenced by Freestyle::WShape::MakeFace().
Definition at line 904 of file WEdge.h.
References _VerticesNormals.
Referenced by Freestyle::WShape::MakeFace().
Definition at line 909 of file WEdge.h.
References _VerticesTexCoords.
Referenced by Freestyle::WShape::MakeFace().
|
protected |
Definition at line 687 of file WEdge.h.
Referenced by frs_material(), frs_materialIndex(), setFrsMaterialIndex(), WFace(), and WFace().
|
protected |
|
protected |
|
protected |
Definition at line 680 of file WEdge.h.
Referenced by GetNormal(), setNormal(), and WFace().
Definition at line 679 of file WEdge.h.
Referenced by AddEdge(), getArea(), GetBordingFace(), getEdgeList(), GetIndex(), GetNextOEdge(), GetOEdge(), getOppositeEdge(), GetPrevOEdge(), GetVertex(), GetVertexNormal(), isBorder(), numberOfEdges(), numberOfVertices(), RetrieveBorderFaces(), RetrieveVertexList(), setEdgeList(), and WFace().
Definition at line 683 of file WEdge.h.
Referenced by GetPerVertexNormals(), GetVertexNormal(), GetVertexNormal(), setNormalList(), and WFace().
Definition at line 684 of file WEdge.h.
Referenced by GetPerVertexTexCoords(), GetVertexTexCoords(), setTexCoordsList(), and WFace().
| void* Freestyle::WFace::userdata |
Definition at line 691 of file WEdge.h.
Referenced by Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::FindOccludee(), ResetUserData(), WFace(), WFace(), and Freestyle::WShape::WShape().