|
Blender
V2.93
|
#include <ViewMapIterators.h>
Inherits Freestyle::Iterator.
Inherited by Freestyle::ChainingIterator.
Public Member Functions | |
| ViewEdgeIterator (ViewEdge *begin=NULL, bool orientation=true) | |
| ViewEdgeIterator (const ViewEdgeIterator &it) | |
| virtual | ~ViewEdgeIterator () |
| virtual string | getExactTypeName () const |
| ViewEdge * | getCurrentEdge () |
| void | setCurrentEdge (ViewEdge *edge) |
| ViewEdge * | getBegin () |
| void | setBegin (ViewEdge *begin) |
| bool | getOrientation () const |
| void | setOrientation (bool orientation) |
| void | changeOrientation () |
| virtual ViewEdge * | operator* () |
| virtual ViewEdge * | operator-> () |
| virtual ViewEdgeIterator & | operator++ () |
| virtual ViewEdgeIterator | operator++ (int) |
| virtual int | increment () |
| virtual ViewEdgeIterator & | operator-- () |
| virtual ViewEdgeIterator | operator-- (int) |
| virtual int | decrement () |
| virtual bool | isBegin () const |
| virtual bool | isEnd () const |
| virtual bool | operator== (ViewEdgeIterator &it) const |
| virtual bool | operator!= (ViewEdgeIterator &it) const |
Public Member Functions inherited from Freestyle::Iterator | |
| virtual | ~Iterator () |
Protected Attributes | |
| bool | _orientation |
| ViewEdge * | _edge |
| ViewEdge * | _begin |
Base class for iterators over ViewEdges of the ViewMap Graph. Basically the "increment()" operator of this class should be able to take the decision of "where" (on which ViewEdge) to go when pointing on a given ViewEdge. ::Caution::: the dereferencing operator returns a pointer to the pointed ViewEdge.
Definition at line 423 of file ViewMapIterators.h.
|
inline |
Builds a ViewEdgeIterator from a starting ViewEdge and its orientation.
| begin | The ViewEdge from where to start the iteration. |
| orientation | If true, we'll look for the next ViewEdge among the ViewEdges that surround the ending ViewVertex of begin. If false, we'll search over the ViewEdges surrounding the ending ViewVertex of begin. |
Definition at line 433 of file ViewMapIterators.h.
References _begin, _edge, and _orientation.
|
inline |
Copy constructor
Definition at line 441 of file ViewMapIterators.h.
References _begin, _edge, and _orientation.
|
inlinevirtual |
Definition at line 448 of file ViewMapIterators.h.
|
inline |
Changes the current orientation.
Definition at line 495 of file ViewMapIterators.h.
References _orientation.
|
inlinevirtual |
decrements.
Reimplemented from Freestyle::Iterator.
Reimplemented in Freestyle::ChainingIterator.
Definition at line 549 of file ViewMapIterators.h.
Referenced by operator--().
|
inline |
Returns the first ViewEdge used for the iteration.
Definition at line 471 of file ViewMapIterators.h.
References _begin.
|
inline |
Returns the current pointed ViewEdge.
Definition at line 459 of file ViewMapIterators.h.
References _edge.
Referenced by Freestyle::ChainSilhouetteIterator::traverse(), and Freestyle::ChainPredicateIterator::traverse().
|
inlinevirtual |
Returns the string "ViewEdgeIterator"
Reimplemented from Freestyle::Iterator.
Reimplemented in Freestyle::ChainPredicateIterator, Freestyle::ChainSilhouetteIterator, and Freestyle::ChainingIterator.
Definition at line 453 of file ViewMapIterators.h.
|
inline |
Gets the orientation of the pointed ViewEdge in the iteration.
Definition at line 483 of file ViewMapIterators.h.
References _orientation.
Referenced by Freestyle::Operators::bidirectionalChain(), and Freestyle::Operators::chain().
|
inlinevirtual |
increments.
Reimplemented from Freestyle::Iterator.
Reimplemented in Freestyle::ChainingIterator.
Definition at line 527 of file ViewMapIterators.h.
Referenced by operator++().
|
inlinevirtual |
Returns true if the pointed ViewEdge is the first one used for the iteration.
Reimplemented from Freestyle::Iterator.
Definition at line 556 of file ViewMapIterators.h.
|
inlinevirtual |
Returns true if the pointed ViewEdge* equals 0.
Reimplemented from Freestyle::Iterator.
Definition at line 562 of file ViewMapIterators.h.
References _edge.
Referenced by Freestyle::Operators::bidirectionalChain(), and Freestyle::Operators::chain().
|
inlinevirtual |
operator !=
Definition at line 574 of file ViewMapIterators.h.
|
inlinevirtual |
Returns a pointer to the pointed ViewEdge.
Definition at line 501 of file ViewMapIterators.h.
References _edge.
Referenced by operator->().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 512 of file ViewMapIterators.h.
References increment().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 519 of file ViewMapIterators.h.
References increment().
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 534 of file ViewMapIterators.h.
References decrement().
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 541 of file ViewMapIterators.h.
References decrement().
|
inlinevirtual |
Definition at line 506 of file ViewMapIterators.h.
References operator*().
|
inlinevirtual |
|
inline |
Sets the first ViewEdge used for the iteration.
Definition at line 477 of file ViewMapIterators.h.
References _begin.
Referenced by Freestyle::Operators::bidirectionalChain(), and Freestyle::Operators::chain().
|
inline |
Sets the current pointed ViewEdge.
Definition at line 465 of file ViewMapIterators.h.
References _edge.
Referenced by Freestyle::Operators::bidirectionalChain(), and Freestyle::Operators::chain().
|
inline |
Sets the orientation of the pointed ViewEdge in the iteration.
Definition at line 489 of file ViewMapIterators.h.
References _orientation.
Referenced by Freestyle::Operators::bidirectionalChain().
|
protected |
Definition at line 582 of file ViewMapIterators.h.
Referenced by getBegin(), isBegin(), setBegin(), and ViewEdgeIterator().
|
protected |
Definition at line 581 of file ViewMapIterators.h.
Referenced by Freestyle::ChainingIterator::decrement(), getCurrentEdge(), Freestyle::ChainingIterator::getVertex(), Freestyle::ChainingIterator::increment(), isBegin(), isEnd(), operator*(), operator==(), setCurrentEdge(), and ViewEdgeIterator().
|
protected |
Definition at line 580 of file ViewMapIterators.h.
Referenced by changeOrientation(), Freestyle::ChainingIterator::decrement(), getOrientation(), Freestyle::ChainingIterator::getVertex(), Freestyle::ChainingIterator::increment(), setOrientation(), and ViewEdgeIterator().