1 /* 2 Copyright (c) 2008-2009 NetAllied Systems GmbH 3 4 This file is part of COLLADASaxFrameworkLoader. 5 6 Licensed under the MIT Open Source License, 7 for details please see LICENSE file or the website 8 http://www.opensource.org/licenses/mit-license.php 9 */ 10 11 12 #include "COLLADASaxFWLStableHeaders.h" 13 #include "COLLADASaxFWLGeometryLoader14.h" 14 15 16 namespace COLLADASaxFWL 17 { 18 19 begin__mesh()20bool GeometryLoader14::begin__mesh() 21 { 22 SaxVirtualFunctionTest14(begin__mesh()); 23 return mLoader->begin__mesh(); 24 } 25 begin__spline(const COLLADASaxFWL14::spline__AttributeData & attributeData)26bool GeometryLoader14::begin__spline( const COLLADASaxFWL14::spline__AttributeData& attributeData ) 27 { 28 SaxVirtualFunctionTest14(begin__spline( attributeData )); 29 COLLADASaxFWL::spline__AttributeData attrData; 30 attrData.closed = attributeData.closed; 31 return mLoader->begin__spline( attrData ); 32 } 33 34 end__geometry()35bool GeometryLoader14::end__geometry() 36 { 37 SaxVirtualFunctionTest14(end__geometry()); 38 return mLoader->end__geometry(); 39 } 40 41 begin__technique(const COLLADASaxFWL14::technique__AttributeData & attributeData)42bool GeometryLoader14::begin__technique( const COLLADASaxFWL14::technique__AttributeData& attributeData ) 43 { 44 SaxVirtualFunctionTest14(begin__technique(attributeData)); 45 COLLADASaxFWL::technique__AttributeData attrData; 46 attrData.profile = attributeData.profile; 47 return mLoader->begin__technique(attrData); 48 } 49 50 end__technique()51bool GeometryLoader14::end__technique() 52 { 53 SaxVirtualFunctionTest14(end__technique()); 54 return mLoader->end__technique(); 55 } 56 57 58 59 } 60