Made public the default constructor of PerVertexAttributeHandle, PerFaceAttributeHandle.

I hope that it was done private by mistake...
This commit is contained in:
Paolo Cignoni 2009-06-07 08:55:44 +00:00
parent b39afe0c18
commit b05e5d1184
1 changed files with 6 additions and 3 deletions

View File

@ -271,20 +271,23 @@ class TriMesh: public TriMeshEdgeHolder<VertContainerType,FaceContainerType,Edge
template <class ATTR_TYPE> template <class ATTR_TYPE>
class PerVertexAttributeHandle: public AttributeHandle<ATTR_TYPE,VertContainer>{ class PerVertexAttributeHandle: public AttributeHandle<ATTR_TYPE,VertContainer>{
public:
PerVertexAttributeHandle():AttributeHandle<ATTR_TYPE,VertContainer>(){} PerVertexAttributeHandle():AttributeHandle<ATTR_TYPE,VertContainer>(){}
public: PerVertexAttributeHandle( void *ah,const int & n):AttributeHandle<ATTR_TYPE,VertContainer>(ah,n){}; PerVertexAttributeHandle( void *ah,const int & n):AttributeHandle<ATTR_TYPE,VertContainer>(ah,n){};
}; };
template <class ATTR_TYPE> template <class ATTR_TYPE>
class PerFaceAttributeHandle: public AttributeHandle<ATTR_TYPE,FaceContainer>{ class PerFaceAttributeHandle: public AttributeHandle<ATTR_TYPE,FaceContainer>{
public:
PerFaceAttributeHandle():AttributeHandle<ATTR_TYPE,FaceContainer>(){} PerFaceAttributeHandle():AttributeHandle<ATTR_TYPE,FaceContainer>(){}
public: PerFaceAttributeHandle( void *ah,const int & n):AttributeHandle<ATTR_TYPE,FaceContainer>(ah,n){}; PerFaceAttributeHandle( void *ah,const int & n):AttributeHandle<ATTR_TYPE,FaceContainer>(ah,n){};
}; };
template <class ATTR_TYPE> template <class ATTR_TYPE>
class PerEdgeAttributeHandle: public AttributeHandle<ATTR_TYPE,EdgeContainer>{ class PerEdgeAttributeHandle: public AttributeHandle<ATTR_TYPE,EdgeContainer>{
public:
PerEdgeAttributeHandle():AttributeHandle<ATTR_TYPE,EdgeContainer>(){} PerEdgeAttributeHandle():AttributeHandle<ATTR_TYPE,EdgeContainer>(){}
public: PerEdgeAttributeHandle( void *ah,const int & n):AttributeHandle<ATTR_TYPE,EdgeContainer>(ah,n){}; PerEdgeAttributeHandle( void *ah,const int & n):AttributeHandle<ATTR_TYPE,EdgeContainer>(ah,n){};
}; };
template <class ATTR_TYPE> template <class ATTR_TYPE>