From 049c9968468a8bfa6dd6d93e9fd49a8f87034ab2 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 25 Oct 2012 13:16:03 +0000 Subject: [PATCH] Removed all the UberXXX members from the various components. No more needed since many years. Still there just because we are quite lazy... --- vcg/connectors/hedge.h | 3 --- vcg/connectors/hedge_component.h | 3 --- vcg/simplex/vertex/base.h | 3 --- 3 files changed, 9 deletions(-) diff --git a/vcg/connectors/hedge.h b/vcg/connectors/hedge.h index 62f1ca44..fe1c0a5a 100644 --- a/vcg/connectors/hedge.h +++ b/vcg/connectors/hedge.h @@ -100,9 +100,6 @@ public: USER0 = 0x0200 // First user bit }; - inline int & UberFlags () { return this->Flags(); } - inline int UberFlags() const { return this->Flags(); } - bool IsD() const {return (this->Flags() & DELETED) != 0;} /// checks if the vertex is deleted bool IsR() const {return (this->Flags() & NOTREAD) == 0;} /// checks if the vertex is readable bool IsW() const {return (this->Flags() & NOTWRITE)== 0;}/// checks if the vertex is modifiable diff --git a/vcg/connectors/hedge_component.h b/vcg/connectors/hedge_component.h index d78b7175..bf3607d6 100644 --- a/vcg/connectors/hedge_component.h +++ b/vcg/connectors/hedge_component.h @@ -83,9 +83,6 @@ All the Components that can be added to a vertex should be defined in the namesp // inline const typename T::CoordType & cP0( const int j ) const { return cV(j)->P();} // inline const typename T::CoordType & cP1( const int j ) const { return cV((j+1)%2)->P();} // -// inline typename T::VertexType * & UberV( const int j ) { assert(j>=0 && j<2); return v[j]; } -// inline const typename T::VertexType * const & UberV( const int j ) const { assert(j>=0 && j<2); return v[j]; } -// // template // void ImportData(const LeftF & leftF){ V(0) = NULL; V(1) = NULL; V(2) = NULL; T::ImportData(leftF);} // diff --git a/vcg/simplex/vertex/base.h b/vcg/simplex/vertex/base.h index 9cede68a..80cba3a7 100644 --- a/vcg/simplex/vertex/base.h +++ b/vcg/simplex/vertex/base.h @@ -103,9 +103,6 @@ public: BORDER = 0x0100, // Border Flag USER0 = 0x0200 // First user bit }; - - inline int & UberFlags () { return this->Flags(); } - inline int UberFlags() const { return this->Flags(); } bool IsD() const {return (this->Flags() & DELETED) != 0;} /// checks if the vertex is deleted bool IsR() const {return (this->Flags() & NOTREAD) == 0;} /// checks if the vertex is readable