diff --git a/wrap/dae/colladaformat.h b/wrap/dae/colladaformat.h index 735d6d37..21512c8b 100644 --- a/wrap/dae/colladaformat.h +++ b/wrap/dae/colladaformat.h @@ -1,3 +1,25 @@ +/**************************************************************************** +* VCGLib o o * +* Visual and Computer Graphics Library o o * +* _ O _ * +* Copyright(C) 2004-2008 \/)\/ * +* 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. * +* * +****************************************************************************/ #ifndef _COLLADA_FORMAT_H #define _COLLADA_FORMAT_H @@ -8,44 +30,10 @@ template -struct CoordNumber -{ -public: - static unsigned int coord() - { - return 0; - } -}; - -template<> -struct CoordNumber -{ -public: - static unsigned int coord() - { - return 2; - } -}; - -template<> -struct CoordNumber -{ -public: - static unsigned int coord() - { - return 3; - } -}; - -template<> -struct CoordNumber -{ -public: - static unsigned int coord() - { - return 4; - } -}; + struct CoordNumber{public: static unsigned int coord() { return 0; }}; +template<> struct CoordNumber { public: static unsigned int coord() { return 2; } }; +template<> struct CoordNumber { public: static unsigned int coord() { return 3; } }; +template<> struct CoordNumber { public: static unsigned int coord() { return 4; } }; namespace Collada diff --git a/wrap/dae/util_dae.h b/wrap/dae/util_dae.h index 1bcf26d2..51817680 100644 --- a/wrap/dae/util_dae.h +++ b/wrap/dae/util_dae.h @@ -1,3 +1,25 @@ +/**************************************************************************** +* VCGLib o o * +* Visual and Computer Graphics Library o o * +* _ O _ * +* Copyright(C) 2004-2008 \/)\/ * +* 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. * +* * +****************************************************************************/ #ifndef __VCGLIB_UTILDAE #define __VCGLIB_UTILDAE diff --git a/wrap/dae/xmldocumentmanaging.cpp b/wrap/dae/xmldocumentmanaging.cpp index 2c9263be..4e885e51 100644 --- a/wrap/dae/xmldocumentmanaging.cpp +++ b/wrap/dae/xmldocumentmanaging.cpp @@ -1,3 +1,25 @@ +/**************************************************************************** +* VCGLib o o * +* Visual and Computer Graphics Library o o * +* _ O _ * +* Copyright(C) 2004-2008 \/)\/ * +* 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. * +* * +****************************************************************************/ #include #include diff --git a/wrap/dae/xmldocumentmanaging.h b/wrap/dae/xmldocumentmanaging.h index 6d674b93..27fe44af 100644 --- a/wrap/dae/xmldocumentmanaging.h +++ b/wrap/dae/xmldocumentmanaging.h @@ -1,3 +1,25 @@ +/**************************************************************************** +* VCGLib o o * +* Visual and Computer Graphics Library o o * +* _ O _ * +* Copyright(C) 2004-2008 \/)\/ * +* 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. * +* * +****************************************************************************/ #ifndef _XML_DOCUMENT_MANAGING_H #define _XML_DOCUMENT_MANAGING_H diff --git a/wrap/io_trimesh/export_dae.h b/wrap/io_trimesh/export_dae.h index 71e895ba..54fae419 100644 --- a/wrap/io_trimesh/export_dae.h +++ b/wrap/io_trimesh/export_dae.h @@ -1,3 +1,26 @@ +/**************************************************************************** +* VCGLib o o * +* Visual and Computer Graphics Library o o * +* _ O _ * +* Copyright(C) 2004-2008 \/)\/ * +* 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. * +* * +****************************************************************************/ + #ifndef EXPORTER_DAE_H #define EXPORTER_DAE_H diff --git a/wrap/io_trimesh/import_dae.h b/wrap/io_trimesh/import_dae.h index b585c867..69b16a34 100644 --- a/wrap/io_trimesh/import_dae.h +++ b/wrap/io_trimesh/import_dae.h @@ -1,3 +1,26 @@ +/**************************************************************************** +* VCGLib o o * +* Visual and Computer Graphics Library o o * +* _ O _ * +* Copyright(C) 2004-2008 \/)\/ * +* 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. * +* * +****************************************************************************/ + #ifndef __VCGLIB_IMPORTERDAE #define __VCGLIB_IMPORTERDAE