removed no more used files
This commit is contained in:
parent
5ba6675838
commit
e641f6f44c
|
|
@ -1,68 +0,0 @@
|
||||||
|
|
||||||
#ifndef MESH_TYPE_H
|
|
||||||
#define MESH_TYPE_H
|
|
||||||
|
|
||||||
///vcg imports
|
|
||||||
#include <vcg/complex/complex.h>
|
|
||||||
#include <vcg/complex/algorithms/update/bounding.h>
|
|
||||||
#include <vcg/complex/algorithms/update/normal.h>
|
|
||||||
#include <vcg/complex/algorithms/update/topology.h>
|
|
||||||
#include <vcg/simplex/face/topology.h>
|
|
||||||
#include <vcg/complex/algorithms/parametrization/tangent_field_operators.h>
|
|
||||||
///wrapper imports
|
|
||||||
#include <wrap/io_trimesh/import.h>
|
|
||||||
#include <wrap/io_trimesh/export.h>
|
|
||||||
#include <wrap/miq/core/param_stats.h>
|
|
||||||
|
|
||||||
using namespace vcg;
|
|
||||||
class CFace;
|
|
||||||
class CVertex;
|
|
||||||
|
|
||||||
struct MyUsedTypes : public UsedTypes< Use<CVertex>::AsVertexType, Use<CFace>::AsFaceType >{};
|
|
||||||
|
|
||||||
/// compositing wanted proprieties
|
|
||||||
class CVertex : public vcg::Vertex< MyUsedTypes,
|
|
||||||
vcg::vertex::Coord3d, vcg::vertex::Normal3d,
|
|
||||||
vcg::vertex::BitFlags,vcg::vertex::VFAdj,
|
|
||||||
vcg::vertex::TexCoord2d,vcg::vertex::Qualityd>{};
|
|
||||||
|
|
||||||
class CFace : public vcg::Face< MyUsedTypes, vcg::face::VertexRef,
|
|
||||||
vcg::face::VFAdj, vcg::face::FFAdj,vcg::face::Normal3d,
|
|
||||||
vcg::face::WedgeTexCoord2d,vcg::face::BitFlags ,
|
|
||||||
vcg::face::CurvatureDird,vcg::face::Qualityd,vcg::face::Color4b,
|
|
||||||
vcg::face::Mark>{};
|
|
||||||
|
|
||||||
|
|
||||||
class CMesh : public vcg::tri::TriMesh< std::vector<CVertex>, std::vector<CFace> >{};
|
|
||||||
|
|
||||||
|
|
||||||
class MyPolyFace;
|
|
||||||
class MyPolyVertex;
|
|
||||||
struct PolyUsedTypes: public vcg::UsedTypes<vcg::Use<MyPolyVertex> ::AsVertexType,
|
|
||||||
vcg::Use<MyPolyFace> ::AsFaceType
|
|
||||||
>{};
|
|
||||||
|
|
||||||
//class DummyEdge: public vcg::Edge<PolyUsedTypes>{};
|
|
||||||
class MyPolyVertex:public vcg::Vertex< PolyUsedTypes,
|
|
||||||
vcg::vertex::Coord3f,
|
|
||||||
vcg::vertex::Normal3f,
|
|
||||||
vcg::vertex::BitFlags>{} ;
|
|
||||||
|
|
||||||
class MyPolyFace:public vcg::Face<
|
|
||||||
PolyUsedTypes
|
|
||||||
,vcg::face::PolyInfo // this is necessary if you use component in vcg/simplex/face/component_polygon.h
|
|
||||||
// It says "this class is a polygon and the memory for its components (e.g. pointer to its vertices
|
|
||||||
// will be allocated dynamically")
|
|
||||||
,vcg::face::PFVAdj // Pointer to the vertices (just like FVAdj )
|
|
||||||
,vcg::face::BitFlags // bit flags
|
|
||||||
,vcg::face::Normal3f // normal
|
|
||||||
> {};
|
|
||||||
|
|
||||||
class MyPolyMesh: public
|
|
||||||
vcg::tri::TriMesh<
|
|
||||||
std::vector<MyPolyVertex>, // the vector of vertices
|
|
||||||
std::vector<MyPolyFace > // the vector of faces
|
|
||||||
>{};
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
Binary file not shown.
|
|
@ -1,25 +0,0 @@
|
||||||
VCGLIBDIR = ../../../vcg/vcglib
|
|
||||||
GLEWDIR = ../../../code/lib/glew
|
|
||||||
ANTDIR = ../../../code/lib/AntTweakBar1.14
|
|
||||||
COMISODIR = ./CoMISo
|
|
||||||
|
|
||||||
# Glew settings
|
|
||||||
DEFINES += GLEW_STATIC
|
|
||||||
INCLUDEPATH += $$GLEWDIR/include
|
|
||||||
SOURCES += $$GLEWDIR/src/glew.c
|
|
||||||
|
|
||||||
#Anttweakbar stuff
|
|
||||||
mac{
|
|
||||||
LIBS +=$$ANTDIR/lib/libAntTweakBar.dylib
|
|
||||||
}
|
|
||||||
|
|
||||||
#Comiso
|
|
||||||
mac{
|
|
||||||
LIBS += -L $$COMISODIR/build/Build/lib/CoMISo/ -lCoMISo
|
|
||||||
}
|
|
||||||
|
|
||||||
mac{
|
|
||||||
QMAKE_POST_LINK +="cp -P ../../../code/lib/AntTweakBar1.14/lib/libAntTweakBar.dylib . ; "
|
|
||||||
QMAKE_POST_LINK +="install_name_tool -change ../lib/libAntTweakBar.dylib ./libAntTweakBar.dylib $$TARGET ; "
|
|
||||||
QMAKE_POST_LINK +="cp -P $$COMISODIR/build/Build/lib/CoMISo/libCoMISo.dylib . ; "
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue