diff options
Diffstat (limited to 'source/blender/freestyle/intern/view_map')
-rw-r--r-- | source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h | 18 | ||||
-rw-r--r-- | source/blender/freestyle/intern/view_map/ViewMapIterators.h | 12 |
2 files changed, 15 insertions, 15 deletions
diff --git a/source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h b/source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h index a8c046c4dc1..8e98cabd75b 100644 --- a/source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h +++ b/source/blender/freestyle/intern/view_map/ViewMapAdvancedIterators.h @@ -53,21 +53,21 @@ namespace Freestyle { namespace ViewVertexInternal { -class edge_const_traits : public Const_traits< ::ViewVertex::directedViewEdge> +class edge_const_traits : public Const_traits<ViewVertex::directedViewEdge> { public: - typedef vector< ::ViewVertex::directedViewEdge> edges_container; + typedef vector<ViewVertex::directedViewEdge> edges_container; typedef edges_container::const_iterator edges_container_iterator; - typedef vector< ::ViewVertex::directedViewEdge*> edge_pointers_container; + typedef vector<ViewVertex::directedViewEdge*> edge_pointers_container; typedef edge_pointers_container::const_iterator edge_pointers_container_iterator; }; -class edge_nonconst_traits : public Nonconst_traits< ::ViewVertex::directedViewEdge> +class edge_nonconst_traits : public Nonconst_traits<ViewVertex::directedViewEdge> { public: - typedef vector< ::ViewVertex::directedViewEdge> edges_container; + typedef vector<ViewVertex::directedViewEdge> edges_container; typedef edges_container::iterator edges_container_iterator; - typedef vector< ::ViewVertex::directedViewEdge*> edge_pointers_container; + typedef vector<ViewVertex::directedViewEdge*> edge_pointers_container; typedef edge_pointers_container::iterator edge_pointers_container_iterator; }; @@ -377,14 +377,14 @@ public: _first = 0; } - inline edge_iterator_base(const edge_iterator_base<Nonconst_traits< ::ViewEdge*> >& iBrother) : parent_class() + inline edge_iterator_base(const edge_iterator_base<Nonconst_traits<ViewEdge*> >& iBrother) : parent_class() { _ViewEdge = iBrother._ViewEdge; _first = iBrother._first; _orientation = iBrother._orientation; } - inline edge_iterator_base(const edge_iterator_base<Const_traits< ::ViewEdge*> >& iBrother) : parent_class() + inline edge_iterator_base(const edge_iterator_base<Const_traits<ViewEdge*> >& iBrother) : parent_class() { _ViewEdge = iBrother._ViewEdge; _first = iBrother._first; @@ -521,7 +521,7 @@ public: value_type _FEdgeB; // last fedge of the view edge public: - friend class ::ViewEdge; + friend class ViewEdge; friend class fedge_iterator; inline fedge_iterator_base() : parent_class() {} diff --git a/source/blender/freestyle/intern/view_map/ViewMapIterators.h b/source/blender/freestyle/intern/view_map/ViewMapIterators.h index 2794d9028d2..469c2c3b29c 100644 --- a/source/blender/freestyle/intern/view_map/ViewMapIterators.h +++ b/source/blender/freestyle/intern/view_map/ViewMapIterators.h @@ -66,8 +66,8 @@ public: friend class ViewEdge; // FIXME - typedef ::TVertex::edge_pointers_container edge_pointers_container; - typedef ::NonTVertex::edges_container edges_container; + typedef TVertex::edge_pointers_container edge_pointers_container; + typedef NonTVertex::edges_container edges_container; protected: Nature::VertexNature _Nature; // the nature of the underlying vertex @@ -184,7 +184,7 @@ public: /*! Returns a reference to the pointed orientedViewEdge. * In the scripting language, you must call "getObject()" instead. */ - virtual ::ViewVertex::directedViewEdge& operator*() const + virtual ViewVertex::directedViewEdge& operator*() const { if (_Nature & Nature::T_VERTEX) //return _tvertex_iter; @@ -195,7 +195,7 @@ public: /*! Returns a pointer to the pointed orientedViewEdge. * Can't be called in the scripting language. */ - virtual ::ViewVertex::directedViewEdge *operator->() const + virtual ViewVertex::directedViewEdge *operator->() const { return &(operator*()); } @@ -205,11 +205,11 @@ public: virtual inline int increment() { if (_Nature & Nature::T_VERTEX) { - ::ViewVertex::directedViewEdge tmp = (**_tvertex_iter); + ViewVertex::directedViewEdge tmp = (**_tvertex_iter); ++_tvertex_iter; if (_tvertex_iter != _tend) { // FIXME : pquoi deja ? - ::ViewVertex::directedViewEdge tmp2 = (**_tvertex_iter); + ViewVertex::directedViewEdge tmp2 = (**_tvertex_iter); if (tmp2.first == tmp.first) ++_tvertex_iter; } |