|
Blender V4.3
|
#include <ViewMapIterators.h>
Inherits Freestyle::Iterator.
Inherited by Freestyle::ChainingIterator.
Public Member Functions | |
| ViewEdgeIterator (ViewEdge *begin=nullptr, 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 405 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 415 of file ViewMapIterators.h.
References _begin, _edge, and _orientation.
|
inline |
Copy constructor
Definition at line 423 of file ViewMapIterators.h.
References _begin, _edge, and _orientation.
|
inlinevirtual |
Definition at line 430 of file ViewMapIterators.h.
|
inline |
Changes the current orientation.
Definition at line 475 of file ViewMapIterators.h.
References _orientation.
|
inlinevirtual |
decrements.
Reimplemented from Freestyle::Iterator.
Reimplemented in Freestyle::ChainingIterator.
Definition at line 529 of file ViewMapIterators.h.
Referenced by operator--(), and operator--().
|
inline |
Returns the first ViewEdge used for the iteration.
Definition at line 451 of file ViewMapIterators.h.
References _begin.
|
inline |
Returns the current pointed ViewEdge.
Definition at line 439 of file ViewMapIterators.h.
References _edge.
Referenced by Freestyle::ChainPredicateIterator::traverse(), and Freestyle::ChainSilhouetteIterator::traverse().
|
inlinevirtual |
Returns the string "ViewEdgeIterator"
Reimplemented from Freestyle::Iterator.
Reimplemented in Freestyle::ChainingIterator, Freestyle::ChainPredicateIterator, and Freestyle::ChainSilhouetteIterator.
Definition at line 433 of file ViewMapIterators.h.
|
inline |
Gets the orientation of the pointed ViewEdge in the iteration.
Definition at line 463 of file ViewMapIterators.h.
References _orientation.
|
inlinevirtual |
increments.
Reimplemented from Freestyle::Iterator.
Reimplemented in Freestyle::ChainingIterator.
Definition at line 507 of file ViewMapIterators.h.
Referenced by operator++(), and operator++().
|
inlinevirtual |
Returns true if the pointed ViewEdge is the first one used for the iteration.
Reimplemented from Freestyle::Iterator.
Definition at line 536 of file ViewMapIterators.h.
|
inlinevirtual |
Returns true if the pointed ViewEdge* equals 0.
Reimplemented from Freestyle::Iterator.
Definition at line 542 of file ViewMapIterators.h.
References _edge.
|
inlinevirtual |
operator !=
Definition at line 554 of file ViewMapIterators.h.
|
inlinevirtual |
Returns a pointer to the pointed ViewEdge.
Definition at line 481 of file ViewMapIterators.h.
References _edge.
Referenced by operator->().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 492 of file ViewMapIterators.h.
References increment().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 499 of file ViewMapIterators.h.
References increment().
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 514 of file ViewMapIterators.h.
References decrement().
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 521 of file ViewMapIterators.h.
References decrement().
|
inlinevirtual |
Definition at line 486 of file ViewMapIterators.h.
References operator*().
|
inlinevirtual |
|
inline |
Sets the first ViewEdge used for the iteration.
Definition at line 457 of file ViewMapIterators.h.
References _begin.
|
inline |
Sets the current pointed ViewEdge.
Definition at line 445 of file ViewMapIterators.h.
References _edge.
|
inline |
Sets the orientation of the pointed ViewEdge in the iteration.
Definition at line 469 of file ViewMapIterators.h.
References _orientation.
|
protected |
Definition at line 562 of file ViewMapIterators.h.
Referenced by getBegin(), isBegin(), setBegin(), ViewEdgeIterator(), and ViewEdgeIterator().
|
protected |
Definition at line 561 of file ViewMapIterators.h.
Referenced by Freestyle::ChainingIterator::decrement(), getCurrentEdge(), Freestyle::ChainingIterator::getVertex(), Freestyle::ChainingIterator::increment(), isBegin(), isEnd(), operator*(), operator==(), setCurrentEdge(), ViewEdgeIterator(), and ViewEdgeIterator().
|
protected |
Definition at line 560 of file ViewMapIterators.h.
Referenced by changeOrientation(), Freestyle::ChainingIterator::decrement(), getOrientation(), Freestyle::ChainingIterator::getVertex(), Freestyle::ChainingIterator::increment(), setOrientation(), ViewEdgeIterator(), and ViewEdgeIterator().