3 #ifndef _OSGCOLLADAFILETYPE_H_
4 #define _OSGCOLLADAFILETYPE_H_
11 #if defined(OSG_WITH_COLLADA) || defined(OSG_DO_DOC)
13 #include "OSGFileIODef.h"
14 #include "OSGSceneFileType.h"
18 /*! \ingroup GrpFileIOCollada
19 \ingroup GrpLibOSGFileIO
22 class OSG_FILEIO_DLLMAPPING ColladaFileType
: public SceneFileType
24 /*========================== PUBLIC =================================*/
26 /*---------------------------------------------------------------------*/
30 typedef SceneFileType Inherited
;
31 typedef ColladaFileType Self
;
34 /*---------------------------------------------------------------------*/
38 virtual const Char8
*getName(void) const;
41 /*---------------------------------------------------------------------*/
45 virtual NodeTransitPtr
46 read( std::istream
&is
,
47 const Char8
*fileNameOrExtension
,
48 Resolver resolver
= NULL
) const;
51 /*========================= PROTECTED ===============================*/
53 /*---------------------------------------------------------------------*/
54 /*! \name Constructors/Destructor */
57 ColladaFileType(const Char8
*suffixArray
[],
58 UInt16 suffixByteCount
,
60 UInt32 overridePriority
,
63 virtual ~ColladaFileType(void);
66 /*---------------------------------------------------------------------*/
68 static const Char8
*_suffixA
[];
69 static ColladaFileType _the
;
74 #endif // OSG_WITH_COLLADA
76 #endif // _OSGCOLLADAFILETYPE_H_