diff --git a/vcg/simplex/face/with/a.h b/vcg/simplex/face/with/a.h new file mode 100644 index 00000000..b2a30cc3 --- /dev/null +++ b/vcg/simplex/face/with/a.h @@ -0,0 +1,45 @@ +//**************************************************************************** +* 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 $ +****************************************************************************/ +#ifndef __VCGLIB_FACE_A___TYPE +#define __VCGLIB_FACE_A___TYPE + +#ifdef FACE_TYPE +#pragma message("\nInternal Error 42\n") +#endif + +#define FACE_TYPE FaceA +#define __VCGLIB_FACE_A + +#include + +#undef FACE_TYPE +#undef __VCGLIB_FACE_A + + + +#endif \ No newline at end of file diff --git a/vcg/simplex/face/with/n.h b/vcg/simplex/face/with/n.h new file mode 100644 index 00000000..faf6e852 --- /dev/null +++ b/vcg/simplex/face/with/n.h @@ -0,0 +1,19 @@ +#ifndef __VCGLIB_VERTEX__N__TYPE +#define __VCGLIB_VERTEX__N__TYPE + +#define VERTEX_TYPE VertexN + +#define __VCGLIB_VERTEX_N + +#include + +#undef VERTEX_TYPE + +#undef __VCGLIB_VERTEX_N + +using namespace vcg; + +typedef VertexN VertexNf; +typedef VertexN VertexNd; + +#endif \ No newline at end of file diff --git a/vcg/simplex/face/with/readme.txt b/vcg/simplex/face/with/readme.txt new file mode 100644 index 00000000..ae47fd09 --- /dev/null +++ b/vcg/simplex/face/with/readme.txt @@ -0,0 +1,50 @@ +/**************************************************************************** +* 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. * +* * +****************************************************************************/ + +This folders contains most common FACE configuration files +The name of the file specify the members that are added to the vertex class +The name is a sequence of letters, in strict alphabetical order. +The possible admitted letters pairs are + +FA - face-face adjacency +FC - Per-Face Color +FN - Per-Face Normal +FQ - Per-Face Quality +VA - Vertex-face adjacency +WC - Per-Wedge Color +WN - Per-Wedge Normal +WQ - Per-Wedge Quality +WT - Per-Wedge Texture Coords +SA - Shared Vertex-Face and Face-Face Adjacency +RT - Data for Optimized Point-Face Distance and Ray-Tracing Stuff + +E.g. + +#include + +generate a type +VertexFAFNWC + +that can store F-F adjacency, Per face normal color and per wedge color. + + diff --git a/vcg/simplex/vertex/with/n.h b/vcg/simplex/vertex/with/n.h new file mode 100644 index 00000000..faf6e852 --- /dev/null +++ b/vcg/simplex/vertex/with/n.h @@ -0,0 +1,19 @@ +#ifndef __VCGLIB_VERTEX__N__TYPE +#define __VCGLIB_VERTEX__N__TYPE + +#define VERTEX_TYPE VertexN + +#define __VCGLIB_VERTEX_N + +#include + +#undef VERTEX_TYPE + +#undef __VCGLIB_VERTEX_N + +using namespace vcg; + +typedef VertexN VertexNf; +typedef VertexN VertexNd; + +#endif \ No newline at end of file diff --git a/vcg/simplex/vertex/with/readme.txt b/vcg/simplex/vertex/with/readme.txt new file mode 100644 index 00000000..c3d34733 --- /dev/null +++ b/vcg/simplex/vertex/with/readme.txt @@ -0,0 +1,43 @@ +/**************************************************************************** +* 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. * +* * +****************************************************************************/ + +This folders contains most common vertex configuration files +The name of the file specify the members that are added to the vertex class +The name is a sequence of letters, in strict alphabetical order. +The possible admitted letters are + +A - vertex-face adjacency +C - Color +N - Normal +Q - Quality +T - Texture Coords + +E.g. + +#include + +generate a type +VertexACQ +that can store V-F adjacency, color and quality. + +