|
Blender V5.0
|
#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 401 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 411 of file ViewMapIterators.h.
References _begin, _edge, _orientation, and begin().
Referenced by Freestyle::ChainingIterator::ChainingIterator(), Freestyle::ChainingIterator::ChainingIterator(), operator!=(), operator++(), operator++(), operator--(), operator--(), operator==(), and ViewEdgeIterator().
|
inline |
Copy constructor
Definition at line 419 of file ViewMapIterators.h.
References _begin, _edge, _orientation, and ViewEdgeIterator().
|
inlinevirtual |
Definition at line 426 of file ViewMapIterators.h.
|
inline |
Changes the current orientation.
Definition at line 471 of file ViewMapIterators.h.
References _orientation.
|
inlinevirtual |
decrements.
Reimplemented from Freestyle::Iterator.
Reimplemented in Freestyle::ChainingIterator.
Definition at line 525 of file ViewMapIterators.h.
Referenced by operator--(), and operator--().
|
inline |
Returns the first ViewEdge used for the iteration.
Definition at line 447 of file ViewMapIterators.h.
References _begin.
|
inline |
Returns the current pointed ViewEdge.
Definition at line 435 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 429 of file ViewMapIterators.h.
|
inline |
Gets the orientation of the pointed ViewEdge in the iteration.
Definition at line 459 of file ViewMapIterators.h.
References _orientation.
Referenced by Freestyle::Operators::bidirectionalChain(), Freestyle::Operators::bidirectionalChain(), Freestyle::Operators::chain(), and Freestyle::Operators::chain().
|
inlinevirtual |
increments.
Reimplemented from Freestyle::Iterator.
Reimplemented in Freestyle::ChainingIterator.
Definition at line 503 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 532 of file ViewMapIterators.h.
|
inlinevirtual |
Returns true if the pointed ViewEdge* equals 0.
Reimplemented from Freestyle::Iterator.
Definition at line 538 of file ViewMapIterators.h.
References _edge.
Referenced by Freestyle::Operators::bidirectionalChain(), Freestyle::Operators::bidirectionalChain(), Freestyle::Operators::chain(), and Freestyle::Operators::chain().
|
inlinevirtual |
|
inlinevirtual |
Returns a pointer to the pointed ViewEdge.
Definition at line 477 of file ViewMapIterators.h.
References _edge.
Referenced by operator->().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 488 of file ViewMapIterators.h.
References increment(), and ViewEdgeIterator().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 495 of file ViewMapIterators.h.
References increment(), and ViewEdgeIterator().
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 510 of file ViewMapIterators.h.
References decrement(), and ViewEdgeIterator().
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 517 of file ViewMapIterators.h.
References decrement(), and ViewEdgeIterator().
|
inlinevirtual |
Definition at line 482 of file ViewMapIterators.h.
References operator*().
|
inlinevirtual |
operator ==
Definition at line 544 of file ViewMapIterators.h.
References _edge, and ViewEdgeIterator().
|
inline |
Sets the first ViewEdge used for the iteration.
Definition at line 453 of file ViewMapIterators.h.
References _begin, and begin().
Referenced by Freestyle::Operators::bidirectionalChain(), Freestyle::Operators::bidirectionalChain(), Freestyle::Operators::chain(), and Freestyle::Operators::chain().
|
inline |
Sets the current pointed ViewEdge.
Definition at line 441 of file ViewMapIterators.h.
References _edge.
Referenced by Freestyle::Operators::bidirectionalChain(), Freestyle::Operators::bidirectionalChain(), Freestyle::Operators::chain(), and Freestyle::Operators::chain().
|
inline |
Sets the orientation of the pointed ViewEdge in the iteration.
Definition at line 465 of file ViewMapIterators.h.
References _orientation.
Referenced by Freestyle::Operators::bidirectionalChain(), and Freestyle::Operators::bidirectionalChain().
|
protected |
Definition at line 558 of file ViewMapIterators.h.
Referenced by getBegin(), isBegin(), setBegin(), ViewEdgeIterator(), and ViewEdgeIterator().
|
protected |
Definition at line 557 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 556 of file ViewMapIterators.h.
Referenced by changeOrientation(), Freestyle::ChainingIterator::decrement(), getOrientation(), Freestyle::ChainingIterator::getVertex(), Freestyle::ChainingIterator::increment(), setOrientation(), ViewEdgeIterator(), and ViewEdgeIterator().