15 #include "loaderFileTypeAssimp.h"
16 #include "config_assimp.h"
17 #include "assimpLoader.h"
26 LoaderFileTypeAssimp::
35 LoaderFileTypeAssimp::
36 ~LoaderFileTypeAssimp() {
37 if (_loader != NULL) {
47 string LoaderFileTypeAssimp::
49 return "Assimp Importer";
57 string LoaderFileTypeAssimp::
58 get_extension()
const {
98 <<
"Reading " << path <<
"\n";
100 if (!_loader->read(path)) {
104 _loader->build_graph();
virtual string get_additional_extensions() const
Returns a space-separated list of extension, in addition to the one returned by get_extension(), that are recognized by this converter.
A basic node of the scene graph or data graph.
Specifies parameters that may be passed to the loader.
This defines the Loader interface that uses the Assimp library to load various model formats...
void get_extensions(string &ext) const
Returns a space-separated list of extensions that Assimp can load, without the leading dots...
The name of a file, such as a texture file or an Egg file.
An instance of this class is written to the front of a Bam or Txo file to make the file a cached inst...
TypeHandle is the identifier used to differentiate C++ class types.
virtual bool supports_compressed() const
Returns true if this file type can transparently load compressed files (with a .pz extension)...
Class that interfaces with Assimp and builds Panda nodes to represent the Assimp structures.