RobWorkProject
Classes | Public Types | Public Member Functions | List of all members
Model3DLoader Class Referenceabstract

interface for classes that are able to load 3d models More...

#include <Model3DLoader.hpp>

Inherited by Loader3DS, LoaderAC3D, LoaderAssimp, LoaderOBJ, and LoaderTRI.

Classes

class  Factory
 a factory for Model3DLoaders. This factory defines an extension point for Model3DLoaders. More...
 

Public Types

typedef rw::common::Ptr< Model3DLoaderPtr
 smart pointer type
 

Public Member Functions

virtual ~Model3DLoader ()
 destructor
 
virtual rw::graphics::Model3D::Ptr load (const std::string &filename)=0
 load a Model3D from file filename More...
 

Detailed Description

interface for classes that are able to load 3d models

Member Function Documentation

◆ load()

virtual rw::graphics::Model3D::Ptr load ( const std::string &  filename)
pure 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)

Implemented in LoaderAC3D, Loader3DS, LoaderAssimp, LoaderOBJ, and LoaderTRI.


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