[SIMPLEXplus promotion]

This modification removes the old way to define simplexes (already deprecated and unsupported).
In the following SIMPLEX = [vertex|edge|face|tetrahedron]

All the stuff that was in vcg/simplex/SIMPLEXplus/ has now been promoted to vcg/simplex/

Details:
- the folder vcg/simplex/SIMPLEX/with has been removed
- the file vcg/simplex/SIMPLEX/base.h has been renamed into  vcg/simplex/SIMPLEX/base_old.h 
- the content of vcg/simplex/SIMPLEXplus/ has been moved into vcg/simplex/SIMPLEX/
- the folder vcg/simplex/SIMPLEXplus/ has been removed

Actions the update the  code using vcglib:
replace <vcg/simplex/SIMPLEXplus/*> with  <vcg/simplex/SIMPLEX/*> in every include
for MESHLAB users: already done along with this commit
This commit is contained in:
ganovelli 2008-12-19 10:43:36 +00:00
parent 157301b773
commit 35d0e58149
29 changed files with 141 additions and 140 deletions

View File

@ -44,11 +44,11 @@ just color and quality on the vertex
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
// Vertex, Face, Mesh and Grid definitions. // Vertex, Face, Mesh and Grid definitions.
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/vertexplus/component.h> #include <vcg/simplex/vertex/component.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/faceplus/component.h> #include <vcg/simplex/face/component.h>
#include <vcg/simplex/faceplus/component_rt.h> #include <vcg/simplex/face/component_rt.h>
class MyEdge; class MyEdge;
class CFace; class CFace;
class CVertex : public vcg::VertexSimp2<CVertex,MyEdge,CFace,vcg::vertex::Coord3d,vcg::vertex::Qualityf,vcg::vertex::Normal3d,vcg::vertex::Color4b,vcg::vertex::BitFlags> {}; class CVertex : public vcg::VertexSimp2<CVertex,MyEdge,CFace,vcg::vertex::Coord3d,vcg::vertex::Qualityf,vcg::vertex::Normal3d,vcg::vertex::Color4b,vcg::vertex::BitFlags> {};

View File

@ -1,8 +1,8 @@
#ifndef CLOTH_MESH_H #ifndef CLOTH_MESH_H
#define CLOTH_MESH_H #define CLOTH_MESH_H
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/face/pos.h> #include <vcg/simplex/face/pos.h>
#include <vcg/simplex/face/topology.h> #include <vcg/simplex/face/topology.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>

View File

@ -6,11 +6,11 @@
#include<vcg/space/color4.h> #include<vcg/space/color4.h>
#include<vcg/math/matrix44.h> #include<vcg/math/matrix44.h>
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/vertexplus/component.h> #include <vcg/simplex/vertex/component.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/faceplus/component.h> #include <vcg/simplex/face/component.h>
#include <vcg/simplex/faceplus/component_rt.h> #include <vcg/simplex/face/component_rt.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>
#include<vcg/complex/trimesh/create/platonic.h> #include<vcg/complex/trimesh/create/platonic.h>

View File

@ -7,9 +7,9 @@
// vcg headers // vcg headers
//#include<vcg/simplex/vertex/vertex.h> //#include<vcg/simplex/vertex/vertex.h>
//#include<vcg/simplex/face/with/rtfmfn.h> //#include<vcg/simplex/face/with/rtfmfn.h>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include<vcg/simplex/faceplus/component_rt.h> #include<vcg/simplex/face/component_rt.h>
#include<vcg/simplex/face/distance.h> #include<vcg/simplex/face/distance.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>

View File

@ -1,10 +1,10 @@
#include <stdio.h> #include <stdio.h>
#include <vcg/space/color4.h> #include <vcg/space/color4.h>
#include <vcg/space/index/grid_static_ptr.h> #include <vcg/space/index/grid_static_ptr.h>
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/vertexplus/component.h> #include <vcg/simplex/vertex/component.h>
#include <vcg/simplex/edgeplus/base.h> #include <vcg/simplex/edge/base.h>
#include <vcg/simplex/edgeplus/component.h> #include <vcg/simplex/edge/component.h>
#include <vcg/complex/edgemesh/base.h> #include <vcg/complex/edgemesh/base.h>
#include <vcg/complex/edgemesh/allocate.h> #include <vcg/complex/edgemesh/allocate.h>
#include <vcg/complex/edgemesh/update/bounding.h> #include <vcg/complex/edgemesh/update/bounding.h>
@ -15,7 +15,7 @@
// //
class MyFace; class MyFace;
class MyEdge; class MyEdge;
class MyVertex : public vcg::VertexSimp2<MyVertex,MyEdge, MyFace,vcg::vert::BitFlags,vcg::vert::Coord3f> {}; class MyVertex : public vcg::VertexSimp2<MyVertex,MyEdge, MyFace,vcg::vertex::BitFlags,vcg::vertex::Coord3f> {};
class MyEdge : public vcg::EdgeSimp2<MyVertex,MyEdge, MyVertex,vcg::edge::Mark,vcg::edge::VertexRef,vcg::edge::BitFlags> {}; class MyEdge : public vcg::EdgeSimp2<MyVertex,MyEdge, MyVertex,vcg::edge::Mark,vcg::edge::VertexRef,vcg::edge::BitFlags> {};
class MyEdgeMesh: public vcg::edg::EdgeMesh< std::vector<MyVertex>, std::vector<MyEdge> > {}; class MyEdgeMesh: public vcg::edg::EdgeMesh< std::vector<MyVertex>, std::vector<MyEdge> > {};

View File

@ -28,8 +28,8 @@ the object rather than rotate it in front of the camera.
#include <vector> #include <vector>
/*include the base definition for the vertex, face, and meshes */ /*include the base definition for the vertex, face, and meshes */
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
/*include the algorihm that update bounding box and normals*/ /*include the algorihm that update bounding box and normals*/

View File

@ -38,8 +38,8 @@ Initial release.
#include <QtOpenGL/QGLWidget> #include <QtOpenGL/QGLWidget>
/// vcg imports /// vcg imports
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
#include <vcg/complex/trimesh/update/bounding.h> #include <vcg/complex/trimesh/update/bounding.h>
#include <vcg/complex/trimesh/update/normal.h> #include <vcg/complex/trimesh/update/normal.h>

View File

@ -43,10 +43,10 @@ Initial Relase
#include <vector> #include <vector>
/*include the base definition for the vertex */ /*include the base definition for the vertex */
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
/*include the base definition for the face */ /*include the base definition for the face */
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
/*include the base definition for the trimesh*/ /*include the base definition for the trimesh*/
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
@ -73,7 +73,7 @@ class CEdge; // dummy prototype never used
class CFace; class CFace;
/* define a vertex passing the attributes you want it to have. Each attributes has its own class. /* define a vertex passing the attributes you want it to have. Each attributes has its own class.
Check vcg/simplex/vertexplus/component.h to find out the existing attributes. Note: then you could Check vcg/simplex/vertex/component.h to find out the existing attributes. Note: then you could
also personalized attributes */ also personalized attributes */
class CVertex : public VertexSimp2< CVertex, CEdge, CFace, vertex::Coord3f, vertex::Normal3f >{}; class CVertex : public VertexSimp2< CVertex, CEdge, CFace, vertex::Coord3f, vertex::Normal3f >{};

View File

@ -1,8 +1,8 @@
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/vertexplus/component.h> #include<vcg/simplex/vertex/component.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include<vcg/simplex/faceplus/component.h> #include<vcg/simplex/face/component.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>
#include<vcg/complex/trimesh/allocate.h> #include<vcg/complex/trimesh/allocate.h>

View File

@ -4,8 +4,8 @@
//#include <vcg/simplex/face/with/af.h> //#include <vcg/simplex/face/with/af.h>
//#include <vcg/complex/trimesh/base.h> //#include <vcg/complex/trimesh/base.h>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include<vcg/simplex/face/topology.h> #include<vcg/simplex/face/topology.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>

View File

@ -1,51 +1,52 @@
#include<iostream> #include <vector>
#include<vcg/complex/trimesh/base.h> #include<vcg/simplex/vertex/base.h>//
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/component.h>
#include<vcg/simplex/vertexplus/component.h> #include<vcg/simplex/face/base.h>//
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/component.h>
#include<vcg/simplex/faceplus/component.h> #include<vcg/simplex/face/topology.h>//
#include<vcg/complex/trimesh/update/normal.h> #include<vcg/complex/trimesh/base.h>//
#include<vcg/complex/trimesh/create/platonic.h>
// input output
#include<vcg/space/color4.h> #include<wrap/io_trimesh/import.h>
#include<wrap/io_trimesh/export.h>//just in case
class AFace;
class AVertex; // topology computation
class AEdge; // dummy prototype never used #include<vcg/complex/trimesh/update/topology.h>//
class AVertex : public vcg::VertexSimp2< AVertex, AEdge, AFace, vcg::vertex::Coord3f>{}; #include<vcg/complex/trimesh/update/flag.h>//
class AFace : public vcg::FaceSimp2< AVertex, AEdge, AFace, vcg::face::VertexRef,vcg::face::Color4b,vcg::face::Normal3f> {};
// half edge iterators
class AMesh : public vcg::tri::TriMesh< std::vector<AVertex>, std::vector<AFace> > {}; //#include<vcg/simplex/face/pos.h>
class CFace; // normals and curvature
class CVertex; #include<vcg/complex/trimesh/update/normal.h> //class UpdateNormals
class CEdge; // dummy prototype never used #include<vcg/complex/trimesh/update/curvature.h> //class curvature
class CVertex : public vcg::VertexSimp2< CVertex, CEdge, CFace, vcg::vertex::Coord3f,vcg::vertex::Normal3f>{};
class CFace : public vcg::FaceSimp2< CVertex, CEdge, CFace, vcg::face::VertexRef, vcg::face::Normal3f> {}; using namespace vcg;
using namespace std;
class CMesh : public vcg::tri::TriMesh< std::vector<CVertex>, std::vector<CFace> > {};
class MyEdge; // dummy prototype
int main(int , char **) class MyFace;
{ class MyVertex;
AMesh am;
CMesh cm; class MyVertex : public VertexSimp2< MyVertex, MyEdge, MyFace, vertex::Coord3f, vertex::Normal3f, vertex::BitFlags >{};
vcg::tri::Tetrahedron(cm); class MyFace : public FaceSimp2 < MyVertex, MyEdge, MyFace, face::FFAdj, face::VertexRef, face::BitFlags > {};
vcg::tri::Tetrahedron(am); class MyMesh : public vcg::tri::TriMesh< vector<MyVertex>, vector<MyFace> > {};
std::cout << "Generated mesh has " << cm.vn << " vertices and " << cm.fn << " triangular faces" << std::endl; int main( int argc, char **argv ) {
MyMesh m;
/// Calculates both vertex and face normals. // this is the section with problems
/// The normal of a vertex v is the weigthed average of the normals of the faces incident on v. if(vcg::tri::io::ImporterPLY<MyMesh>::Open(m,argv[1])!=0)
/// normals are not normalized {
vcg::tri::UpdateNormals<CMesh>::PerVertexPerFace(cm); printf("Error reading file %s\n",argv[1]);
std::cout << "[cm mesh] Normal of face 0 is [" << cm.face[0].N()[0] << "," << cm.face[0].N()[1] << "," << cm.face[0].N()[2] << "]" << std::endl; exit(0);
std::cout << "[cm mesh] Normal of vertex 0 is [" << cm.vert[0].N()[0] << "," << cm.vert[0].N()[1] << "," << cm.vert[0].N()[2] << "]" << std::endl; } // from here no problems
/// Calculates face normals. vcg::tri::UpdateTopology<MyMesh>::FaceFace(m);
/// normals are not normalized vcg::tri::UpdateFlags<MyMesh>::FaceBorderFromFF(m);
vcg::tri::UpdateNormals<AMesh>::PerFace(am); vcg::tri::UpdateNormals<MyMesh>::PerVertexNormalized(m);
std::cout << "[am mesh] Normal of face 0 is [" << cm.face[0].N()[0] << "," << cm.face[0].N()[1] << "," << cm.face[0].N()[2] << "]" << std::endl; printf("Input mesh vn:%i fn:%i\n",m.vn,m.fn);
printf( "Mesh has %i vert and %i faces\n", m.vn, m.fn );
return 0;
} return 0;
}

View File

@ -1,9 +1,9 @@
#include <vector> #include <vector>
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/vertexplus/component.h> #include <vcg/simplex/vertex/component.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/faceplus/component.h> #include <vcg/simplex/face/component.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>

View File

@ -4,8 +4,8 @@
//#include <vcg/simplex/face/with/af.h> //#include <vcg/simplex/face/with/af.h>
//#include <vcg/complex/trimesh/base.h> //#include <vcg/complex/trimesh/base.h>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include<vcg/simplex/face/topology.h> #include<vcg/simplex/face/topology.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>

View File

@ -1,8 +1,8 @@
#include <vector> #include <vector>
#include <iostream> #include <iostream>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include<vcg/simplex/face/topology.h> #include<vcg/simplex/face/topology.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>
#include<vcg/complex/trimesh/hole.h> #include<vcg/complex/trimesh/hole.h>

View File

@ -3,10 +3,10 @@
using namespace std; using namespace std;
// VCG headers for triangular mesh processing // VCG headers for triangular mesh processing
#include<vcg/simplex/edgeplus/base.h> #include<vcg/simplex/edge/base.h>
#include<vcg/simplex/edgeplus/component.h> #include<vcg/simplex/edge/component.h>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
#include <vcg/complex/trimesh/update/topology.h> #include <vcg/complex/trimesh/update/topology.h>
#include <vcg/complex/trimesh/update/edges.h> #include <vcg/complex/trimesh/update/edges.h>

View File

@ -3,8 +3,8 @@
#include <vcg/space/point3.h> #include <vcg/space/point3.h>
#include <vcg/space/box3.h> #include <vcg/space/box3.h>
#include <vcg/math/perlin_noise.h> #include <vcg/math/perlin_noise.h>
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
#include <vcg/complex/trimesh/allocate.h> #include <vcg/complex/trimesh/allocate.h>
#include <vcg/complex/trimesh/create/marching_cubes.h> #include <vcg/complex/trimesh/create/marching_cubes.h>

View File

@ -1,7 +1,7 @@
#include <vector> #include <vector>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include<vcg/simplex/face/topology.h> #include<vcg/simplex/face/topology.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>

View File

@ -1,15 +1,15 @@
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include<vcg/simplex/face/topology.h> #include<vcg/simplex/face/topology.h>
#include<vcg/simplex/vertexplus/component_ocf.h> #include<vcg/simplex/vertex/component_ocf.h>
#include<vcg/simplex/faceplus/component_ocf.h> #include<vcg/simplex/face/component_ocf.h>
#include<vcg/simplex/vertexplus/component_occ.h> #include<vcg/simplex/vertex/component_occ.h>
#include<vcg/simplex/faceplus/component_occ.h> #include<vcg/simplex/face/component_occ.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>
#include<vcg/complex/trimesh/create/platonic.h> #include<vcg/complex/trimesh/create/platonic.h>

View File

@ -1,8 +1,8 @@
#include <vector> #include <vector>
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/vertexplus/component_ocf.h> #include <vcg/simplex/vertex/component_ocf.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/faceplus/component.h> #include <vcg/simplex/face/component.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>

View File

@ -1,8 +1,8 @@
#include <vector> #include <vector>
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/vertexplus/component_occ.h> #include <vcg/simplex/vertex/component_occ.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/faceplus/component.h> #include <vcg/simplex/face/component.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>

View File

@ -1,9 +1,9 @@
#include <vector> #include <vector>
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/vertexplus/component.h> #include <vcg/simplex/vertex/component.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/faceplus/component.h> #include <vcg/simplex/face/component.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
#include<vcg/container/simple_temporary_data.h> #include<vcg/container/simple_temporary_data.h>

View File

@ -30,9 +30,9 @@ first draft. Working but ugly interface. right mouse of the button to place a p
*/ */
#pragma once #pragma once
/** the definition of vertex */ /** the definition of vertex */
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
/** the definition of face */ /** the definition of face */
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
/** definition of triangle mesh */ /** definition of triangle mesh */
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>

View File

@ -1,9 +1,9 @@
#include <vector> #include <vector>
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/vertexplus/component.h> #include <vcg/simplex/vertex/component.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/faceplus/component.h> #include <vcg/simplex/face/component.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
#include<vcg/complex/trimesh/create/platonic.h> #include<vcg/complex/trimesh/create/platonic.h>

View File

@ -1,9 +1,9 @@
#include <vector> #include <vector>
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/vertexplus/component.h> #include <vcg/simplex/vertex/component.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/faceplus/component.h> #include <vcg/simplex/face/component.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
#include<vcg/complex/trimesh/create/platonic.h> #include<vcg/complex/trimesh/create/platonic.h>

View File

@ -4,8 +4,8 @@
//#include <vcg/simplex/face/with/af.h> //#include <vcg/simplex/face/with/af.h>
//#include <vcg/complex/trimesh/base.h> //#include <vcg/complex/trimesh/base.h>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include<vcg/simplex/face/topology.h> #include<vcg/simplex/face/topology.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>

View File

@ -1,7 +1,7 @@
#include <vector> #include <vector>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include<vcg/simplex/face/topology.h> #include<vcg/simplex/face/topology.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>

View File

@ -1,7 +1,7 @@
#include <vector> #include <vector>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertex/base.h>
#include<vcg/simplex/faceplus/base.h> #include<vcg/simplex/face/base.h>
#include<vcg/simplex/face/topology.h> #include<vcg/simplex/face/topology.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>
#include<vcg/complex/trimesh/create/platonic.h> #include<vcg/complex/trimesh/create/platonic.h>

View File

@ -7,8 +7,8 @@
using namespace std; using namespace std;
// stuff to define the mesh // stuff to define the mesh
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/edge/edge.h> #include <vcg/simplex/edge/edge.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>

View File

@ -182,11 +182,11 @@ Added Standard comments
using namespace std; using namespace std;
// VCG headers // VCG headers
#include <vcg/simplex/vertexplus/base.h> #include <vcg/simplex/vertex/base.h>
#include <vcg/simplex/vertexplus/component.h> #include <vcg/simplex/vertex/component.h>
#include <vcg/simplex/faceplus/base.h> #include <vcg/simplex/face/base.h>
#include <vcg/simplex/faceplus/component.h> #include <vcg/simplex/face/component.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
#include <vcg/complex/trimesh/update/topology.h> #include <vcg/complex/trimesh/update/topology.h>