Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
The LoadWriterDae class is a ResourceLoadWriter capable of reading COLLADA files. More...
#include <ioDae.hpp>
Classes | |
class | LoadOptions |
Loading options used by LoadWriterDae and DaeLoader. More... | |
Public Member Functions | |
LoadWriterDae () | |
ref< ResourceDatabase > | loadResource (const String &path) const |
ref< ResourceDatabase > | loadResource (VirtualFile *file) const |
bool | writeResource (const String &, ResourceDatabase *) const |
Not supported yet. | |
bool | writeResource (VirtualFile *, ResourceDatabase *) const |
Not supported yet. | |
const LoadOptions * | loadOptions () const |
LoadOptions * | loadOptions () |
Static Public Member Functions | |
static VLGRAPHICS_EXPORT ref < ResourceDatabase > | load (const String &path, const LoadOptions *options) |
static VLGRAPHICS_EXPORT ref < ResourceDatabase > | load (VirtualFile *file, const LoadOptions *options) |
Protected Attributes | |
ref< LoadOptions > | mLoadOptions |
The LoadWriterDae class is a ResourceLoadWriter capable of reading COLLADA files.
Definition at line 48 of file ioDae.hpp.
vl::LoadWriterDae::LoadWriterDae | ( | ) | [inline] |
Definition at line 153 of file ioDae.hpp.
References mLoadOptions.
ref< ResourceDatabase > LoadWriterDae::load | ( | const String & | path, |
const LoadOptions * | options | ||
) | [static] |
Definition at line 38 of file ioDae.cpp.
References vl::defFileSystem(), vl::Log::error(), vl::ref< T >::get(), vl::FileSystem::locateFile(), and NULL.
Referenced by loadResource().
ref< ResourceDatabase > LoadWriterDae::load | ( | VirtualFile * | file, |
const LoadOptions * | options | ||
) | [static] |
Definition at line 51 of file ioDae.cpp.
References vl::DaeLoader::load(), vl::DaeLoader::resources(), and vl::DaeLoader::setLoadOptions().
ref<ResourceDatabase> vl::LoadWriterDae::loadResource | ( | const String & | path ) | const [inline, virtual] |
Implements vl::ResourceLoadWriter.
Definition at line 158 of file ioDae.hpp.
References load(), and loadOptions().
ref<ResourceDatabase> vl::LoadWriterDae::loadResource | ( | VirtualFile * | file ) | const [inline, virtual] |
Implements vl::ResourceLoadWriter.
Definition at line 163 of file ioDae.hpp.
References load(), and loadOptions().
bool vl::LoadWriterDae::writeResource | ( | const String & | , |
ResourceDatabase * | |||
) | const [inline, virtual] |
bool vl::LoadWriterDae::writeResource | ( | VirtualFile * | , |
ResourceDatabase * | |||
) | const [inline, virtual] |
const LoadOptions* vl::LoadWriterDae::loadOptions | ( | ) | const [inline] |
Definition at line 182 of file ioDae.hpp.
References vl::ref< T >::get(), and mLoadOptions.
Referenced by loadResource().
LoadOptions* vl::LoadWriterDae::loadOptions | ( | ) | [inline] |
Definition at line 184 of file ioDae.hpp.
References vl::ref< T >::get(), and mLoadOptions.
ref<LoadOptions> vl::LoadWriterDae::mLoadOptions [protected] |
Definition at line 187 of file ioDae.hpp.
Referenced by loadOptions(), and LoadWriterDae().