just color and quality on the vertex

This commit is contained in:
ganovelli 2004-05-14 00:32:36 +00:00
parent bc13d242fe
commit a1722b063f
1 changed files with 31 additions and 32 deletions

View File

@ -1,39 +1,40 @@
/***************************************************************************** /****************************************************************************
* VCGLib * * VCGLib o o *
* * * Visual and Computer Graphics Library o o *
* Visual Computing Group o> * * _ O _ *
* IEI Institute, CNUCE Institute, CNR Pisa <| * * Copyright(C) 2004 \/)\/ *
* / \ * * Visual Computing Lab /\/| *
* Copyright(C) 1999 by Paolo Cignoni, Claudio Rocchini * * ISTI - Italian National Research Council | *
* All rights reserved. * * \ *
* * * All rights reserved. *
* Permission to use, copy, modify, distribute and sell this software and * * *
* its documentation for any purpose is hereby granted without fee, provided * * This program is free software; you can redistribute it and/or modify *
* that the above copyright notice appear in all copies and that both that * * it under the terms of the GNU General Public License as published by *
* copyright notice and this permission notice appear in supporting * * the Free Software Foundation; either version 2 of the License, or *
* documentation. the author makes no representations about the suitability * * (at your option) any later version. *
* of this software for any purpose. It is provided "as is" without express * * *
* or implied warranty. * * 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 History
2003 Dic 17 modifiche per conversione alla versione template (gano)
****************************************************************************/
// ----------------------------------------------------------------------------------------------- $Log: not supported by cvs2svn $
****************************************************************************/
#ifndef _CMESH_H #ifndef _CMESH_H
#define _CMESH_H #define _CMESH_H
// -----------------------------------------------------------------------------------------------
#pragma warning(disable:4786 4804 4666) #pragma warning(disable:4786 4804 4666)
// standard libraries.
#include <math.h>
// VCG library. #include <math.h>
//#include <vcg/tools/plylib.h> #include <vcg/simplex/vertex/with/vcvq.h>
#include <vcg/simplex/vertex/with/vcvmvnvq.h> #include <vcg/simplex/face/with/rtfcfmfn.h>
#include <vcg/simplex/face/with/rtfmfn.h>
#include <vcg/space/index/grid_static_ptr.h> #include <vcg/space/index/grid_static_ptr.h>
#include <vcg/complex/trimesh/base.h> #include <vcg/complex/trimesh/base.h>
@ -45,10 +46,8 @@ using namespace std;
// Vertex, Face, Mesh and Grid definitions. // Vertex, Face, Mesh and Grid definitions.
class MyEdge; class MyEdge;
class CFace; class CFace;
class CVertex : public VertexVCVMVNVQ< double,MyEdge,CFace > {}; class CVertex : public VertexVCVQ< double,MyEdge,CFace > {};
class CFace : public FaceRTFMFN< CVertex,MyEdge,CFace > {}; class CFace : public FaceRTFCFMFN< CVertex,MyEdge,CFace > {};
class CMesh : public tri::TriMesh< vector<CVertex>, vector<CFace> > {}; class CMesh : public tri::TriMesh< vector<CVertex>, vector<CFace> > {};
// -----------------------------------------------------------------------------------------------
#endif #endif
// -----------------------------------------------------------------------------------------------