Initial commit
This commit is contained in:
parent
456da92c39
commit
30bc1a1c17
|
@ -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 <vcg/Mesh/FaceBase.h>
|
||||
|
||||
#undef FACE_TYPE
|
||||
#undef __VCGLIB_FACE_A
|
||||
|
||||
|
||||
|
||||
#endif
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef __VCGLIB_VERTEX__N__TYPE
|
||||
#define __VCGLIB_VERTEX__N__TYPE
|
||||
|
||||
#define VERTEX_TYPE VertexN
|
||||
|
||||
#define __VCGLIB_VERTEX_N
|
||||
|
||||
#include <vcg/simplex/vertex/base.h>
|
||||
|
||||
#undef VERTEX_TYPE
|
||||
|
||||
#undef __VCGLIB_VERTEX_N
|
||||
|
||||
using namespace vcg;
|
||||
|
||||
typedef VertexN<float> VertexNf;
|
||||
typedef VertexN<double> VertexNd;
|
||||
|
||||
#endif
|
|
@ -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<vcg/simplex/vertex/with/fafnwc.h>
|
||||
|
||||
generate a type
|
||||
VertexFAFNWC<VertexType>
|
||||
|
||||
that can store F-F adjacency, Per face normal color and per wedge color.
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef __VCGLIB_VERTEX__N__TYPE
|
||||
#define __VCGLIB_VERTEX__N__TYPE
|
||||
|
||||
#define VERTEX_TYPE VertexN
|
||||
|
||||
#define __VCGLIB_VERTEX_N
|
||||
|
||||
#include <vcg/simplex/vertex/base.h>
|
||||
|
||||
#undef VERTEX_TYPE
|
||||
|
||||
#undef __VCGLIB_VERTEX_N
|
||||
|
||||
using namespace vcg;
|
||||
|
||||
typedef VertexN<float> VertexNf;
|
||||
typedef VertexN<double> VertexNd;
|
||||
|
||||
#endif
|
|
@ -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<vcg/simplex/vertex/with/acq.h>
|
||||
|
||||
generate a type
|
||||
VertexACQ<VScalarType,FaceType>
|
||||
that can store V-F adjacency, color and quality.
|
||||
|
||||
|
Loading…
Reference in New Issue