Panda3D
Public Member Functions | Public Attributes

AssimpLoader Class Reference

Class that interfaces with Assimp and builds Panda nodes to represent the Assimp structures. More...

#include "assimpLoader.h"

Inheritance diagram for AssimpLoader:
TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

void build_graph ()
 Converts scene graph structures into a Panda3D scene graph, with _root being the root node.
void get_extensions (string &ext) const
 Returns a space-separated list of extensions that Assimp can load, without the leading dots.
 PT (ModelRoot) _root
bool read (const Filename &filename)
 Reads from the indicated file.

Public Attributes

bool _error
Filename _filename
Mutex _lock

Detailed Description

Class that interfaces with Assimp and builds Panda nodes to represent the Assimp structures.

The loader should be reusable.

Definition at line 31 of file assimpLoader.h.


Member Function Documentation

void AssimpLoader::build_graph ( )

Converts scene graph structures into a Panda3D scene graph, with _root being the root node.

Definition at line 116 of file assimpLoader.cxx.

References Filename::get_basename().

void AssimpLoader::get_extensions ( string &  ext) const

Returns a space-separated list of extensions that Assimp can load, without the leading dots.

Definition at line 72 of file assimpLoader.cxx.

Referenced by LoaderFileTypeAssimp::get_additional_extensions().

bool AssimpLoader::read ( const Filename filename)

Reads from the indicated file.

Definition at line 94 of file assimpLoader.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations