Blender
V3.3
|
#include <FEdgeXDetector.h>
This class takes as input a WXEdge structure and fills it
Definition at line 32 of file FEdgeXDetector.h.
|
inline |
Definition at line 34 of file FEdgeXDetector.h.
References NULL.
|
inlinevirtual |
Definition at line 54 of file FEdgeXDetector.h.
Definition at line 755 of file FEdgeXDetector.cpp.
References _computeRidgesAndValleys, _computeSuggestiveContours, _meanK1, _meanKr, _nPoints, computeCurvatures(), Freestyle::WShape::GetFaceList(), and Freestyle::WShape::getVertexList().
Referenced by processShapes().
Definition at line 166 of file FEdgeXDetector.cpp.
References _computeViewIndependent, _maxK1, _maxKr, _meanEdgeSize, _meanK1, _meanKr, _minK1, _minKr, _nPoints, _orthographicProjection, _sphereRadius, _Viewpoint, Freestyle::OGF::NormalCycle::begin(), C, Freestyle::OGF::compute_curvature_tensor(), Freestyle::OGF::compute_curvature_tensor_one_ring(), Freestyle::WXVertex::curvatures(), Freestyle::OGF::NormalCycle::end(), fabs(), G, G_DEBUG_FREESTYLE, Freestyle::WVertex::GetEdges(), Freestyle::WVertex::GetId(), Freestyle::WVertex::GetVertex(), Freestyle::OGF::NormalCycle::Kmax(), Freestyle::OGF::NormalCycle::kmax(), Freestyle::OGF::NormalCycle::Kmin(), Freestyle::OGF::NormalCycle::kmin(), Freestyle::VecMat::Vec< T, N >::normalize(), Freestyle::WXVertex::setCurvatures(), v, and Freestyle::VecMat::Vec3< T >::z().
Referenced by buildSmoothEdges(), and preProcessShape().
Definition at line 167 of file FEdgeXDetector.h.
References usdtokens::b().
Definition at line 159 of file FEdgeXDetector.h.
References usdtokens::b().
Referenced by Freestyle::Controller::ComputeViewMap().
Definition at line 154 of file FEdgeXDetector.h.
References usdtokens::b().
Referenced by Freestyle::Controller::ComputeViewMap().
Definition at line 139 of file FEdgeXDetector.h.
References usdtokens::b().
Referenced by Freestyle::Controller::ComputeViewMap().
Definition at line 144 of file FEdgeXDetector.h.
References usdtokens::b().
Referenced by Freestyle::Controller::ComputeViewMap().
Definition at line 149 of file FEdgeXDetector.h.
References usdtokens::b().
Referenced by Freestyle::Controller::ComputeViewMap().
Definition at line 602 of file FEdgeXDetector.cpp.
References _kr_derivative_epsilon, Freestyle::WXVertex::curvatures(), Freestyle::GeomUtils::DO_INTERSECT, Freestyle::WOEdge::GetaVertex(), Freestyle::WOEdge::GetbVertex(), Freestyle::WFace::GetIndex(), Freestyle::WFace::getOppositeEdge(), Freestyle::WXFaceLayer::getSmoothEdge(), Freestyle::WOEdge::GetVec(), Freestyle::WVertex::GetVertex(), Freestyle::WFace::GetVertex(), Freestyle::WFace::GetVertexNormal(), Freestyle::GeomUtils::intersectRayPlane(), Freestyle::CurvatureInfo::Kr, Freestyle::WFace::numberOfVertices(), Freestyle::WXFaceLayer::removeSmoothEdge(), Freestyle::WXFace::retrieveSmoothEdgesLayers(), Freestyle::Nature::SUGGESTIVE_CONTOUR, t, Freestyle::WXSmoothEdge::ta(), Freestyle::WXSmoothEdge::tb(), v, Freestyle::WXSmoothEdge::woea(), and Freestyle::WXSmoothEdge::woeb().
Referenced by postProcessSuggestiveContourShape().
Definition at line 593 of file FEdgeXDetector.cpp.
References Freestyle::WShape::GetFaceList(), and postProcessSuggestiveContourFace().
Referenced by processShapes().
Definition at line 139 of file FEdgeXDetector.cpp.
References _orthographicProjection, _Viewpoint, Freestyle::WXFace::center(), Freestyle::WFace::GetNormal(), Freestyle::WVertex::GetVertex(), Freestyle::WFace::GetVertex(), N, Freestyle::VecMat::Vec< T, N >::norm(), Freestyle::WXFace::setDotP(), Freestyle::WXFace::setZ(), V, and Freestyle::VecMat::Vec3< T >::z().
Referenced by preProcessShape().
Definition at line 104 of file FEdgeXDetector.cpp.
References _computeRidgesAndValleys, _computeSuggestiveContours, _maxK1, _maxKr, _meanEdgeSize, _meanK1, _meanKr, _minK1, _minKr, _nPoints, computeCurvatures(), Freestyle::WShape::ComputeMeanEdgeSize(), Freestyle::WShape::GetFaceList(), Freestyle::WShape::getVertexList(), and preProcessFace().
Referenced by processShapes().
Definition at line 355 of file FEdgeXDetector.cpp.
References Freestyle::WXEdge::AddNature(), Freestyle::Nature::BORDER, and Freestyle::WEdge::GetaFace().
Referenced by processBorderShape().
Definition at line 342 of file FEdgeXDetector.cpp.
References _computeViewIndependent, Freestyle::WShape::getEdgeList(), and ProcessBorderEdge().
Referenced by processShapes().
Definition at line 381 of file FEdgeXDetector.cpp.
References _creaseAngle, Freestyle::WXEdge::AddNature(), Freestyle::Nature::BORDER, Freestyle::Nature::CREASE, Freestyle::WOEdge::GetaFace(), Freestyle::WEdge::GetaOEdge(), Freestyle::WEdge::GetaVertex(), Freestyle::WOEdge::GetbFace(), Freestyle::WFace::GetVertexNormal(), and Freestyle::WXEdge::nature().
Referenced by processCreaseShape().
Definition at line 367 of file FEdgeXDetector.cpp.
References _computeViewIndependent, Freestyle::WShape::getEdgeList(), and ProcessCreaseEdge().
Referenced by processShapes().
Definition at line 746 of file FEdgeXDetector.cpp.
References Freestyle::WXEdge::AddNature(), Freestyle::Nature::EDGE_MARK, and Freestyle::WEdge::GetMark().
Referenced by processEdgeMarksShape().
Definition at line 736 of file FEdgeXDetector.cpp.
References Freestyle::WShape::getEdgeList(), and ProcessEdgeMarks().
Referenced by processShapes().
Definition at line 724 of file FEdgeXDetector.cpp.
References Freestyle::WXEdge::AddNature(), Freestyle::WFace::frs_materialIndex(), Freestyle::WEdge::GetaFace(), Freestyle::WEdge::GetbFace(), and Freestyle::Nature::MATERIAL_BOUNDARY.
Referenced by processMaterialBoundaryShape().
Definition at line 711 of file FEdgeXDetector.cpp.
References _computeViewIndependent, Freestyle::WShape::getEdgeList(), and ProcessMaterialBoundaryEdge().
Referenced by processShapes().
Definition at line 418 of file FEdgeXDetector.cpp.
References Freestyle::WXFace::AddSmoothLayer(), Freestyle::WXVertex::curvatures(), Freestyle::WXFaceLayer::dotP(), fabs(), Freestyle::WFace::GetVertex(), Freestyle::CurvatureInfo::K1, Freestyle::WXFaceLayer::nPosDotP(), Freestyle::WFace::numberOfVertices(), numVertices(), Freestyle::WXFaceLayer::PushDotP(), Freestyle::WXFaceLayer::ReplaceDotP(), Freestyle::Nature::RIDGE, threshold, and Freestyle::Nature::VALLEY.
Referenced by processRidgesAndValleysShape().
Definition at line 399 of file FEdgeXDetector.cpp.
References _computeViewIndependent, Freestyle::WShape::GetFaceList(), and ProcessRidgeFace().
Referenced by processShapes().
|
virtual |
Process shapes from a WingedEdge containing a list of WShapes
Definition at line 19 of file FEdgeXDetector.cpp.
References _changes, _computeMaterialBoundaries, _computeRidgesAndValleys, _computeSuggestiveContours, _computeViewIndependent, _pProgressBar, _pRenderMonitor, buildSmoothEdges(), Freestyle::WXFace::Clear(), Freestyle::WShape::GetFaceList(), Freestyle::ProgressBar::getProgress(), Freestyle::WingedEdge::getWShapes(), norm(), postProcessSuggestiveContourShape(), preProcessShape(), processBorderShape(), processCreaseShape(), processEdgeMarksShape(), processMaterialBoundaryShape(), processRidgesAndValleysShape(), processSilhouetteShape(), processSuggestiveContourShape(), Freestyle::ProgressBar::reset(), Freestyle::WXShape::Reset(), Freestyle::WXShape::setComputeViewIndependentFlag(), Freestyle::ProgressBar::setLabelText(), Freestyle::ProgressBar::setProgress(), Freestyle::ProgressBar::setTotalSteps(), and Freestyle::RenderMonitor::testBreak().
Referenced by Freestyle::Controller::ComputeViewMap().
Definition at line 311 of file FEdgeXDetector.cpp.
References Freestyle::WXEdge::AddNature(), Freestyle::Nature::BORDER, Freestyle::WXFace::front(), Freestyle::WOEdge::GetaFace(), Freestyle::WEdge::GetaOEdge(), Freestyle::WEdge::GetaVertex(), Freestyle::WOEdge::GetbFace(), Freestyle::WFace::GetVertexNormal(), Freestyle::WXEdge::nature(), Freestyle::WXEdge::setOrder(), and Freestyle::Nature::SILHOUETTE.
Referenced by processSilhouetteShape().
Definition at line 268 of file FEdgeXDetector.cpp.
References _orthographicProjection, _Viewpoint, Freestyle::WXFace::AddSmoothLayer(), Freestyle::WVertex::GetVertex(), Freestyle::WFace::GetVertex(), Freestyle::WFace::GetVertexNormal(), Freestyle::VecMat::Vec< T, N >::norm(), normal, Freestyle::WFace::numberOfVertices(), numVertices(), point, Freestyle::WXFaceLayer::PushDotP(), Freestyle::WXFaceLayer::setClosestPointIndex(), Freestyle::Nature::SILHOUETTE, V, and Freestyle::VecMat::Vec3< T >::z().
Referenced by processSilhouetteShape().
Definition at line 251 of file FEdgeXDetector.cpp.
References Freestyle::WShape::getEdgeList(), Freestyle::WShape::GetFaceList(), ProcessSilhouetteEdge(), and ProcessSilhouetteFace().
Referenced by processShapes().
Definition at line 568 of file FEdgeXDetector.cpp.
References _meanKr, Freestyle::WXFace::AddSmoothLayer(), Freestyle::WXVertex::curvatures(), Freestyle::WXFaceLayer::dotP(), fabs(), Freestyle::WFace::GetVertex(), Freestyle::CurvatureInfo::Kr, Freestyle::WXFaceLayer::nPosDotP(), Freestyle::WFace::numberOfVertices(), numVertices(), Freestyle::WXFaceLayer::PushDotP(), Freestyle::WXFaceLayer::ReplaceDotP(), Freestyle::Nature::SUGGESTIVE_CONTOUR, and threshold.
Referenced by processSuggestiveContourShape().
Definition at line 558 of file FEdgeXDetector.cpp.
References Freestyle::WShape::GetFaceList(), and ProcessSuggestiveContourFace().
Referenced by processShapes().
Sets the minimum angle for detecting crease edges
angle | The angular threshold in degrees (between 0 and 180) for detecting crease edges. An edge is considered a crease edge if the angle between two faces sharing the edge is smaller than the given threshold. |
Definition at line 82 of file FEdgeXDetector.h.
References angle(), KDL::cos(), and M_PI.
Referenced by Freestyle::Controller::ComputeViewMap().
|
inline |
Definition at line 187 of file FEdgeXDetector.h.
|
inline |
Definition at line 192 of file FEdgeXDetector.h.
Referenced by Freestyle::Controller::ComputeViewMap().
Sets the radius of the geodesic sphere around each vertex (for the curvature computation)
r | The radius of the sphere expressed as a ratio of the mean edge size |
Definition at line 179 of file FEdgeXDetector.h.
References r.
Referenced by Freestyle::Controller::ComputeViewMap().
Sets the minimal derivative of the radial curvature for suggestive contours
dkr | The minimal derivative of the radial curvature |
Definition at line 114 of file FEdgeXDetector.h.
Referenced by Freestyle::Controller::ComputeViewMap().
Sets the current viewpoint
Definition at line 134 of file FEdgeXDetector.h.
Referenced by Freestyle::Controller::ComputeViewMap().
|
protected |
Definition at line 221 of file FEdgeXDetector.h.
Referenced by processShapes().
|
protected |
Definition at line 216 of file FEdgeXDetector.h.
Referenced by processShapes().
|
protected |
Definition at line 214 of file FEdgeXDetector.h.
Referenced by buildSmoothEdges(), preProcessShape(), and processShapes().
|
protected |
Definition at line 215 of file FEdgeXDetector.h.
Referenced by buildSmoothEdges(), preProcessShape(), and processShapes().
|
protected |
Definition at line 203 of file FEdgeXDetector.h.
Referenced by computeCurvatures(), processBorderShape(), processCreaseShape(), processMaterialBoundaryShape(), processRidgesAndValleysShape(), and processShapes().
|
protected |
Definition at line 220 of file FEdgeXDetector.h.
Referenced by ProcessCreaseEdge().
|
protected |
Definition at line 218 of file FEdgeXDetector.h.
|
protected |
Definition at line 217 of file FEdgeXDetector.h.
|
protected |
Definition at line 223 of file FEdgeXDetector.h.
Referenced by postProcessSuggestiveContourFace().
|
protected |
Definition at line 208 of file FEdgeXDetector.h.
Referenced by computeCurvatures(), and preProcessShape().
|
protected |
Definition at line 209 of file FEdgeXDetector.h.
Referenced by computeCurvatures(), and preProcessShape().
|
protected |
Definition at line 211 of file FEdgeXDetector.h.
Referenced by computeCurvatures(), and preProcessShape().
|
protected |
Definition at line 204 of file FEdgeXDetector.h.
Referenced by buildSmoothEdges(), computeCurvatures(), and preProcessShape().
|
protected |
Definition at line 205 of file FEdgeXDetector.h.
Referenced by buildSmoothEdges(), computeCurvatures(), preProcessShape(), and ProcessSuggestiveContourFace().
|
protected |
Definition at line 206 of file FEdgeXDetector.h.
Referenced by computeCurvatures(), and preProcessShape().
|
protected |
Definition at line 207 of file FEdgeXDetector.h.
Referenced by computeCurvatures(), and preProcessShape().
|
protected |
Definition at line 210 of file FEdgeXDetector.h.
Referenced by buildSmoothEdges(), computeCurvatures(), and preProcessShape().
|
protected |
Definition at line 212 of file FEdgeXDetector.h.
Referenced by computeCurvatures(), preProcessFace(), and ProcessSilhouetteFace().
|
protected |
Definition at line 225 of file FEdgeXDetector.h.
Referenced by processShapes().
|
protected |
Definition at line 226 of file FEdgeXDetector.h.
Referenced by processShapes().
|
protected |
Definition at line 219 of file FEdgeXDetector.h.
Referenced by computeCurvatures().
|
protected |
Definition at line 198 of file FEdgeXDetector.h.
Referenced by computeCurvatures(), preProcessFace(), and ProcessSilhouetteFace().