h o m e | d o c u m e n t a t i o n | c l a s s h i e r a r c h y |
#include <ViewMapIterators.h>
Inheritance diagram for ViewEdgeIterator:
Public Member Functions | |
ViewEdgeIterator (ViewEdge *begin=0, bool orientation=true) | |
ViewEdgeIterator (const ViewEdgeIterator &it) | |
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 ViewEdgeIterator & | operator++ () |
virtual ViewEdgeIterator | operator++ (int) |
virtual void | increment () |
virtual ViewEdgeIterator & | operator-- () |
virtual ViewEdgeIterator | operator-- (int) |
virtual void | decrement () |
virtual bool | isBegin () const |
virtual bool | isEnd () const |
virtual bool | operator== (ViewEdgeIterator &it) const |
virtual bool | operator!= (ViewEdgeIterator &it) const |
ViewEdgeIterator | ( | ViewEdge * | begin = 0 , |
|
bool | orientation = true | |||
) | [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. |
ViewEdgeIterator | ( | const ViewEdgeIterator & | it | ) | [inline] |
Copy constructor
virtual string getExactTypeName | ( | ) | const [inline, virtual] |
Returns the string "ViewEdgeIterator"
Reimplemented in ChainingIterator, ChainSilhouetteIterator, and ChainPredicateIterator.
bool getOrientation | ( | ) | const [inline] |
Gets the orientation of the pointed ViewEdge in the iteration.
void setOrientation | ( | bool | orientation | ) | [inline] |
Sets the orientation of the pointed ViewEdge in the iteration.
void changeOrientation | ( | ) | [inline] |
Changes the current orientation.
virtual ViewEdgeIterator& operator++ | ( | ) | [inline, virtual] |
Increments. In the scripting language, call "increment()".
virtual ViewEdgeIterator operator++ | ( | int | ) | [inline, virtual] |
Increments. In the scripting language, call "increment()".
virtual void increment | ( | ) | [inline, virtual] |
increments.
Reimplemented in ChainingIterator.
virtual ViewEdgeIterator& operator-- | ( | ) | [inline, virtual] |
Decrements. In the scripting language, call "decrement()".
virtual ViewEdgeIterator operator-- | ( | int | ) | [inline, virtual] |
Decrements. In the scripting language, call "decrement()".
virtual void decrement | ( | ) | [inline, virtual] |
decrements.
Reimplemented in ChainingIterator.
virtual bool isBegin | ( | ) | const [inline, virtual] |
Returns true if the pointed ViewEdge is the first one used for the iteration.
virtual bool isEnd | ( | ) | const [inline, virtual] |
Returns true if the pointed ViewEdge* equals 0.
virtual bool operator== | ( | ViewEdgeIterator & | it | ) | const [inline, virtual] |
operator ==
virtual bool operator!= | ( | ViewEdgeIterator & | it | ) | const [inline, virtual] |
operator !=