Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TriMesh_ArrayKernelT.hh

00001 //=============================================================================
00002 //                                                                            
00003 //                               OpenMesh                                     
00004 //      Copyright (C) 2001-2005 by Computer Graphics Group, RWTH Aachen       
00005 //                           www.openmesh.org                                 
00006 //                                                                            
00007 //-----------------------------------------------------------------------------
00008 //                                                                            
00009 //                                License                                     
00010 //                                                                            
00011 //   This library is free software; you can redistribute it and/or modify it 
00012 //   under the terms of the GNU Library General Public License as published  
00013 //   by the Free Software Foundation, version 2.                             
00014 //                                                                             
00015 //   This library is distributed in the hope that it will be useful, but       
00016 //   WITHOUT ANY WARRANTY; without even the implied warranty of                
00017 //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         
00018 //   Library General Public License for more details.                          
00019 //                                                                            
00020 //   You should have received a copy of the GNU Library General Public         
00021 //   License along with this library; if not, write to the Free Software       
00022 //   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                 
00023 //                                                                            
00024 //-----------------------------------------------------------------------------
00025 //                                                                            
00026 //   $Revision: 1.1.1.1 $
00027 //   $Date: 2004/09/06 12:35:21 $
00028 //                                                                            
00029 //=============================================================================
00030 
00031 
00032 //=============================================================================
00033 //
00034 //  CLASS TriMesh_ArrayKernelT
00035 //
00036 //=============================================================================
00037 
00038 
00039 #ifndef OPENMESH_TRIMESH_ARRAY_KERNEL_HH
00040 #define OPENMESH_TRIMESH_ARRAY_KERNEL_HH
00041 
00042 
00043 //== INCLUDES =================================================================
00044 
00045 
00046 #include <OpenMesh/Core/System/config.hh>
00047 #include <OpenMesh/Core/Mesh/TriMeshT.hh>
00048 #include <OpenMesh/Core/Mesh/Traits.hh>
00049 #include <OpenMesh/Core/Mesh/Kernels/ArrayKernel/ArrayKernelT.hh>
00050 #include <OpenMesh/Core/Mesh/Kernels/ArrayKernel/ArrayItems.hh>
00051 #include <OpenMesh/Core/Mesh/Kernels/Common/FinalMeshItemsT.hh>
00052 
00053 
00054 //== NAMESPACES ===============================================================
00055 
00056 
00057 namespace OpenMesh {
00058 
00059 
00060 //== CLASS DEFINITION =========================================================
00061 
00062 
00064 template <class Traits>
00065 struct TriMesh_ArrayKernel_GeneratorT
00066 {
00067   typedef FinalMeshItemsT<ArrayItems, Traits, true>  MeshItems;
00068   typedef AttribKernelT<MeshItems>                   AttribKernel;
00069   typedef ArrayKernelT<AttribKernel, MeshItems>      MeshKernel;
00070   typedef TriMeshT<MeshKernel>                       Mesh;
00071 };
00072 
00073 
00074 
00080 template <class Traits = DefaultTraits>  
00081 class TriMesh_ArrayKernelT 
00082   : public TriMesh_ArrayKernel_GeneratorT<Traits>::Mesh 
00083 {};
00084 
00085 
00086 //=============================================================================
00087 } // namespace OpenMesh
00088 //=============================================================================
00089 #endif // OPENMESH_TRIMESH_ARRAY_KERNEL_HH
00090 //=============================================================================

acg pic Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .