|
Blender
V2.93
|
#include <Curve.h>
Inherits Freestyle::Interface1D.
Inherited by Freestyle::Chain.
Public Types | |
| typedef CurvePoint | Vertex |
| typedef CurvePoint | Point |
| typedef Point | point_type |
| typedef Vertex | vertex_type |
| typedef deque< Vertex * > | vertex_container |
| typedef CurveInternal::__point_iterator< CurveInternal::CurvePoint_nonconst_traits > | point_iterator |
| typedef CurveInternal::__point_iterator< CurveInternal::CurvePoint_const_traits > | const_point_iterator |
| typedef point_iterator | vertex_iterator |
| typedef const_point_iterator | const_vertex_iterator |
Protected Attributes | |
| vertex_container | _Vertices |
| double | _Length |
| Id | _Id |
| unsigned | _nSegments |
Protected Attributes inherited from Freestyle::Interface1D | |
| unsigned | _timeStamp |
Base class for curves made of CurvePoints. SVertex is the type of the initial curve vertices. A Chain is a specialization of a Curve.
| typedef CurveInternal::__point_iterator<CurveInternal::CurvePoint_const_traits> Freestyle::Curve::const_point_iterator |
| typedef const_point_iterator Freestyle::Curve::const_vertex_iterator |
| typedef CurvePoint Freestyle::Curve::Point |
| typedef CurveInternal::__point_iterator<CurveInternal::CurvePoint_nonconst_traits> Freestyle::Curve::point_iterator |
| typedef CurvePoint Freestyle::Curve::Vertex |
| typedef point_iterator Freestyle::Curve::vertex_iterator |
|
inline |
|
inline |
|
virtual |
| CurveInternal::CurvePointIterator Curve::curvePointsBegin | ( | float | t = 0.0f | ) |
Definition at line 644 of file Curve.cpp.
References _Length, _nSegments, _Vertices, and t.
Referenced by Freestyle::__recursiveSplit(), and curveVerticesBegin().
| CurveInternal::CurvePointIterator Curve::curvePointsEnd | ( | float | t = 0.0f | ) |
Definition at line 660 of file Curve.cpp.
References _Length, _nSegments, _Vertices, and t.
Referenced by Freestyle::__recursiveSplit(), and curveVerticesEnd().
| CurveInternal::CurvePointIterator Curve::curveVerticesBegin | ( | ) |
Definition at line 676 of file Curve.cpp.
References curvePointsBegin().
Referenced by Freestyle::__recursiveSplit().
| CurveInternal::CurvePointIterator Curve::curveVerticesEnd | ( | ) |
Definition at line 681 of file Curve.cpp.
References curvePointsEnd().
Referenced by Freestyle::__recursiveSplit().
|
inline |
|
inlinevirtual |
Returns the string "Curve"
Reimplemented from Freestyle::Interface1D.
Reimplemented in Freestyle::Chain.
|
inlinevirtual |
Returns the Id of the 1D element.
Reimplemented from Freestyle::Interface1D.
Definition at line 499 of file Curve.h.
Referenced by Freestyle::__recursiveSplit().
|
inlinevirtual |
Returns the 2D length of the Curve.
Reimplemented from Freestyle::Interface1D.
Definition at line 493 of file Curve.h.
Referenced by Freestyle::__recursiveSplit().
|
inline |
Returns the number of segments in the polyline constituting the Curve.
Definition at line 505 of file Curve.h.
Referenced by Freestyle::__recursiveSplit(), and Freestyle::Operators::sequentialSplit().
| Curve::point_iterator Curve::points_begin | ( | float | step = 0 | ) |
iterators access
Definition at line 577 of file Curve.cpp.
References _nSegments, and _Vertices.
Referenced by vertices_begin().
| Curve::const_point_iterator Curve::points_begin | ( | float | step = 0 | ) | const |
Definition at line 586 of file Curve.cpp.
References _nSegments, and _Vertices.
| Curve::point_iterator Curve::points_end | ( | float | step = 0 | ) |
Definition at line 595 of file Curve.cpp.
References _Length, _nSegments, and _Vertices.
Referenced by vertices_end().
| Curve::const_point_iterator Curve::points_end | ( | float | step = 0 | ) | const |
Definition at line 608 of file Curve.cpp.
References _Length, _nSegments, and _Vertices.
|
virtual |
Returns an Interface0DIterator pointing onto the first point of the Curve and that can iterate over the points of the Curve at any resolution. At each iteration a virtual temporary CurvePoint is created.
Reimplemented from Freestyle::Interface1D.
Definition at line 686 of file Curve.cpp.
References _Length, _nSegments, _Vertices, ret, and t.
Referenced by verticesBegin().
|
virtual |
Returns an Interface0DIterator pointing after the last point of the Curve and that can iterate over the points of the Curve at any resolution. At each iteration a virtual temporary CurvePoint is created.
Reimplemented from Freestyle::Interface1D.
Definition at line 703 of file Curve.cpp.
References _Length, _nSegments, _Vertices, ret, and t.
Referenced by verticesEnd().
|
inline |
Adds a single vertex (SVertex) at the end of the Curve
Definition at line 451 of file Curve.h.
References Freestyle::VecMat::Vec< T, N >::norm(), and Freestyle::SVertex::point2d().
|
inline |
Adds a single vertex (CurvePoint) at the end of the Curve
Definition at line 439 of file Curve.h.
References Freestyle::VecMat::Vec< T, N >::norm(), and Freestyle::CurvePoint::point2d().
Referenced by Freestyle::__recursiveSplit(), Freestyle::Chain::push_viewedge_back(), and Freestyle::Operators::sequentialSplit().
|
inline |
Adds a single vertex (SVertex) at the front of the Curve
Definition at line 475 of file Curve.h.
References Freestyle::VecMat::Vec< T, N >::norm(), and Freestyle::SVertex::point2d().
|
inline |
Adds a single vertex (CurvePoint) at the front of the Curve
Definition at line 463 of file Curve.h.
References Freestyle::VecMat::Vec< T, N >::norm(), and Freestyle::CurvePoint::point2d().
Referenced by Freestyle::Chain::push_viewedge_front().
|
inline |
| Curve::point_iterator Curve::vertices_begin | ( | ) |
Definition at line 623 of file Curve.cpp.
References points_begin().
| Curve::const_point_iterator Curve::vertices_begin | ( | ) | const |
Definition at line 628 of file Curve.cpp.
References points_begin().
| Curve::point_iterator Curve::vertices_end | ( | ) |
Definition at line 633 of file Curve.cpp.
References points_end().
| Curve::const_point_iterator Curve::vertices_end | ( | ) | const |
Definition at line 638 of file Curve.cpp.
References points_end().
|
virtual |
Returns an Interface0DIterator pointing onto the first vertex of the Curve and that can iterate over the vertices of the Curve.
Reimplemented from Freestyle::Interface1D.
Definition at line 720 of file Curve.cpp.
References pointsBegin().
|
virtual |
Returns an Interface0DIterator pointing after the last vertex of the Curve and that can iterate over the vertices of the Curve.
Reimplemented from Freestyle::Interface1D.
Definition at line 725 of file Curve.cpp.
References pointsEnd().
|
protected |
Definition at line 395 of file Curve.h.
Referenced by Curve(), and Freestyle::Chain::~Chain().
|
protected |
Definition at line 394 of file Curve.h.
Referenced by Curve(), curvePointsBegin(), curvePointsEnd(), points_end(), pointsBegin(), and pointsEnd().
|
protected |
Definition at line 396 of file Curve.h.
Referenced by curvePointsBegin(), curvePointsEnd(), points_begin(), points_end(), pointsBegin(), and pointsEnd().
|
protected |
Definition at line 393 of file Curve.h.
Referenced by Curve(), curvePointsBegin(), curvePointsEnd(), points_begin(), points_end(), pointsBegin(), pointsEnd(), Freestyle::Chain::push_viewedge_back(), Freestyle::Chain::push_viewedge_front(), and ~Curve().