Choreonoid  1.5
Public Member Functions | List of all members
cnoid::YAMLBodyLoader Class Reference

#include <YAMLBodyLoader.h>

Inheritance diagram for cnoid::YAMLBodyLoader:
cnoid::AbstractBodyLoader

Public Member Functions

 YAMLBodyLoader ()
 
 ~YAMLBodyLoader ()
 
virtual const char * format () const
 
virtual void setMessageSink (std::ostream &os)
 
virtual void setVerbose (bool on)
 
virtual void enableShapeLoading (bool on)
 
virtual void setDefaultDivisionNumber (int n)
 
virtual bool load (Body *body, const std::string &filename)
 
bool read (Body *body, Mapping *data)
 
- Public Member Functions inherited from cnoid::AbstractBodyLoader
 AbstractBodyLoader ()
 
virtual ~AbstractBodyLoader ()
 
virtual void setShapeLoadingEnabled (bool on)
 
virtual void setDefaultCreaseAngle (double theta)
 

Constructor & Destructor Documentation

◆ YAMLBodyLoader()

YAMLBodyLoader::YAMLBodyLoader ( )

◆ ~YAMLBodyLoader()

YAMLBodyLoader::~YAMLBodyLoader ( )

Member Function Documentation

◆ enableShapeLoading()

void YAMLBodyLoader::enableShapeLoading ( bool  on)
virtual

◆ format()

const char * YAMLBodyLoader::format ( ) const
virtual
Todo:
Modify the API for getting the format information so that multipule formats can be supported and more detailed information can be obtained.

Implements cnoid::AbstractBodyLoader.

◆ load()

bool YAMLBodyLoader::load ( Body body,
const std::string &  filename 
)
virtual

◆ read()

bool YAMLBodyLoader::read ( Body body,
Mapping data 
)

◆ setDefaultDivisionNumber()

void YAMLBodyLoader::setDefaultDivisionNumber ( int  n)
virtual

Reimplemented from cnoid::AbstractBodyLoader.

◆ setMessageSink()

void YAMLBodyLoader::setMessageSink ( std::ostream &  os)
virtual

Reimplemented from cnoid::AbstractBodyLoader.

◆ setVerbose()

void YAMLBodyLoader::setVerbose ( bool  on)
virtual

Reimplemented from cnoid::AbstractBodyLoader.


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