[Namespaces changes]

vert->vertex 

clean up of some namespaces to comply the following naming:

Complexes (3 letters namespaces):
order 0 (point cloud    ) :vrt
order 1 (edge meshes)     :edg
order 2 (triangle meshes) :tri
order 3 (triangle meshes) :tet

Simplexes (4 letters namespaces):
order 0 (vertex)      :vert 
order 1 (edge)        :edge 
order 2 (triangle)    :triangle
order 3 (tetrahedron) :tetrahedron
This commit is contained in:
ganovelli 2008-09-30 10:41:41 +00:00
parent 811b263e33
commit ea7b394eb3
1 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ First working version!
#include <vcg/space/color4.h> #include <vcg/space/color4.h>
namespace vcg { namespace vcg {
namespace vert { namespace vertex {
/* /*
Some naming Rules Some naming Rules
All the Components that can be added to a vertex should be defined in the namespace vert: All the Components that can be added to a vertex should be defined in the namespace vert:
@ -333,7 +333,7 @@ private:
ColorType _color; ColorType _color;
}; };
template <class TT> class Color4b: public vert::Color<vcg::Color4b, TT> { template <class TT> class Color4b: public Color<vcg::Color4b, TT> {
public: static void Name(std::vector<std::string> & name){name.push_back(std::string("Color4b"));TT::Name(name);} public: static void Name(std::vector<std::string> & name){name.push_back(std::string("Color4b"));TT::Name(name);}
}; };