Blender
V3.3
|
#include <CurveIterators.h>
Public Member Functions | |
CurvePointIterator (float step=0.0f) | |
CurvePointIterator (const CurvePointIterator &iBrother) | |
CurvePointIterator & | operator= (const CurvePointIterator &iBrother) |
virtual | ~CurvePointIterator () |
virtual CurvePointIterator * | copy () const |
Interface0DIterator | castToInterface0DIterator () const |
virtual string | getExactTypeName () const |
CurvePointIterator & | operator++ () |
CurvePointIterator & | operator-- () |
virtual bool | operator== (const Interface0DIteratorNested &b) const |
virtual CurvePoint & | operator* () |
virtual CurvePoint * | operator-> () |
virtual bool | isBegin () const |
virtual bool | isEnd () const |
virtual int | increment () |
virtual int | decrement () |
virtual float | t () const |
virtual float | u () const |
![]() | |
virtual | ~Interface0DIteratorNested () |
virtual bool | operator!= (const Interface0DIteratorNested &it) const |
![]() | |
virtual | ~Iterator () |
Public Attributes | |
float | _CurvilinearLength |
float | _step |
Curve::vertex_container::iterator | __A |
Curve::vertex_container::iterator | __B |
Curve::vertex_container::iterator | _begin |
Curve::vertex_container::iterator | _end |
int | _n |
int | _currentn |
float | _t |
CurvePoint | _Point |
float | _CurveLength |
Protected Member Functions | |
CurvePointIterator (Curve::vertex_container::iterator iA, Curve::vertex_container::iterator iB, Curve::vertex_container::iterator ibegin, Curve::vertex_container::iterator iend, int currentn, int n, float iCurveLength, float step, float t=0.0f, float iCurvilinearLength=0.0f) | |
Friends | |
class | Freestyle::Curve |
iterator on a curve. Allows an iterating outside initial vertices. A CurvePoint is instantiated an returned when the iterator is dereferenced.
Definition at line 22 of file CurveIterators.h.
|
inline |
Definition at line 40 of file CurveIterators.h.
References _currentn, _CurveLength, _CurvilinearLength, _n, _step, and _t.
Referenced by copy().
|
inline |
Definition at line 51 of file CurveIterators.h.
References __A, __B, _begin, _currentn, _CurveLength, _CurvilinearLength, _end, _n, _Point, _step, and _t.
|
inlinevirtual |
Definition at line 82 of file CurveIterators.h.
|
inlineprotected |
Definition at line 87 of file CurveIterators.h.
References __A, __B, _begin, _currentn, _CurveLength, _CurvilinearLength, _end, _n, _step, _t, and t().
|
inline |
Definition at line 117 of file CurveIterators.h.
References ret.
Referenced by Freestyle::__recursiveSplit().
|
inlinevirtual |
Implements Freestyle::Interface0DIteratorNested.
Definition at line 112 of file CurveIterators.h.
References CurvePointIterator().
|
inlinevirtual |
Implements Freestyle::Interface0DIteratorNested.
Definition at line 230 of file CurveIterators.h.
References __A, __B, _currentn, _CurvilinearLength, _n, _step, _t, fabs(), float(), Freestyle::M_EPSILON, and Freestyle::VecMat::Vec< T, N >::norm().
Referenced by operator--().
|
inlinevirtual |
Reimplemented from Freestyle::Interface0DIteratorNested.
Definition at line 123 of file CurveIterators.h.
|
inlinevirtual |
Implements Freestyle::Interface0DIteratorNested.
Definition at line 179 of file CurveIterators.h.
References __A, __B, _currentn, _CurvilinearLength, _n, _step, _t, float(), Freestyle::M_EPSILON, and Freestyle::VecMat::Vec< T, N >::norm().
Referenced by operator++().
|
inlinevirtual |
Implements Freestyle::Interface0DIteratorNested.
Definition at line 162 of file CurveIterators.h.
References __A, _begin, _t, and Freestyle::M_EPSILON.
|
inlinevirtual |
Implements Freestyle::Interface0DIteratorNested.
Definition at line 170 of file CurveIterators.h.
|
inlinevirtual |
Implements Freestyle::Interface0DIteratorNested.
Definition at line 152 of file CurveIterators.h.
References __A, __B, _Point, and _t.
Referenced by operator->().
|
inline |
Definition at line 129 of file CurveIterators.h.
References increment().
|
inline |
Definition at line 135 of file CurveIterators.h.
References decrement().
|
inlinevirtual |
Reimplemented from Freestyle::Interface0DIteratorNested.
Definition at line 157 of file CurveIterators.h.
References operator*().
|
inline |
Definition at line 66 of file CurveIterators.h.
References __A, __B, _begin, _currentn, _CurveLength, _CurvilinearLength, _end, _n, _Point, _step, and _t.
|
inlinevirtual |
Implements Freestyle::Interface0DIteratorNested.
Definition at line 142 of file CurveIterators.h.
References Freestyle::CurvePoint::__A, __A, Freestyle::CurvePoint::__B, __B, _t, and usdtokens::b().
|
inlinevirtual |
Returns the curvilinear abscissa
Implements Freestyle::Interface0DIteratorNested.
Definition at line 277 of file CurveIterators.h.
References _CurvilinearLength.
Referenced by CurvePointIterator().
|
inlinevirtual |
Returns the point parameter 0<u<1
Implements Freestyle::Interface0DIteratorNested.
Definition at line 282 of file CurveIterators.h.
References _CurveLength, and _CurvilinearLength.
|
friend |
Definition at line 24 of file CurveIterators.h.
Curve::vertex_container::iterator Freestyle::CurveInternal::CurvePointIterator::__A |
Definition at line 29 of file CurveIterators.h.
Referenced by CurvePointIterator(), decrement(), increment(), isBegin(), operator*(), operator=(), and operator==().
Curve::vertex_container::iterator Freestyle::CurveInternal::CurvePointIterator::__B |
Definition at line 30 of file CurveIterators.h.
Referenced by CurvePointIterator(), decrement(), increment(), isEnd(), operator*(), operator=(), and operator==().
Curve::vertex_container::iterator Freestyle::CurveInternal::CurvePointIterator::_begin |
Definition at line 31 of file CurveIterators.h.
Referenced by CurvePointIterator(), isBegin(), and operator=().
int Freestyle::CurveInternal::CurvePointIterator::_currentn |
Definition at line 34 of file CurveIterators.h.
Referenced by CurvePointIterator(), decrement(), increment(), and operator=().
float Freestyle::CurveInternal::CurvePointIterator::_CurveLength |
Definition at line 37 of file CurveIterators.h.
Referenced by CurvePointIterator(), operator=(), and u().
float Freestyle::CurveInternal::CurvePointIterator::_CurvilinearLength |
Definition at line 27 of file CurveIterators.h.
Referenced by Freestyle::__recursiveSplit(), CurvePointIterator(), decrement(), increment(), operator=(), t(), and u().
Curve::vertex_container::iterator Freestyle::CurveInternal::CurvePointIterator::_end |
Definition at line 32 of file CurveIterators.h.
Referenced by CurvePointIterator(), isEnd(), and operator=().
int Freestyle::CurveInternal::CurvePointIterator::_n |
Definition at line 33 of file CurveIterators.h.
Referenced by CurvePointIterator(), decrement(), increment(), and operator=().
|
mutable |
Definition at line 36 of file CurveIterators.h.
Referenced by CurvePointIterator(), operator*(), and operator=().
float Freestyle::CurveInternal::CurvePointIterator::_step |
Definition at line 28 of file CurveIterators.h.
Referenced by CurvePointIterator(), decrement(), increment(), and operator=().
float Freestyle::CurveInternal::CurvePointIterator::_t |
Definition at line 35 of file CurveIterators.h.
Referenced by CurvePointIterator(), decrement(), increment(), isBegin(), operator*(), operator=(), and operator==().