/usr/include/opencollada/COLLADASaxFrameworkLoader/COLLADASaxFWLGeometryLoader.h is in opencollada-dev 0.1.0~20140703.ddf8f47+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | /*
Copyright (c) 2008-2009 NetAllied Systems GmbH
This file is part of COLLADASaxFrameworkLoader.
Licensed under the MIT Open Source License,
for details please see LICENSE file or the website
http://www.opensource.org/licenses/mit-license.php
*/
#ifndef __COLLADASAXFWL_GEOMETRYLOADER_H__
#define __COLLADASAXFWL_GEOMETRYLOADER_H__
#include "COLLADASaxFWLPrerequisites.h"
#include "COLLADASaxFWLSource.h"
#include "COLLADASaxFWLXmlTypes.h"
#include "COLLADASaxFWLMeshLoader.h"
#include "COLLADASaxFWLSplineLoader.h"
#include "COLLADASaxFWLFilePartLoader.h"
namespace COLLADASaxFWL
{
/**
Base class that describes geometric data. Must be exactly one of:
� <convex_mesh>
� <mesh>
� <spline>
More about, read the class Geometry documentation.
*/
class GeometryLoader : public FilePartLoader
{
private:
/** The id of the geometry.*/
String mGeometryId;
/** The name of the geometry.*/
String mGeometryName;
/** The mesh loader used to load the mesh inside the geometry.*/
MeshLoader* mMeshLoader;
/** The mesh loader used to load the mesh inside the geometry.*/
SplineLoader* mSplineLoader;
public:
/** Constructor. */
GeometryLoader ( IFilePartLoader* callingFilePartLoader);
/** Destructor. */
virtual ~GeometryLoader();
/** Returns the unique id of the current parsed object. */
virtual const COLLADAFW::UniqueId& getUniqueId();
/** Sets the id of the geometry.*/
void setGeometryId( const String& geometryId ) { mGeometryId = geometryId; }
/** Returns the geometry id.*/
const String& getGeometryId() const { return mGeometryId; }
/** Sets the name of the geometry.*/
void setGeometryName( const String& geometryName ) { mGeometryName = geometryName; }
/** Returns the geometry name.*/
const String& getGeometryName() const { return mGeometryName; }
/** Sax callback function for the beginning of a mesh.*/
virtual bool begin__mesh();
/** Sax callback function for the beginning of a spline.*/
virtual bool begin__spline(const spline__AttributeData & attributeData);
/** Sax callback function for the ending of a geometry.*/
virtual bool end__geometry();
private:
/** Disable default copy ctor. */
GeometryLoader( const GeometryLoader& pre );
/** Disable default assignment operator. */
const GeometryLoader& operator= ( const GeometryLoader& pre );
};
} // namespace COLLADAFW
#endif // __COLLADASAXFWL_GEOMETRYLOADER_H__
|