First working version!
This commit is contained in:
parent
9b763a1643
commit
0ef532be67
|
@ -0,0 +1,9 @@
|
|||
#ifndef __VCGLIB_VERTEX_ACNQ_TYPE
|
||||
#define __VCGLIB_VERTEX_ACNQ_TYPE
|
||||
namespace vcg {
|
||||
template <class FaceTemplate>
|
||||
class VertexACNQd : public VertexSimp2< VertexACNQd, DumET, FaceTemplate, vert::Normal3d, vert::VFAdj, vert::Flag, vert::Coord3d> {};
|
||||
template <class FaceTemplate>
|
||||
class VertexACNQf : public VertexSimp2< VertexACNQf, DumET, FaceTemplate, vert::Normal3f, vert::VFAdj, vert::Flag, vert::Coord3f> {};
|
||||
}
|
||||
#endif
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef __VCGLIB_VERTEX_AN__TYPE
|
||||
#define __VCGLIB_VERTEX_AN__TYPE
|
||||
namespace vcg {
|
||||
template <class FaceTemplate>
|
||||
class VertexANd : public VertexSimp2< VertexANd, DumET, FaceTemplate, vert::Normal3d, vert::VFAdj, vert::Flag, vert::Coord3d> {};
|
||||
template <class FaceTemplate>
|
||||
class VertexANf : public VertexSimp2< VertexANf, DumET, FaceTemplate, vert::Normal3f, vert::VFAdj, vert::Flag, vert::Coord3f> {};
|
||||
}
|
||||
#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