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

Defines an interface. More...

#include <WorkCellLoader.hpp>

Inherited by ColladaLoader, TULLoader, and XMLRWLoader.

Classes

class  Factory
 a factory for WorkCellLoader. This factory also defines an extension point for workcell loaders. More...
 

Public Types

typedef rw::common::Ptr< WorkCellLoaderPtr
 smart pointer of WorkCellLoader
 

Public Member Functions

virtual ~WorkCellLoader ()
 destructor
 
virtual models::WorkCell::Ptr loadWorkCell (const std::string &filename)=0
 load a workcell from file More...
 
virtual void setScene (rw::graphics::WorkCellScene::Ptr scene)
 set the scene that is used to create drawable models More...
 
virtual rw::graphics::WorkCellScene::Ptr getScene ()
 get the scene used to create a drawable scene More...
 

Protected Member Functions

 WorkCellLoader ()
 Constructor.
 
 WorkCellLoader (rw::graphics::WorkCellScene::Ptr scene)
 Constructor with a drawable scene. More...
 

Detailed Description

Defines an interface.

Constructor & Destructor Documentation

◆ WorkCellLoader()

Constructor with a drawable scene.

Parameters
scene[in] a workcell scene.

Member Function Documentation

◆ getScene()

virtual rw::graphics::WorkCellScene::Ptr getScene ( )
inlinevirtual

get the scene used to create a drawable scene

Returns

◆ loadWorkCell()

virtual models::WorkCell::Ptr loadWorkCell ( const std::string &  filename)
pure virtual

load a workcell from file

Parameters
filename[in] path to workcell file

Implemented in ColladaLoader, XMLRWLoader, and TULLoader.

◆ setScene()

virtual void setScene ( rw::graphics::WorkCellScene::Ptr  scene)
inlinevirtual

set the scene that is used to create drawable models

Parameters
scene[in] scene factory

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