|
Blender V4.3
|
inherits from class Rep More...
Namespaces | |
| namespace | Cast |
| namespace | Config |
| namespace | ContextFunctions |
| namespace | CurveInternal |
| namespace | FEdgeInternal |
| namespace | Functions0D |
| namespace | Functions1D |
| namespace | Geometry |
| namespace | GeomUtils |
| namespace | GridHelpers |
| namespace | Nature |
| namespace | OGF |
| namespace | Predicates0D |
| namespace | Predicates1D |
| namespace | StringUtils |
| namespace | StrokeInternal |
| namespace | StrokeShaders |
| namespace | VecMat |
| namespace | ViewEdgeInternal |
| namespace | ViewVertexInternal |
Typedefs | |
| using | BezierCurve = Vector2 * |
| typedef struct Freestyle::Point2Struct | Point2 |
| typedef Point2 | Vector2 |
| typedef vector< Polygon3r * > | OccludersSet |
| typedef double | real |
| typedef vector< ViewShape * > | occluder_container |
| typedef map< Vec3r, SVertex * > | SVertexMap |
| using | segment = Segment<FEdge *, Vec3r> |
| using | intersection = Intersection<segment> |
| typedef Nature::EdgeNature | WXNature |
Enumerations | |
| enum | IntegrationType { MEAN , MIN , MAX , FIRST , LAST } |
Functions | |
| static bool | testEdgeMark (Mesh *mesh, const FreestyleEdge *fed, const blender::int3 &tri, int i) |
| template<class Point > | |
| BBox< Point > & | operator+ (const BBox< Point > &b1, const BBox< Point > &b2) |
| static double * | Reparameterize (Vector2 *d, int first, int last, double *u, BezierCurve bezCurve) |
| static double | NewtonRaphsonRootFind (BezierCurve Q, Vector2 P, double u) |
| static Vector2 | BezierII (int degree, Vector2 *V, double t) |
| static double | B0 (double u) |
| static double | B1 (double u) |
| static double | B2 (double u) |
| static double | B3 (double u) |
| static Vector2 | ComputeLeftTangent (Vector2 *d, int end) |
| static double | ComputeMaxError (Vector2 *d, int first, int last, BezierCurve bezCurve, double *u, int *splitPoint) |
| static double * | ChordLengthParameterize (Vector2 *d, int first, int last) |
| static BezierCurve | GenerateBezier (Vector2 *d, int first, int last, double *uPrime, Vector2 tHat1, Vector2 tHat2) |
| static Vector2 | V2AddII (Vector2 a, Vector2 b) |
| static Vector2 | V2ScaleIII (Vector2 v, double s) |
| static Vector2 | V2SubII (Vector2 a, Vector2 b) |
| static double | V2SquaredLength (Vector2 *a) |
| static double | V2Length (Vector2 *a) |
| static Vector2 * | V2Scale (Vector2 *v, double newlen) |
| static double | V2Dot (Vector2 *a, Vector2 *b) |
| static double | V2DistanceBetween2Points (Vector2 *a, Vector2 *b) |
| static Vector2 * | V2Add (Vector2 *a, Vector2 *b, Vector2 *c) |
| static Vector2 * | V2Normalize (Vector2 *v) |
| static Vector2 * | V2Negate (Vector2 *v) |
| static Vector2 | ComputeRightTangent (Vector2 *d, int end) |
| static Vector2 | ComputeCenterTangent (Vector2 *d, int center) |
| static bool | inBox (const Vec3r &inter, const Vec3r &box_min, const Vec3r &box_max) |
| static void | normalize2 (float v[2]) |
| static void | normalize3 (float v[3]) |
| static void | loadIdentity (double *matrix) |
| static real | edgeStopping (real x, real sigma) |
| static int | __recursiveSplit (Chain *_curve, UnaryFunction0D< double > &func, UnaryPredicate1D &pred, float sampling, Operators::I1DContainer &newChains, Operators::I1DContainer &splitted_chains) |
| static int | __recursiveSplit (Chain *_curve, UnaryFunction0D< double > &func, UnaryPredicate0D &pred0d, UnaryPredicate1D &pred, float sampling, Operators::I1DContainer &newChains, Operators::I1DContainer &splitted_chains) |
| static Stroke * | createStroke (Interface1D &inter) |
| int | applyShading (Stroke &stroke, vector< StrokeShader * > &shaders) |
| ostream & | operator<< (ostream &out, const StrokeAttribute &iStrokeAttribute) |
| ostream & | operator<< (ostream &out, const StrokeVertex &iStrokeVertex) |
| ostream & | operator<< (ostream &out, const Stroke &iStroke) |
| static bool | notValid (Vec2r p) |
| std::ostream & | operator<< (std::ostream &s, const Id &id) |
| static real | LanczosWindowed (real t) |
| static real | distance2D (const Vec3r &point, const real origin[2]) |
| static bool | crossesProscenium (real proscenium[4], FEdge *fe) |
| static bool | insideProscenium (const real proscenium[4], const Vec3r &point) |
| template<class T > | |
| T | integrate (UnaryFunction0D< T > &fun, Interface0DIterator it, Interface0DIterator it_end, IntegrationType integration_type=MEAN) |
| static bool | ViewEdgeComp (ViewVertex::directedViewEdge &dve1, ViewVertex::directedViewEdge &dve2) |
| template<typename G , typename I > | |
| static void | findOccludee (FEdge *fe, G &, I &occluders, real epsilon, WFace **oaWFace, Vec3r &u, Vec3r &A, Vec3r &origin, Vec3r &edgeDir, vector< WVertex * > &faceVertices) |
| template<typename G , typename I > | |
| static void | findOccludee (FEdge *fe, G &grid, real epsilon, ViewEdge *, WFace **oaFace) |
| template<typename G , typename I > | |
| static int | computeVisibility (ViewMap *viewMap, FEdge *fe, G &grid, real epsilon, ViewEdge *, WFace **oaWFace, set< ViewShape * > *foundOccluders) |
| template<typename G , typename I > | |
| static void | computeCumulativeVisibility (ViewMap *ioViewMap, G &grid, real epsilon, RenderMonitor *iRenderMonitor) |
| template<typename G , typename I > | |
| static void | computeDetailedVisibility (ViewMap *ioViewMap, G &grid, real epsilon, RenderMonitor *iRenderMonitor) |
| template<typename G , typename I > | |
| static void | computeFastVisibility (ViewMap *ioViewMap, G &grid, real epsilon) |
| template<typename G , typename I > | |
| static void | computeVeryFastVisibility (ViewMap *ioViewMap, G &grid, real epsilon) |
| static real | distance2D (const Vec3r &point, const real origin[2]) |
| static bool | crossesProscenium (real proscenium[4], FEdge *fe) |
| static bool | insideProscenium (const real proscenium[4], const Vec3r &point) |
| static bool | angle_obtuse (WVertex *v, WFace *f) |
| static bool | triangle_obtuse (WVertex *, WFace *f) |
| static real | cotan (WVertex *vo, WVertex *v1, WVertex *v2) |
| static real | angle_from_cotan (WVertex *vo, WVertex *v1, WVertex *v2) |
| bool | gts_vertex_mean_curvature_normal (WVertex *v, Vec3r &Kh) |
| bool | gts_vertex_gaussian_curvature (WVertex *v, real *Kg) |
| void | gts_vertex_principal_curvatures (real Kh, real Kg, real *K1, real *K2) |
| static void | linsolve (real m11, real m12, real b1, real m21, real m22, real b2, real *x1, real *x2) |
| static void | eigenvector (real a, real b, real c, Vec3r e) |
| void | gts_vertex_principal_directions (WVertex *v, Vec3r Kh, real Kg, Vec3r &e1, Vec3r &e2) |
Variables | |
| Controller * | g_pController |
| static const int | MOD_ADLER = 65521 |
| static const uint | NB_VALUE_NOISE = 512 |
| static const real | M_EPSILON = 0.00000001 |
| static uint | x [3] |
| static uint | a [3] |
| static uint | c = C |
| static const Global & | _global = G |
| static const uint | gProgressBarMaxSteps = 10 |
| static const uint | gProgressBarMinSize = 2000 |
inherits from class Rep
| using Freestyle::BezierCurve = Vector2 * |
Definition at line 23 of file FitCurve.cpp.
| using Freestyle::intersection = Intersection<segment> |
Definition at line 2307 of file ViewMapBuilder.cpp.
| typedef vector<ViewShape *> Freestyle::occluder_container |
Definition at line 43 of file Silhouette.h.
| typedef vector<Polygon3r *> Freestyle::OccludersSet |
| typedef struct Freestyle::Point2Struct Freestyle::Point2 |
| typedef double Freestyle::real |
Definition at line 14 of file Precision.h.
| using Freestyle::segment = Segment<FEdge *, Vec3r> |
Definition at line 2306 of file ViewMapBuilder.cpp.
| typedef map<Vec3r, SVertex *> Freestyle::SVertexMap |
Definition at line 68 of file ViewEdgeXBuilder.h.
| typedef Point2 Freestyle::Vector2 |
Definition at line 54 of file FitCurve.h.
The different integration methods that can be invoked to integrate into a single value the set of values obtained from each 0D element of a 1D element.
Definition at line 36 of file Interface1D.h.
|
static |
Definition at line 859 of file Operators.cpp.
References __recursiveSplit(), Freestyle::CurveInternal::CurvePointIterator::_CurvilinearLength, Freestyle::Curve::curvePointsBegin(), Freestyle::Curve::curvePointsEnd(), Freestyle::Curve::curveVerticesBegin(), Freestyle::Curve::curveVerticesEnd(), FLT_MAX, G, G_DEBUG_FREESTYLE, Freestyle::Curve::getId(), Freestyle::Curve::getLength2D(), Freestyle::Id::getSecond(), Freestyle::Chain::getSplittingId(), next, Freestyle::Curve::nSegments(), Freestyle::Curve::push_vertex_back(), Freestyle::UnaryFunction0D< T >::result, Freestyle::UnaryPredicate0D::result, Freestyle::UnaryPredicate1D::result, Freestyle::Id::setSecond(), and Freestyle::Chain::setSplittingId().
|
static |
Definition at line 693 of file Operators.cpp.
References __recursiveSplit(), Freestyle::CurveInternal::CurvePointIterator::_CurvilinearLength, Freestyle::Curve::curvePointsBegin(), Freestyle::Curve::curvePointsEnd(), Freestyle::Curve::curveVerticesBegin(), Freestyle::Curve::curveVerticesEnd(), FLT_MAX, G, G_DEBUG_FREESTYLE, Freestyle::Curve::getId(), Freestyle::Curve::getLength2D(), Freestyle::Id::getSecond(), Freestyle::Chain::getSplittingId(), next, Freestyle::Curve::nSegments(), Freestyle::Curve::push_vertex_back(), Freestyle::UnaryFunction0D< T >::result, Freestyle::UnaryPredicate1D::result, Freestyle::Id::setSecond(), and Freestyle::Chain::setSplittingId().
Referenced by __recursiveSplit(), __recursiveSplit(), Freestyle::Operators::recursiveSplit(), and Freestyle::Operators::recursiveSplit().
Definition at line 71 of file Curvature.cpp.
References fabs(), Freestyle::WVertex::GetVertex(), sqrt(), Freestyle::VecMat::Vec< T, N >::squareNorm(), v, and v2.
Referenced by gts_vertex_gaussian_curvature().
Definition at line 31 of file Curvature.cpp.
References e, Freestyle::WFace::getOppositeEdge(), and v.
Referenced by gts_vertex_principal_directions().
|
inline |
Definition at line 1261 of file Operators.cpp.
Referenced by Freestyle::Operators::create().
Definition at line 302 of file FitCurve.cpp.
Referenced by GenerateBezier().
Definition at line 308 of file FitCurve.cpp.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), and GenerateBezier().
Definition at line 314 of file FitCurve.cpp.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), and GenerateBezier().
Definition at line 320 of file FitCurve.cpp.
Referenced by GenerateBezier().
Definition at line 273 of file FitCurve.cpp.
Referenced by ComputeMaxError(), and NewtonRaphsonRootFind().
Definition at line 378 of file FitCurve.cpp.
References double(), and V2DistanceBetween2Points().
Referenced by Freestyle::FitCurveWrapper::FitCubic().
Definition at line 354 of file FitCurve.cpp.
References M_EPSILON, V2Length(), V2Normalize(), and V2SubII().
Referenced by Freestyle::FitCurveWrapper::FitCubic().
|
static |
Definition at line 431 of file ViewMapBuilder.cpp.
References _global, ceil(), computeVisibility(), count, findOccludee(), float, G_DEBUG_FREESTYLE, Freestyle::FEdge::getId(), Freestyle::WFace::GetNormal(), Freestyle::WFace::GetVertex(), Freestyle::WVertex::GetVertex(), Freestyle::FEdge::isInImage(), Freestyle::FEdge::nextEdge(), Freestyle::WFace::numberOfEdges(), Freestyle::FEdge::occluders_size(), Freestyle::RenderMonitor::progress(), Freestyle::FEdge::setaFace(), Freestyle::RenderMonitor::setInfo(), Freestyle::FEdge::setOccludeeEmpty(), Freestyle::RenderMonitor::testBreak(), Freestyle::ViewMap::ViewEdges(), and Freestyle::ViewMap::viewShape().
Referenced by Freestyle::ViewMapBuilder::ComputeCumulativeVisibility().
|
static |
Definition at line 641 of file ViewMapBuilder.cpp.
References _global, computeVisibility(), findOccludee(), float, G_DEBUG_FREESTYLE, Freestyle::FEdge::getId(), Freestyle::WFace::GetNormal(), Freestyle::WFace::GetVertex(), Freestyle::WVertex::GetVertex(), Freestyle::FEdge::isInImage(), Freestyle::FEdge::nextEdge(), Freestyle::WFace::numberOfEdges(), Freestyle::FEdge::occluders_size(), Freestyle::FEdge::setaFace(), Freestyle::FEdge::setOccludeeEmpty(), Freestyle::RenderMonitor::testBreak(), Freestyle::ViewMap::ViewEdges(), and Freestyle::ViewMap::viewShape().
Referenced by Freestyle::ViewMapBuilder::ComputeDetailedVisibility().
Definition at line 825 of file ViewMapBuilder.cpp.
References _global, computeVisibility(), findOccludee(), G_DEBUG_FREESTYLE, Freestyle::FEdge::getId(), Freestyle::WFace::GetNormal(), Freestyle::WFace::GetVertex(), Freestyle::WVertex::GetVertex(), Freestyle::FEdge::isInImage(), Freestyle::FEdge::nextEdge(), Freestyle::WFace::numberOfEdges(), Freestyle::FEdge::setaFace(), Freestyle::ViewMap::ViewEdges(), and Freestyle::ViewMap::viewShape().
Definition at line 332 of file FitCurve.cpp.
References V2Normalize(), and V2SubII().
Referenced by Freestyle::FitCurveWrapper::FitCurve().
|
static |
Definition at line 406 of file FitCurve.cpp.
References BezierII(), P, v, V2SquaredLength(), and V2SubII().
Referenced by Freestyle::FitCurveWrapper::FitCubic().
Definition at line 343 of file FitCurve.cpp.
References V2Normalize(), and V2SubII().
Referenced by Freestyle::FitCurveWrapper::FitCurve().
|
static |
Definition at line 960 of file ViewMapBuilder.cpp.
References _global, computeVisibility(), G_DEBUG_FREESTYLE, Freestyle::WShape::GetId(), Freestyle::FEdge::getId(), Freestyle::WFace::GetNormal(), Freestyle::WFace::GetVertex(), Freestyle::WVertex::GetVertex(), Freestyle::FEdge::isInImage(), Freestyle::FEdge::nextEdge(), Freestyle::WFace::numberOfEdges(), Freestyle::FEdge::setaFace(), Freestyle::WVertex::shape(), Freestyle::ViewMap::ViewEdges(), and Freestyle::ViewMap::viewShape().
|
static |
Definition at line 210 of file ViewMapBuilder.cpp.
References _global, Freestyle::FEdge::center3d(), Freestyle::GeomUtils::COINCIDENT, fabs(), Freestyle::FEdgeSmooth::face(), findOccludee(), G_DEBUG_FREESTYLE, Freestyle::WFace::getEdgeList(), Freestyle::WShape::GetId(), Freestyle::WFace::GetNormal(), Freestyle::Geometry::Polygon3r::getNormal(), Freestyle::WFace::GetVertex(), Freestyle::Geometry::Polygon< Point >::getVertices(), I, Freestyle::GeomUtils::intersectRayPlane(), Freestyle::FEdge::isSmooth(), Freestyle::VecMat::Vec< T, N >::norm(), Freestyle::VecMat::Vec< T, N >::normalize(), Freestyle::SVertex::point3D(), Freestyle::Geometry::Polygon3r::rayIntersect(), Freestyle::WFace::RetrieveVertexList(), Freestyle::WVertex::shape(), v, Freestyle::FEdge::vertexA(), Freestyle::FEdge::vertexB(), Freestyle::ViewMap::viewShape(), Freestyle::VecMat::Vec3< T >::x(), x, and Freestyle::VecMat::Vec3< T >::y().
Referenced by computeCumulativeVisibility(), computeDetailedVisibility(), computeFastVisibility(), and computeVeryFastVisibility().
Definition at line 52 of file Curvature.cpp.
References Freestyle::WVertex::GetVertex(), sqrt(), Freestyle::VecMat::Vec< T, N >::squareNorm(), v, and v2.
Referenced by gts_vertex_mean_curvature_normal(), and gts_vertex_principal_directions().
|
static |
Definition at line 1082 of file Operators.cpp.
References ELEM, G, G_DEBUG_FREESTYLE, Freestyle::Interface1D::getId(), Freestyle::StrokeVertex::getPoint(), Freestyle::CurvePoint::getPoint2D(), Freestyle::StrokeInternal::StrokeVertexIterator::isBegin(), Freestyle::Interface0DIterator::isEnd(), Freestyle::StrokeInternal::StrokeVertexIterator::isEnd(), len, next, Freestyle::VecMat::Vec< T, N >::norm(), norm(), Freestyle::VecMat::Vec< T, N >::normalize(), printf, Freestyle::Stroke::push_back(), Freestyle::StrokeVertex::setCurvilinearAbscissa(), Freestyle::Stroke::setId(), Freestyle::Stroke::setLength(), Freestyle::StrokeVertex::setPoint(), Freestyle::Stroke::strokeVerticesBegin(), Freestyle::Stroke::strokeVerticesSize(), v, Freestyle::Interface1D::verticesBegin(), Freestyle::Stroke::verticesBegin(), and Freestyle::Interface1D::verticesEnd().
Referenced by Freestyle::Operators::create().
Definition at line 73 of file CulledOccluderSource.cpp.
References A, B, Freestyle::SVertex::getProjectedX(), Freestyle::SVertex::getProjectedY(), Freestyle::GeomUtils::intersect2dSeg2dArea(), max, min, Freestyle::FEdge::vertexA(), and Freestyle::FEdge::vertexB().
Referenced by Freestyle::ViewMapBuilder::CullViewEdges(), and Freestyle::CulledOccluderSource::cullViewEdges().
Definition at line 1074 of file ViewMapBuilder.cpp.
References A, B, Freestyle::SVertex::getProjectedX(), Freestyle::SVertex::getProjectedY(), Freestyle::GeomUtils::intersect2dSeg2dArea(), max, min, Freestyle::FEdge::vertexA(), and Freestyle::FEdge::vertexB().
Definition at line 68 of file CulledOccluderSource.cpp.
Referenced by Freestyle::ViewMapBuilder::CullViewEdges(), and Freestyle::CulledOccluderSource::cullViewEdges().
Definition at line 1069 of file ViewMapBuilder.cpp.
Definition at line 241 of file AdvancedStrokeShaders.cpp.
References exp().
Referenced by Freestyle::Smoother::iteration().
Definition at line 200 of file Curvature.cpp.
References b, c, e, and sqrt().
Referenced by gts_vertex_principal_directions().
|
static |
Definition at line 43 of file ViewMapBuilder.cpp.
References _global, Freestyle::Nature::BORDER, Freestyle::GeomUtils::COINCIDENT, fabs(), Freestyle::FEdgeSmooth::face(), FLT_MAX, G_DEBUG_FREESTYLE, Freestyle::Geometry::Polygon3r::getNormal(), Freestyle::Geometry::Polygon< Point >::getVertices(), Freestyle::GeomUtils::intersectRayPlane(), Freestyle::FEdge::isSmooth(), Freestyle::Geometry::Polygon3r::rayIntersect(), Freestyle::FEdge::setOccludeeIntersection(), Freestyle::Nature::SILHOUETTE, and v.
Referenced by computeCumulativeVisibility(), computeDetailedVisibility(), computeFastVisibility(), computeVisibility(), and findOccludee().
|
static |
Definition at line 173 of file ViewMapBuilder.cpp.
References A, Freestyle::FEdgeSmooth::face(), findOccludee(), I, Freestyle::FEdge::isSmooth(), and Freestyle::VecMat::Vec< T, N >::normalize().
|
static |
Definition at line 113 of file FitCurve.cpp.
References B0(), B1(), B2(), B3(), V2Add(), V2AddII(), V2DistanceBetween2Points(), V2Dot(), V2Scale(), V2ScaleIII(), V2SubII(), and X.
Referenced by Freestyle::FitCurveWrapper::FitCubic().
| v | a #WVertex. |
| Kg | the Discrete Gaussian Curvature approximation at v. |
Computes the Discrete Gaussian Curvature approximation at v.
This approximation is from the paper: Discrete Differential-Geometry Operators for Triangulated 2-Manifolds Mark Meyer, Mathieu Desbrun, Peter Schroder, Alan H. Barr VisMath '02, Berlin (Germany) http://www-grail.usc.edu/pubs.html
Returns: true if the operator could be evaluated, false if the evaluation failed for some reason (v is boundary or is the endpoint of a non-manifold edge.)
Definition at line 138 of file Curvature.cpp.
References angle_from_cotan(), e, M_PI, v, and v2.
| v | a #WVertex. |
| Kh | the Mean Curvature Normal at v. |
Computes the Discrete Mean Curvature Normal approximation at v. The mean curvature at v is half the magnitude of the vector Kh.
This approximation is from the paper: Discrete Differential-Geometry Operators for Triangulated 2-Manifolds Mark Meyer, Mathieu Desbrun, Peter Schroder, Alan H. Barr VisMath '02, Berlin (Germany) http://www-grail.usc.edu/pubs.html
Returns: true if the operator could be evaluated, false if the evaluation failed for some reason (v is boundary or is the endpoint of a non-manifold edge.)
Definition at line 88 of file Curvature.cpp.
References cotan(), e, Freestyle::WVertex::GetVertex(), v, and v2.
| Kh | mean curvature. |
| Kg | Gaussian curvature. |
| K1 | first principal curvature. |
| K2 | second principal curvature. |
Computes the principal curvatures at a point given the mean and Gaussian curvatures at that point.
The mean curvature can be computed as one-half the magnitude of the vector computed by gts_vertex_mean_curvature_normal().
The Gaussian curvature can be computed with gts_vertex_gaussian_curvature().
Definition at line 173 of file Curvature.cpp.
References sqrt().
Referenced by gts_vertex_principal_directions().
| void Freestyle::gts_vertex_principal_directions | ( | WVertex * | v, |
| Vec3r | Kh, | ||
| real | Kg, | ||
| Vec3r & | e1, | ||
| Vec3r & | e2 ) |
| v | a #WVertex. |
| Kh | mean curvature normal (a Vec3r). |
| Kg | Gaussian curvature (a real). |
| e1 | first principal curvature direction (direction of largest curvature). |
| e2 | second principal curvature direction. |
Computes the principal curvature directions at a point given Kh and Kg, the mean curvature normal and Gaussian curvatures at that point, computed with gts_vertex_mean_curvature_normal() and gts_vertex_gaussian_curvature(), respectively.
Note that this computation is very approximate and tends to be unstable. Smoothing of the surface or the principal directions may be necessary to achieve reasonable results.
Definition at line 212 of file Curvature.cpp.
References a, angle_obtuse(), b, c, cotan(), e, eigenvector(), fabs(), free(), Freestyle::WFace::getArea(), Freestyle::WOEdge::GetbVertex(), Freestyle::WFace::GetNextOEdge(), gts_vertex_principal_curvatures(), linsolve(), N, Freestyle::VecMat::Vec< T, N >::norm(), Freestyle::VecMat::Vec< T, N >::normalize(), Freestyle::VecMat::Vec< T, N >::squareNorm(), triangle_obtuse(), and v.
|
static |
Definition at line 26 of file Grid.cpp.
References Freestyle::VecMat::Vec3< T >::x(), Freestyle::VecMat::Vec3< T >::y(), and Freestyle::VecMat::Vec3< T >::z().
Referenced by Freestyle::firstIntersectionGridVisitor::examineOccluder().
|
inlinestatic |
Definition at line 83 of file CulledOccluderSource.cpp.
Referenced by Freestyle::ViewMapBuilder::CullViewEdges(), and Freestyle::CulledOccluderSource::cullViewEdges().
|
inlinestatic |
Definition at line 1084 of file ViewMapBuilder.cpp.
| T Freestyle::integrate | ( | UnaryFunction0D< T > & | fun, |
| Interface0DIterator | it, | ||
| Interface0DIterator | it_end, | ||
| IntegrationType | integration_type = MEAN ) |
Returns a single value from a set of values evaluated at each 0D element of this 1D element.
| fun | The UnaryFunction0D used to compute a value at each Interface0D. |
| it | The Interface0DIterator used to iterate over the 0D elements of this 1D element. The integration will occur over the 0D elements starting from the one pointed by it. |
| it_end | The Interface0DIterator pointing the end of the 0D elements of the 1D element. |
| integration_type | The integration method used to compute a single value from a set of values. |
Definition at line 75 of file Interface1D.h.
References FIRST, LAST, MAX, MEAN, MIN, Freestyle::UnaryFunction0D< T >::result, and size().
Referenced by Integrator_integrate(), Freestyle::Functions1D::Curvature2DAngleF1D::operator()(), Freestyle::Functions1D::DensityF1D::operator()(), Freestyle::Functions1D::GetCompleteViewMapDensityF1D::operator()(), Freestyle::Functions1D::GetDirectionalViewMapDensityF1D::operator()(), Freestyle::Functions1D::GetProjectedXF1D::operator()(), Freestyle::Functions1D::GetProjectedYF1D::operator()(), Freestyle::Functions1D::GetProjectedZF1D::operator()(), Freestyle::Functions1D::GetViewMapGradientNormF1D::operator()(), Freestyle::Functions1D::GetXF1D::operator()(), Freestyle::Functions1D::GetYF1D::operator()(), Freestyle::Functions1D::GetZF1D::operator()(), Freestyle::Functions1D::LocalAverageDepthF1D::operator()(), Freestyle::Functions1D::Normal2DF1D::operator()(), Freestyle::Functions1D::Orientation2DF1D::operator()(), Freestyle::Functions1D::Orientation3DF1D::operator()(), Freestyle::Functions1D::QuantitativeInvisibilityF1D::operator()(), and Freestyle::Functions1D::ZDiscontinuityF1D::operator()().
Definition at line 49 of file PseudoNoise.cpp.
References fabs(), M_EPSILON, and M_PI.
Referenced by Freestyle::PseudoNoise::smoothNoise().
|
static |
Definition at line 190 of file Curvature.cpp.
Referenced by gts_vertex_principal_directions().
|
static |
Definition at line 17 of file NodeCamera.cpp.
Referenced by Freestyle::NodeCamera::NodeCamera(), Freestyle::NodeOrthographicCamera::NodeOrthographicCamera(), Freestyle::NodeOrthographicCamera::NodeOrthographicCamera(), Freestyle::NodePerspectiveCamera::NodePerspectiveCamera(), and Freestyle::NodePerspectiveCamera::NodePerspectiveCamera().
|
static |
Definition at line 226 of file FitCurve.cpp.
References BezierII(), and P.
Referenced by Reparameterize().
|
static |
Definition at line 57 of file Noise.cpp.
Referenced by Freestyle::Noise::Noise().
|
static |
Definition at line 66 of file Noise.cpp.
Referenced by Freestyle::Noise::Noise().
|
static |
Definition at line 92 of file StrokeRep.cpp.
References fabs(), and HUGE_COORD.
Referenced by Freestyle::Strip::cleanUpSingularities(), and Freestyle::Strip::createStrip().
| BBox< Point > & Freestyle::operator+ | ( | const BBox< Point > & | b1, |
| const BBox< Point > & | b2 ) |
Definition at line 132 of file BBox.h.
References Freestyle::BBox< Point >::getMax(), and Freestyle::BBox< Point >::getMin().
| ostream & Freestyle::operator<< | ( | ostream & | out, |
| const Stroke & | iStroke ) |
Definition at line 41 of file StrokeIO.cpp.
References Freestyle::Stroke::getId(), Freestyle::Stroke::getLength2D(), Freestyle::Stroke::getMediumType(), v, Freestyle::Stroke::vertices_begin(), and Freestyle::Stroke::vertices_end().
| ostream & Freestyle::operator<< | ( | ostream & | out, |
| const StrokeAttribute & | iStrokeAttribute ) |
Definition at line 16 of file StrokeIO.cpp.
References Freestyle::StrokeAttribute::getAlpha(), Freestyle::StrokeAttribute::getColorB(), Freestyle::StrokeAttribute::getColorG(), Freestyle::StrokeAttribute::getColorR(), Freestyle::StrokeAttribute::getThicknessL(), Freestyle::StrokeAttribute::getThicknessR(), and Freestyle::StrokeAttribute::isVisible().
| ostream & Freestyle::operator<< | ( | ostream & | out, |
| const StrokeVertex & | iStrokeVertex ) |
Definition at line 28 of file StrokeIO.cpp.
References Freestyle::StrokeVertex::attribute(), Freestyle::StrokeVertex::curvilinearAbscissa(), Freestyle::CurvePoint::getId(), Freestyle::CurvePoint::getProjectedX(), Freestyle::CurvePoint::getProjectedY(), Freestyle::CurvePoint::getProjectedZ(), Freestyle::CurvePoint::getX(), Freestyle::CurvePoint::getY(), and Freestyle::CurvePoint::getZ().
|
inline |
|
static |
Definition at line 206 of file FitCurve.cpp.
References NewtonRaphsonRootFind().
Referenced by Freestyle::FitCurveWrapper::FitCubic().
|
static |
Definition at line 397 of file BlenderFileLoader.cpp.
References ELEM, flag, and FREESTYLE_EDGE_MARK.
Referenced by Freestyle::BlenderFileLoader::insertShapeNode().
Definition at line 43 of file Curvature.cpp.
References b, and Freestyle::WFace::getEdgeList().
Referenced by gts_vertex_principal_directions().
Definition at line 80 of file FitCurve.cpp.
References c.
Referenced by Freestyle::FitCurveWrapper::FitCubic(), and GenerateBezier().
Definition at line 72 of file FitCurve.cpp.
References sqrt().
Referenced by ChordLengthParameterize(), Freestyle::FitCurveWrapper::FitCubic(), and GenerateBezier().
Definition at line 50 of file FitCurve.cpp.
References sqrt(), and V2SquaredLength().
Referenced by ComputeCenterTangent(), V2Normalize(), and V2Scale().
Definition at line 99 of file FitCurve.cpp.
References v.
Referenced by Freestyle::FitCurveWrapper::FitCubic().
Definition at line 88 of file FitCurve.cpp.
References len, v, and V2Length().
Referenced by ComputeCenterTangent(), ComputeLeftTangent(), and ComputeRightTangent().
Definition at line 55 of file FitCurve.cpp.
References len, v, and V2Length().
Referenced by Freestyle::FitCurveWrapper::FitCubic(), and GenerateBezier().
Definition at line 437 of file FitCurve.cpp.
Referenced by GenerateBezier().
Definition at line 44 of file FitCurve.cpp.
Referenced by ComputeMaxError(), and V2Length().
Definition at line 445 of file FitCurve.cpp.
Referenced by ComputeCenterTangent(), ComputeLeftTangent(), ComputeMaxError(), ComputeRightTangent(), and GenerateBezier().
|
static |
Definition at line 296 of file ViewMap.cpp.
References Freestyle::VecMat::Vec< T, N >::normalize(), Freestyle::FEdge::orientation2d(), v2, Freestyle::VecMat::Vec2< T >::x(), and Freestyle::VecMat::Vec2< T >::y().
Referenced by Freestyle::NonTVertex::AddIncomingViewEdge(), Freestyle::NonTVertex::AddOutgoingViewEdge(), Freestyle::TVertex::setBackEdgeA(), Freestyle::TVertex::setBackEdgeB(), Freestyle::TVertex::setFrontEdgeA(), and Freestyle::TVertex::setFrontEdgeB().
Definition at line 36 of file ViewMapBuilder.cpp.
Referenced by Freestyle::ViewMapBuilder::BuildGrid(), computeCumulativeVisibility(), computeDetailedVisibility(), Freestyle::ViewMapBuilder::ComputeEdgesVisibility(), computeFastVisibility(), Freestyle::ViewMapBuilder::ComputeIntersections(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), computeVeryFastVisibility(), computeVisibility(), Freestyle::ViewMapBuilder::CullViewEdges(), and findOccludee().
|
static |
Definition at line 82 of file RandGen.cpp.
Referenced by Freestyle::WFace::getArea(), gts_vertex_principal_directions(), Freestyle::BlenderFileLoader::insertShapeNode(), Freestyle::Stroke::Resample(), Freestyle::Stroke::Resample(), Freestyle::OGF::MatrixUtil::semi_definite_symmetric_eigen(), Freestyle::StrokeVertexRep::setAlpha(), Freestyle::FrsMaterial::setAmbient(), Freestyle::FrsMaterial::setDiffuse(), Freestyle::FrsMaterial::setEmission(), Freestyle::FrsMaterial::setLine(), Freestyle::Stroke::setMTex(), Freestyle::FrsMaterial::setSpecular(), Freestyle::StrokeShaders::BezierCurveShader::shade(), Freestyle::StrokeShaders::TipRemoverShader::shade(), Freestyle::Noise::smoothNoise2(), Freestyle::Noise::smoothNoise3(), Freestyle::OGF::sphere_clip_vector(), Freestyle::Stroke::Stroke(), Freestyle::Stroke::Stroke(), Freestyle::StrokeRep::StrokeRep(), Freestyle::StrokeRep::StrokeRep(), and Freestyle::StrokeRep::StrokeRep().
Definition at line 87 of file RandGen.cpp.
Referenced by BPy_Chain_from_Chain(), Chain_init(), Freestyle::BlenderFileLoader::clipLine(), Freestyle::Controller::ComputeSteerableViewMap(), eigenvector(), FrsCurve_init(), gts_vertex_principal_directions(), Freestyle::Canvas::loadMap(), Freestyle::SteerableViewMap::saveSteerableViewMap(), Freestyle::Noise::smoothNoise3(), Freestyle::OGF::sphere_clip_vector(), Freestyle::StrokeTesselator::Tesselate(), Freestyle::ViewMapTesselator::Tesselate(), V2Add(), V2AddII(), and V2SubII().
|
extern |
|
static |
Definition at line 1547 of file ViewMapBuilder.cpp.
Referenced by Freestyle::ViewMapBuilder::ComputeFastRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), and Freestyle::ViewMapBuilder::ComputeVeryFastRayCastingVisibility().
|
static |
Definition at line 1548 of file ViewMapBuilder.cpp.
Referenced by Freestyle::ViewMapBuilder::ComputeFastRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), and Freestyle::ViewMapBuilder::ComputeVeryFastRayCastingVisibility().
|
static |
Definition at line 17 of file Precision.h.
Referenced by Freestyle::CurveInternal::__point_iterator< Traits >::begin(), ComputeCenterTangent(), Freestyle::Smoother::computeCurvature(), Freestyle::CurveInternal::__point_iterator< Traits >::decrement(), Freestyle::CurveInternal::CurvePointIterator::decrement(), Freestyle::CurveInternal::__point_iterator< Traits >::increment(), Freestyle::CurveInternal::CurvePointIterator::increment(), Freestyle::GeomUtils::intersect2dLine2dLine(), Freestyle::GeomUtils::intersect2dSeg2dSeg(), Freestyle::GeomUtils::intersect2dSegPoly(), Freestyle::CurveInternal::CurvePointIterator::isBegin(), LanczosWindowed(), Freestyle::Operators::recursiveSplit(), Freestyle::Operators::recursiveSplit(), Freestyle::Operators::reset(), Freestyle::Operators::sequentialSplit(), Freestyle::Operators::sequentialSplit(), Freestyle::StrokeShaders::BezierCurveShader::shade(), and Freestyle::Smoother::Smoother().
|
static |
Definition at line 56 of file SceneHash.cpp.
|
static |
Definition at line 78 of file AdvancedStrokeShaders.cpp.
Referenced by Freestyle::SpatialNoiseShader::shade(), and Freestyle::SpatialNoiseShader::SpatialNoiseShader().
|
static |
Definition at line 77 of file RandGen.cpp.
Referenced by Freestyle::BoxGrid::assignCells(), Freestyle::SphericalGrid::assignCells(), Freestyle::GaussianPyramid::BuildPyramid(), Freestyle::SShape::ComputeBBox(), Freestyle::Controller::ComputeSteerableViewMap(), computeVisibility(), ContextFunctions_read_complete_view_map_pixel(), ContextFunctions_read_directional_view_map_pixel(), ContextFunctions_read_map_pixel(), Freestyle::StrokeShaders::CurvePiece::CurvePiece(), Freestyle::BoxGrid::findCell(), Freestyle::SphericalGrid::findCell(), FRS_composite_result(), FrsNoise_turbulence_smooth(), Freestyle::CurvePoint::getFEdge(), Freestyle::Grid::insertOccluder(), Freestyle::Canvas::loadMap(), Freestyle::OGF::ogf_swap(), Freestyle::NodeTransform::Rotate(), Freestyle::SteerableViewMap::saveSteerableViewMap(), Freestyle::NodeTransform::Scale(), Freestyle::OGF::MatrixUtil::semi_definite_symmetric_eigen(), Freestyle::GrayImage::setArray(), Freestyle::RGBImage::setArray(), Freestyle::StrokeShaders::BackboneStretcherShader::shade(), Freestyle::StrokeShaders::CurvePiece::subdivide(), Freestyle::NodeTransform::Translate(), ViewMap_get_closest_fedge(), and ViewMap_get_closest_viewedge().