33 #ifndef DART_DYNAMICS_ASSIMPINPUTRESOURCEADAPTOR_HPP_
34 #define DART_DYNAMICS_ASSIMPINPUTRESOURCEADAPTOR_HPP_
36 #include <assimp/IOStream.hpp>
37 #include <assimp/IOSystem.hpp>
38 #include <assimp/cfileio.h>
56 bool Exists(
const char* pFile)
const override;
73 Assimp::IOStream*
Open(
const char* pFile,
const char* pMode =
"rb")
override;
78 void Close(Assimp::IOStream* pFile)
override;
94 void* pvBuffer, std::size_t pSize, std::size_t pCount)
override;
98 const void* pvBuffer, std::size_t pSize, std::size_t pCount)
override;
104 aiReturn
Seek(std::size_t pOffset, aiOrigin pOrigin)
override;
109 std::size_t
Tell()
const override;
114 std::size_t
FileSize()
const override;
117 void Flush()
override;
std::shared_ptr< Resource > ResourcePtr
Definition: Resource.hpp:90
std::shared_ptr< ResourceRetriever > ResourceRetrieverPtr
Definition: ResourceRetriever.hpp:76
aiFileIO createFileIO(Assimp::IOSystem *_system)
Definition: AssimpInputResourceAdaptor.cpp:267
Definition: BulletCollisionDetector.cpp:65