diff --git a/apps/metro/defs.h b/apps/metro/defs.h deleted file mode 100644 index 2d1b8441..00000000 --- a/apps/metro/defs.h +++ /dev/null @@ -1,24 +0,0 @@ -// ----------------------------------------------------------------------------------------------- -#ifndef _DEFS_H -#define _DEFS_H -// ----------------------------------------------------------------------------------------------- - -// error messages - -#define MSG_ERR_MESH_LOAD "error loading the input meshes.\n" -#define MSG_ERR_INVALID_OPTION "unable to parse option '%s'\n" -#define MSG_ERR_FILE_OPEN "unable to open the output file.'n" -#define MSG_ERR_UNKNOWN_FORMAT "unknown file format '%s'.\n" - -// global constants -#define NO_SAMPLES_PER_FACE 10 -#define N_SAMPLES_EDGE_TO_FACE_RATIO 0.1 -#define BBOX_FACTOR 0.1 -#define INFLATE_PERCENTAGE 0.02 -#define MIN_SIZE 125 /* 125 = 5^3 */ -#define N_HIST_BINS 256 -#define PRINT_EVERY_N_ELEMENTS 1000 - -// ----------------------------------------------------------------------------------------------- -#endif -// ----------------------------------------------------------------------------------------------- diff --git a/apps/metro/mesh_type.h b/apps/metro/mesh_type.h deleted file mode 100644 index 53e05c05..00000000 --- a/apps/metro/mesh_type.h +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -* VCGLib o o * -* Visual and Computer Graphics Library o o * -* _ O _ * -* Copyright(C) 2004 \/)\/ * -* Visual Computing Lab /\/| * -* ISTI - Italian National Research Council | * -* \ * -* All rights reserved. * -* * -* This program is free software; you can redistribute it and/or modify * -* it under the terms of the GNU General Public License as published by * -* the Free Software Foundation; either version 2 of the License, or * -* (at your option) any later version. * -* * -* This program is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * -* for more details. * -* * -****************************************************************************/ -/**************************************************************************** - History - -$Log: not supported by cvs2svn $ -Revision 1.6 2005/01/26 22:45:34 cignoni -Release 4.04 -final updates for gcc compiling issues - -Revision 1.5 2004/05/14 00:32:36 ganovelli -just color and quality on the vertex - - - -****************************************************************************/ -#ifndef _CMESH_H -#define _CMESH_H - - -#include -#include -#include - -// Vertex, Face, Mesh and Grid definitions. -#include -#include -#include -#include -#include -class CFace; -class CVertex; -struct UsedTypes:public vcg::UsedTypes< vcg::Use::AsFaceType, vcg::Use::AsVertexType>{}; -class CVertex : public vcg::Vertex {}; -class CFace : public vcg::Face< UsedTypes,vcg::face::VertexRef, vcg::face::Normal3d, vcg::face::EdgePlane,vcg::face::Color4b,vcg::face::Mark,vcg::face::BitFlags> {}; -class CMesh : public vcg::tri::TriMesh< std::vector, std::vector > {}; - -#endif