RobWorkProject
Public Member Functions | Static Public Member Functions | List of all members
TULLoader Class Reference

Loader for the AMROSE TUL format. More...

#include <TULLoader.hpp>

Inherits WorkCellLoader.

Public Member Functions

rw::models::WorkCell::Ptr loadWorkCell (const std::string &filename)
 load a workcell from file More...
 
- Public Member Functions inherited from WorkCellLoader
virtual ~WorkCellLoader ()
 destructor
 
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...
 

Static Public Member Functions

static models::WorkCell::Ptr load (const std::string &filename)
 Loads/imports TUL file. More...
 

Additional Inherited Members

- Public Types inherited from WorkCellLoader
typedef rw::common::Ptr< WorkCellLoaderPtr
 smart pointer of WorkCellLoader
 
- Protected Member Functions inherited from WorkCellLoader
 WorkCellLoader ()
 Constructor.
 
 WorkCellLoader (rw::graphics::WorkCellScene::Ptr scene)
 Constructor with a drawable scene. More...
 

Detailed Description

Loader for the AMROSE TUL format.

Member Function Documentation

◆ load()

static models::WorkCell::Ptr load ( const std::string &  filename)
static

Loads/imports TUL file.

An exception is thrown if the file can't be loaded.

Parameters
filename[in] filename of TUL file

◆ loadWorkCell()

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

load a workcell from file

Parameters
filename[in] path to workcell file

Implements WorkCellLoader.


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