Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
LoaderFileTypeAssimp Class Reference

This defines the Loader interface that uses the Assimp library to load various model formats. More...

#include "loaderFileTypeAssimp.h"

Inheritance diagram for LoaderFileTypeAssimp:
LoaderFileType TypedObject MemoryBase

Public Member Functions

virtual TypeHandle force_init_type ()
 
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. More...
 
virtual string get_extension () const
 
virtual string get_name () const
 
virtual TypeHandle get_type () const
 
virtual PT (PandaNode) load_file(const Filename &path
 
virtual bool supports_compressed () const
 Returns true if this file type can transparently load compressed files (with a .pz extension), false otherwise. More...
 
- Public Member Functions inherited from LoaderFileType
virtual bool get_allow_disk_cache (const LoaderOptions &options) const
 Returns true if the loader flags allow retrieving the model from the on-disk bam cache (if it is enabled), false otherwise. More...
 
virtual bool get_allow_ram_cache (const LoaderOptions &options) const
 Returns true if the loader flags allow retrieving the model from the in-memory ModelPool cache, false otherwise. More...
 
virtual bool save_file (const Filename &path, const LoaderOptions &options, PandaNode *node) const
 
virtual bool supports_load () const
 Returns true if the file type can be used to load files, and load_file() is supported. More...
 
virtual bool supports_save () const
 Returns true if the file type can be used to save files, and save_file() is supported. More...
 
- Public Member Functions inherited from TypedObject
 TypedObject (const TypedObject &copy)
 
TypedObjectas_typed_object ()
 Returns the object, upcast (if necessary) to a TypedObject pointer. More...
 
const TypedObjectas_typed_object () const
 Returns the object, upcast (if necessary) to a TypedObject pointer. More...
 
int get_best_parent_from_Set (const std::set< int > &) const
 
int get_type_index () const
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
 
bool is_exact_type (TypeHandle handle) const
 Returns true if the current object is the indicated type exactly. More...
 
bool is_of_type (TypeHandle handle) const
 Returns true if the current object is or derives from the indicated type. More...
 
void operator= (const TypedObject &copy)
 

Static Public Member Functions

static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from LoaderFileType
static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle get_class_type ()
 
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96. More...
 

Public Attributes

AssimpLoader_loader
 
virtual const LoaderOptions
BamCacheRecord *record 
const
 
virtual const LoaderOptionsoptions
 
- Public Attributes inherited from LoaderFileType
virtual const LoaderOptions
BamCacheRecord *record 
const
 
virtual const LoaderOptionsoptions
 

Detailed Description

This defines the Loader interface that uses the Assimp library to load various model formats.

Definition at line 28 of file loaderFileTypeAssimp.h.

Member Function Documentation

string LoaderFileTypeAssimp::get_additional_extensions ( ) const
virtual

Returns a space-separated list of extension, in addition to the one returned by get_extension(), that are recognized by this converter.

Reimplemented from LoaderFileType.

Definition at line 70 of file loaderFileTypeAssimp.cxx.

References AssimpLoader::get_extensions().

bool LoaderFileTypeAssimp::supports_compressed ( ) const
virtual

Returns true if this file type can transparently load compressed files (with a .pz extension), false otherwise.

Reimplemented from LoaderFileType.

Definition at line 84 of file loaderFileTypeAssimp.cxx.


The documentation for this class was generated from the following files: