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

Traits.hh

Go to the documentation of this file.
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:36:59 $
00028 //                                                                            
00029 //=============================================================================
00030 
00031 
00037 //=============================================================================
00038 //
00039 //  CLASS Traits
00040 //
00041 //=============================================================================
00042 
00043 #ifndef OPENMESH_KERNEL_OSG_TRAITS_HH
00044 #define OPENMESH_KERNEL_OSG_TRAITS_HH
00045 
00046 
00047 //== INCLUDES =================================================================
00048 
00049 
00050 #include <OpenMesh/Core/Mesh/Traits.hh>
00051 #include <OpenMesh/Tools/Kernel_OSG/VectorAdapter.hh>
00052 //
00053 #include <OpenSG/OSGGeometry.h>
00054 
00055 //== NAMESPACES ===============================================================
00056 
00057 namespace OpenMesh  {
00058 namespace Kernel_OSG {
00059 
00060 //== CLASS DEFINITION =========================================================
00061 
00062 
00063 //== CLASS DEFINITION =========================================================
00064 
00065 
00071 struct Traits : DefaultTraits
00072 {
00073   typedef osg::Pnt3f            Point;
00074   typedef osg::Color3ub         Color;
00075   typedef osg::Vec3f            Normal;
00076   typedef osg::Vec2f            TexCoord2D;
00077   typedef osg::Vec3f::ValueType Scalar;
00078   
00079 };
00080 
00081 //=============================================================================
00082 } // namespace Kernel_OSG
00083 } // namespace OpenMesh
00084 //=============================================================================
00085 #endif // OPENMESH_TRAITS_HH defined
00086 //=============================================================================
00087 

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