|
Blender
V2.93
|
#include <StrokeIterators.h>
Inherits Freestyle::Interface0DIteratorNested.
Public Member Functions | |
| StrokeVertexIterator () | |
| StrokeVertexIterator (const StrokeVertexIterator &vi) | |
| StrokeVertexIterator (const Stroke::vertex_container::iterator &it, const Stroke::vertex_container::iterator &begin, const Stroke::vertex_container::iterator &end) | |
| virtual | ~StrokeVertexIterator () |
| Interface0DIterator | castToInterface0DIterator () const |
| StrokeVertexIterator & | operator= (const StrokeVertexIterator &vi) |
| virtual string | getExactTypeName () const |
| virtual StrokeVertex & | operator* () |
| virtual StrokeVertex * | operator-> () |
| virtual StrokeVertexIterator & | operator++ () |
| virtual StrokeVertexIterator | operator++ (int) |
| virtual StrokeVertexIterator & | operator-- () |
| virtual StrokeVertexIterator | operator-- (int) |
| virtual int | increment () |
| virtual int | decrement () |
| bool | isBegin () const |
| bool | atLast () |
| bool | isEnd () const |
| virtual bool | operator== (const Interface0DIteratorNested &it) const |
| virtual float | t () const |
| virtual float | u () const |
| virtual StrokeVertexIterator * | copy () const |
| const Stroke::vertex_container::iterator & | getIt () |
Public Member Functions inherited from Freestyle::Interface0DIteratorNested | |
| virtual | ~Interface0DIteratorNested () |
| virtual bool | operator!= (const Interface0DIteratorNested &it) const |
Public Member Functions inherited from Freestyle::Iterator | |
| virtual | ~Iterator () |
Class defining an iterator designed to iterate over the StrokeVertex of a Stroke. An instance of a StrokeVertexIterator can only be obtained from a Stroke by calling strokeVerticesBegin() or strokeVerticesEnd(). It is iterating over the same vertices as an Interface0DIterator. The difference resides in the object access. Indeed, an Interface0DIterator allows only an access to an Interface0D whereas we could need to access the specialized StrokeVertex type. In this case, one should use a StrokeVertexIterator. The castToInterface0DIterator() method is useful to get an Interface0DIterator from a StrokeVertexIterator in order to call any functions of the type UnaryFunction0D.
Definition at line 47 of file StrokeIterators.h.
|
inline |
Default constructor.
Definition at line 50 of file StrokeIterators.h.
Referenced by castToInterface0DIterator(), and copy().
|
inline |
Copy constructor.
Definition at line 55 of file StrokeIterators.h.
|
inline |
Definition at line 62 of file StrokeIterators.h.
|
inlinevirtual |
Definition at line 71 of file StrokeIterators.h.
|
inline |
Returns true if the pointed StrokeVertex is the final valid StrokeVertex of the Stroke.
Definition at line 170 of file StrokeIterators.h.
References result.
|
inline |
Casts this StrokeVertexIterator into an Interface0DIterator. Useful for any call to a function of the type UnaryFunction0D.
Definition at line 78 of file StrokeIterators.h.
References ret, and StrokeVertexIterator().
|
inlinevirtual |
Cloning method
Implements Freestyle::Interface0DIteratorNested.
Definition at line 211 of file StrokeIterators.h.
References StrokeVertexIterator().
|
inlinevirtual |
Decrements.
Implements Freestyle::Interface0DIteratorNested.
Definition at line 157 of file StrokeIterators.h.
Referenced by operator--().
|
inlinevirtual |
Returns the string "StrokeVertexIterator".
Reimplemented from Freestyle::Interface0DIteratorNested.
Definition at line 98 of file StrokeIterators.h.
|
inline |
Definition at line 220 of file StrokeIterators.h.
|
inlinevirtual |
Increments.
Implements Freestyle::Interface0DIteratorNested.
Definition at line 150 of file StrokeIterators.h.
Referenced by operator++().
|
inlinevirtual |
Returns true if the pointed StrokeVertex is the first of the Stroke.
Implements Freestyle::Interface0DIteratorNested.
Definition at line 164 of file StrokeIterators.h.
Referenced by Freestyle::createStroke().
|
inlinevirtual |
Returns true if the pointed StrokeVertex is after the last StrokeVertex of the Stroke.
Implements Freestyle::Interface0DIteratorNested.
Definition at line 183 of file StrokeIterators.h.
Referenced by Freestyle::createStroke(), and Freestyle::StrokeShaders::BezierCurveShader::shade().
|
inlinevirtual |
Returns a reference to the pointed StrokeVertex. In the scripting language, you must call "getObject()"instead.
Implements Freestyle::Interface0DIteratorNested.
Definition at line 106 of file StrokeIterators.h.
Referenced by operator->().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 120 of file StrokeIterators.h.
References increment().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 127 of file StrokeIterators.h.
References increment(), and ret.
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 135 of file StrokeIterators.h.
References decrement().
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 142 of file StrokeIterators.h.
References decrement(), and ret.
|
inlinevirtual |
Returns a pointer to the pointed StrokeVertex. Can't be called in the scripting language.
Reimplemented from Freestyle::Interface0DIteratorNested.
Definition at line 114 of file StrokeIterators.h.
References operator*().
|
inline |
operator=
Definition at line 89 of file StrokeIterators.h.
|
inlinevirtual |
operator ==
Implements Freestyle::Interface0DIteratorNested.
Definition at line 189 of file StrokeIterators.h.
|
inlinevirtual |
Returns the curvilinear abscissa of the current point
Implements Freestyle::Interface0DIteratorNested.
Definition at line 199 of file StrokeIterators.h.
|
inlinevirtual |
Returns the point's parameter in the stroke
Implements Freestyle::Interface0DIteratorNested.
Definition at line 205 of file StrokeIterators.h.