From d26833fac1b94497b05121af72a853f64bfa1651 Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Wed, 6 Jun 2007 15:30:00 +0000 Subject: [PATCH] Deleted redundant EdgePlane attribute: it is already defined in component_rt --- vcg/simplex/faceplus/component_occ.h | 34 +++------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/vcg/simplex/faceplus/component_occ.h b/vcg/simplex/faceplus/component_occ.h index 65d50ccd..35bc872d 100644 --- a/vcg/simplex/faceplus/component_occ.h +++ b/vcg/simplex/faceplus/component_occ.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.6 2007/03/12 15:37:19 tarini +Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD. + Revision 1.5 2007/01/18 01:29:48 cignoni commented UberP access method (syntax errors) @@ -186,37 +189,6 @@ public: template class FFAdjOcc : public FFAdjOccBase,T>{}; -/*----------------------------- EdgePlane -----------------------------------*/ - -// questo tipo serve per tenere tutte le informazioni sull'adiacenza dentro una -// singola classe -template -struct EdgePlaneSup { - vcg::Point3 edge[3]; - vcg::Plane3 plane[3]; - }; - -template class EdgePlaneOcc: public T { -public: - - typedef A EdgePlaneType; - - Point3 &Edge(const int j) { - return (CAT< vector_occ,EdgePlaneSup >::Instance()->Get((FaceType*)this)).edge[j];} - - Point3 const Edge(const int j) const { - return (CAT< vector_occ,EdgePlaneSup >::Instance()->Get((FaceType*)this)).edge[j];} - - vcg::Plane3 Plane(){ - return (CAT< vector_occ,EdgePlaneSup >::Instance()->Get((FaceType*)this)).plane;} - - static bool HasEdgePlane() { return true; } - static bool HasEdgePlaneOcc() { return true; } - -}; - -template class EdgePlane : public EdgePlaneOcc,T>{}; - template class VertexRefOcc: public T { public: // typedef typename T::VertexType VertexType;