Blender
V3.3
|
#include <ViewMapIterators.h>
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 |
![]() | |
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 409 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 419 of file ViewMapIterators.h.
References _begin, _edge, and _orientation.
|
inline |
Copy constructor
Definition at line 427 of file ViewMapIterators.h.
References _begin, _edge, and _orientation.
|
inlinevirtual |
Definition at line 434 of file ViewMapIterators.h.
|
inline |
Changes the current orientation.
Definition at line 481 of file ViewMapIterators.h.
References _orientation.
|
inlinevirtual |
decrements.
Reimplemented from Freestyle::Iterator.
Reimplemented in Freestyle::ChainingIterator.
Definition at line 535 of file ViewMapIterators.h.
Referenced by operator--().
|
inline |
Returns the first ViewEdge used for the iteration.
Definition at line 457 of file ViewMapIterators.h.
References _begin.
|
inline |
Returns the current pointed ViewEdge.
Definition at line 445 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 439 of file ViewMapIterators.h.
|
inline |
Gets the orientation of the pointed ViewEdge in the iteration.
Definition at line 469 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 513 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 542 of file ViewMapIterators.h.
|
inlinevirtual |
Returns true if the pointed ViewEdge* equals 0.
Reimplemented from Freestyle::Iterator.
Definition at line 548 of file ViewMapIterators.h.
References _edge.
Referenced by Freestyle::Operators::bidirectionalChain(), and Freestyle::Operators::chain().
|
inlinevirtual |
operator !=
Definition at line 560 of file ViewMapIterators.h.
|
inlinevirtual |
Returns a pointer to the pointed ViewEdge.
Definition at line 487 of file ViewMapIterators.h.
References _edge.
Referenced by operator->().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 498 of file ViewMapIterators.h.
References increment().
|
inlinevirtual |
Increments. In the scripting language, call "increment()".
Definition at line 505 of file ViewMapIterators.h.
References increment().
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 520 of file ViewMapIterators.h.
References decrement().
|
inlinevirtual |
Decrements. In the scripting language, call "decrement()".
Definition at line 527 of file ViewMapIterators.h.
References decrement().
|
inlinevirtual |
Definition at line 492 of file ViewMapIterators.h.
References operator*().
|
inlinevirtual |
Sets the first ViewEdge used for the iteration.
Definition at line 463 of file ViewMapIterators.h.
References _begin.
Referenced by Freestyle::Operators::bidirectionalChain(), and Freestyle::Operators::chain().
Sets the current pointed ViewEdge.
Definition at line 451 of file ViewMapIterators.h.
References _edge.
Referenced by Freestyle::Operators::bidirectionalChain(), and Freestyle::Operators::chain().
Sets the orientation of the pointed ViewEdge in the iteration.
Definition at line 475 of file ViewMapIterators.h.
References _orientation.
Referenced by Freestyle::Operators::bidirectionalChain().
|
protected |
Definition at line 568 of file ViewMapIterators.h.
Referenced by getBegin(), isBegin(), setBegin(), and ViewEdgeIterator().
|
protected |
Definition at line 567 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 566 of file ViewMapIterators.h.
Referenced by changeOrientation(), Freestyle::ChainingIterator::decrement(), getOrientation(), Freestyle::ChainingIterator::getVertex(), Freestyle::ChainingIterator::increment(), setOrientation(), and ViewEdgeIterator().