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

This commit is contained in:
Paolo Cignoni 2005-03-11 13:33:38 +00:00
parent 88fb1680d2
commit 7b5459a777
1 changed files with 22 additions and 12 deletions

View File

@ -21,23 +21,33 @@
* * * *
****************************************************************************/ ****************************************************************************/
This folders contains most common vertex configuration files 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 The name of the file specifies the members that are added to the vertex
C - Color class. The name is a sequence of letter pairs, in strict alphabetical order. The
N - Normal possible admitted letters pairs are:
Q - Quality
T - Texture Coords Adjacency Info
AF - Vertex-Face adjacency
AE - Vertex-Edge adjacency
AT - Vertex-Tetra adjacency
Per-Vertex Data
VC - Color
VN - Normal
VM - Incremental Mark
VQ - Quality
VT - Texture Coords
E.g. E.g.
#include<vcg/simplex/vertex/with/acq.h> #include<vcg/simplex/vertex/with/afvcvnvq.h>
generate a type generate a type
VertexACQ<VScalarType,FaceType>
that can store V-F adjacency, color and quality. VertexAFVCVQ<VScalarType,FaceType>
That can store V-F adjacency, color, normal and quality.