Wrote down the final right version of the naming rules (af and NOT fa)

This commit is contained in:
Paolo Cignoni 2005-03-11 12:11:36 +00:00
parent d829ce7db6
commit 88fb1680d2
1 changed files with 52 additions and 51 deletions

View File

@ -1,51 +1,52 @@
/**************************************************************************** /****************************************************************************
* VCGLib o o * * VCGLib o o *
* Visual and Computer Graphics Library o o * * Visual and Computer Graphics Library o o *
* _ O _ * * _ O _ *
* Copyright(C) 2004 \/)\/ * * Copyright(C) 2004 \/)\/ *
* Visual Computing Lab /\/| * * Visual Computing Lab /\/| *
* ISTI - Italian National Research Council | * * ISTI - Italian National Research Council | *
* \ * * \ *
* All rights reserved. * * All rights reserved. *
* * * *
* This program is free software; you can redistribute it and/or modify * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) *
* for more details. * * for more details. *
* * * *
****************************************************************************/ ****************************************************************************/
This folders contains most common FACE configuration files 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 name of the file specifies the members that are added to the vertex
The possible admitted letters pairs are class. The name is a sequence of letter pairs, in strict alphabetical order. The
possible admitted letters pairs are:
FA - face-face adjacency
FC - Per-Face Color AF - Face-Face adjacency
FM - Per-Face Incremental Mark AS - Shared Vertex-Face and Face-Face Adjacency
FN - Per-Face Normal AV - Vertex-face adjacency
FQ - Per-Face Quality
RT - Data for Optimized Point-Face Distance and Ray-Tracing Stuff FC - Per-Face Color
SA - Shared Vertex-Face and Face-Face Adjacency FM - Per-Face Incremental Mark
VA - Vertex-face adjacency FN - Per-Face Normal
WC - Per-Wedge Color FQ - Per-Face Quality
WN - Per-Wedge Normal RT - Data for Optimized Point-Face Distance and Ray-Tracing Stuff
WQ - Per-Wedge Quality WC - Per-Wedge Color
WT - Per-Wedge Texture Coords WN - Per-Wedge Normal
WQ - Per-Wedge Quality
E.g. WT - Per-Wedge Texture Coords
#include<vcg/simplex/vertex/with/fafnwc.h> E.g.
generate a type #include<vcg/simplex/vertex/with/affnwt.h>
VertexFAFNWC<VertexType>
generate a type
that can store F-F adjacency, Per face normal color and per wedge color.
VertexAFFNWT<VertexType>
that can store F-F adjacency, Per-face normal and color and per-wedge texture coords.