Blender  V3.3
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
Freestyle::ViewVertexInternal::orientedViewEdgeIterator Class Reference

#include <ViewMapIterators.h>

Inheritance diagram for Freestyle::ViewVertexInternal::orientedViewEdgeIterator:
Freestyle::Iterator

Public Types

typedef TVertex::edge_pointers_container edge_pointers_container
 
typedef NonTVertex::edges_container edges_container
 

Public Member Functions

 orientedViewEdgeIterator ()
 
 orientedViewEdgeIterator (Nature::VertexNature iNature)
 
 orientedViewEdgeIterator (const orientedViewEdgeIterator &iBrother)
 
virtual ~orientedViewEdgeIterator ()
 
 orientedViewEdgeIterator (edge_pointers_container::iterator begin, edge_pointers_container::iterator end, edge_pointers_container::iterator iter)
 
 orientedViewEdgeIterator (edges_container::iterator begin, edges_container::iterator end, edges_container::iterator iter)
 
virtual bool isBegin () const
 
virtual bool isEnd () const
 
virtual orientedViewEdgeIteratoroperator++ ()
 
virtual orientedViewEdgeIterator operator++ (int)
 
virtual bool operator!= (const orientedViewEdgeIterator &b) const
 
virtual bool operator== (const orientedViewEdgeIterator &b) const
 
virtual ViewVertex::directedViewEdgeoperator* () const
 
virtual ViewVertex::directedViewEdgeoperator-> () const
 
virtual int increment ()
 
- Public Member Functions inherited from Freestyle::Iterator
virtual ~Iterator ()
 
virtual string getExactTypeName () const
 
virtual int decrement ()
 

Protected Attributes

Nature::VertexNature _Nature
 
edge_pointers_container::iterator _tbegin
 
edge_pointers_container::iterator _tend
 
edge_pointers_container::iterator _tvertex_iter
 
edges_container::iterator _begin
 
edges_container::iterator _end
 
edges_container::iterator _nontvertex_iter
 

Friends

class ViewVertex
 
class TVertex
 
class NonTVertex
 
class ViewEdge
 

Detailed Description

Class representing an iterator over oriented ViewEdges around a ViewVertex. This iterator allows a CCW iteration (in the image plane). An instance of an orientedViewEdgeIterator can only be obtained from a ViewVertex by calling edgesBegin() or edgesEnd().

Definition at line 38 of file ViewMapIterators.h.

Member Typedef Documentation

◆ edge_pointers_container

Definition at line 46 of file ViewMapIterators.h.

◆ edges_container

Definition at line 47 of file ViewMapIterators.h.

Constructor & Destructor Documentation

◆ orientedViewEdgeIterator() [1/5]

Freestyle::ViewVertexInternal::orientedViewEdgeIterator::orientedViewEdgeIterator ( )
inline

Default constructor

Definition at line 63 of file ViewMapIterators.h.

◆ orientedViewEdgeIterator() [2/5]

Freestyle::ViewVertexInternal::orientedViewEdgeIterator::orientedViewEdgeIterator ( Nature::VertexNature  iNature)
inline

Definition at line 67 of file ViewMapIterators.h.

References _Nature.

◆ orientedViewEdgeIterator() [3/5]

Freestyle::ViewVertexInternal::orientedViewEdgeIterator::orientedViewEdgeIterator ( const orientedViewEdgeIterator iBrother)
inline

Copy constructor

Definition at line 73 of file ViewMapIterators.h.

References _begin, _end, _Nature, _nontvertex_iter, _tbegin, _tend, _tvertex_iter, and Freestyle::Nature::T_VERTEX.

◆ ~orientedViewEdgeIterator()

virtual Freestyle::ViewVertexInternal::orientedViewEdgeIterator::~orientedViewEdgeIterator ( )
inlinevirtual

Definition at line 88 of file ViewMapIterators.h.

◆ orientedViewEdgeIterator() [4/5]

Freestyle::ViewVertexInternal::orientedViewEdgeIterator::orientedViewEdgeIterator ( edge_pointers_container::iterator  begin,
edge_pointers_container::iterator  end,
edge_pointers_container::iterator  iter 
)
inline

Definition at line 93 of file ViewMapIterators.h.

References _Nature, _tbegin, _tend, _tvertex_iter, and Freestyle::Nature::T_VERTEX.

◆ orientedViewEdgeIterator() [5/5]

Freestyle::ViewVertexInternal::orientedViewEdgeIterator::orientedViewEdgeIterator ( edges_container::iterator  begin,
edges_container::iterator  end,
edges_container::iterator  iter 
)
inline

Member Function Documentation

◆ increment()

virtual int Freestyle::ViewVertexInternal::orientedViewEdgeIterator::increment ( )
inlinevirtual

increments.

Reimplemented from Freestyle::Iterator.

Definition at line 198 of file ViewMapIterators.h.

References _Nature, _nontvertex_iter, _tend, _tvertex_iter, and Freestyle::Nature::T_VERTEX.

Referenced by operator++().

◆ isBegin()

virtual bool Freestyle::ViewVertexInternal::orientedViewEdgeIterator::isBegin ( ) const
inlinevirtual

Tells whether the ViewEdge pointed by this iterator is the first one of the iteration list or not.

Reimplemented from Freestyle::Iterator.

Definition at line 116 of file ViewMapIterators.h.

References _begin, _Nature, _nontvertex_iter, _tbegin, _tvertex_iter, and Freestyle::Nature::T_VERTEX.

Referenced by Freestyle::AdjacencyIterator::isBegin().

◆ isEnd()

virtual bool Freestyle::ViewVertexInternal::orientedViewEdgeIterator::isEnd ( ) const
inlinevirtual

Tells whether the ViewEdge pointed by this iterator is after the last one of the iteration list or not.

Reimplemented from Freestyle::Iterator.

Definition at line 128 of file ViewMapIterators.h.

References _end, _Nature, _nontvertex_iter, _tend, _tvertex_iter, and Freestyle::Nature::T_VERTEX.

Referenced by Freestyle::AdjacencyIterator::AdjacencyIterator(), Freestyle::AdjacencyIterator::increment(), and Freestyle::AdjacencyIterator::isEnd().

◆ operator!=()

operator !=

Definition at line 158 of file ViewMapIterators.h.

References _Nature, _nontvertex_iter, _tvertex_iter, usdtokens::b(), and Freestyle::Nature::T_VERTEX.

◆ operator*()

virtual ViewVertex::directedViewEdge& Freestyle::ViewVertexInternal::orientedViewEdgeIterator::operator* ( ) const
inlinevirtual

Returns a reference to the pointed orientedViewEdge. In the scripting language, you must call "getObject()" instead.

Definition at line 178 of file ViewMapIterators.h.

References _Nature, _nontvertex_iter, _tvertex_iter, and Freestyle::Nature::T_VERTEX.

Referenced by operator->().

◆ operator++() [1/2]

virtual orientedViewEdgeIterator& Freestyle::ViewVertexInternal::orientedViewEdgeIterator::operator++ ( )
inlinevirtual

Increments. In the scripting language, call "increment()".

Definition at line 141 of file ViewMapIterators.h.

References increment().

◆ operator++() [2/2]

virtual orientedViewEdgeIterator Freestyle::ViewVertexInternal::orientedViewEdgeIterator::operator++ ( int  )
inlinevirtual

Definition at line 149 of file ViewMapIterators.h.

References increment().

◆ operator->()

virtual ViewVertex::directedViewEdge* Freestyle::ViewVertexInternal::orientedViewEdgeIterator::operator-> ( ) const
inlinevirtual

Returns a pointer to the pointed orientedViewEdge. Can't be called in the scripting language.

Definition at line 191 of file ViewMapIterators.h.

References operator*().

◆ operator==()

virtual bool Freestyle::ViewVertexInternal::orientedViewEdgeIterator::operator== ( const orientedViewEdgeIterator b) const
inlinevirtual

operator ==

Definition at line 169 of file ViewMapIterators.h.

References usdtokens::b().

Friends And Related Function Documentation

◆ NonTVertex

friend class NonTVertex
friend

Definition at line 42 of file ViewMapIterators.h.

◆ TVertex

friend class TVertex
friend

Definition at line 41 of file ViewMapIterators.h.

◆ ViewEdge

friend class ViewEdge
friend

Definition at line 43 of file ViewMapIterators.h.

◆ ViewVertex

friend class ViewVertex
friend

Definition at line 40 of file ViewMapIterators.h.

Member Data Documentation

◆ _begin

edges_container::iterator Freestyle::ViewVertexInternal::orientedViewEdgeIterator::_begin
protected

Definition at line 57 of file ViewMapIterators.h.

Referenced by isBegin(), and orientedViewEdgeIterator().

◆ _end

edges_container::iterator Freestyle::ViewVertexInternal::orientedViewEdgeIterator::_end
protected

Definition at line 58 of file ViewMapIterators.h.

Referenced by isEnd(), and orientedViewEdgeIterator().

◆ _Nature

Nature::VertexNature Freestyle::ViewVertexInternal::orientedViewEdgeIterator::_Nature
protected

◆ _nontvertex_iter

edges_container::iterator Freestyle::ViewVertexInternal::orientedViewEdgeIterator::_nontvertex_iter
protected

◆ _tbegin

edge_pointers_container::iterator Freestyle::ViewVertexInternal::orientedViewEdgeIterator::_tbegin
protected

Definition at line 52 of file ViewMapIterators.h.

Referenced by isBegin(), and orientedViewEdgeIterator().

◆ _tend

edge_pointers_container::iterator Freestyle::ViewVertexInternal::orientedViewEdgeIterator::_tend
protected

Definition at line 53 of file ViewMapIterators.h.

Referenced by increment(), isEnd(), and orientedViewEdgeIterator().

◆ _tvertex_iter

edge_pointers_container::iterator Freestyle::ViewVertexInternal::orientedViewEdgeIterator::_tvertex_iter
protected

The documentation for this class was generated from the following file: