RobWorkProject
Public Member Functions | List of all members
LoaderAssimp Class Reference

Load 3D models using the Open Asset Import Library (Assimp). More...

#include <LoaderAssimp.hpp>

Inherits Model3DLoader.

Public Member Functions

 LoaderAssimp ()
 Constructor.
 
virtual ~LoaderAssimp ()
 Destructor.
 
rw::graphics::Model3D::Ptr load (const std::string &filename)
 load a Model3D from file filename More...
 
- Public Member Functions inherited from Model3DLoader
virtual ~Model3DLoader ()
 destructor
 

Additional Inherited Members

- Public Types inherited from Model3DLoader
typedef rw::common::Ptr< Model3DLoaderPtr
 smart pointer type
 

Detailed Description

Load 3D models using the Open Asset Import Library (Assimp).

For further information on Assimp and supported formats, see http://assimp.sourceforge.net

So far the loader has been tested for .dae files (Collada).

Note that the RobWork loader for Assimp is still work in progress.

Member Function Documentation

◆ load()

rw::graphics::Model3D::Ptr load ( const std::string &  filename)
virtual

load a Model3D from file filename

Parameters
filename[in] name of file to load
Returns
a model3d if loaded successfully else NULL (or exception)

Implements Model3DLoader.


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