#include <StdBodyLoader.h>
|
| StdBodyLoader () |
|
| ~StdBodyLoader () |
|
virtual void | setMessageSink (std::ostream &os) override |
|
virtual void | setVerbose (bool on) override |
|
virtual void | setShapeLoadingEnabled (bool on) override |
|
virtual void | setDefaultDivisionNumber (int n) override |
|
virtual void | setDefaultCreaseAngle (double theta) override |
|
virtual bool | load (Body *body, const std::string &filename) override |
|
bool | read (Body *body, Mapping *data) |
|
bool | readDevice (Device *device, const Mapping *node) |
|
StdSceneReader * | sceneReader () |
|
const StdSceneReader * | sceneReader () const |
|
bool | isDegreeMode () const |
|
double | toRadian (double angle) const |
|
bool | readAngle (const Mapping *node, const char *key, double &angle) const |
|
bool | readRotation (const Mapping *node, Matrix3 &out_R) const |
|
bool | readRotation (const Mapping *node, const char *key, Matrix3 &out_R) const |
|
bool | readRotation (const Mapping *node, std::initializer_list< const char * > keys, Matrix3 &out_R) const |
|
bool | readDevice (Device *device, const Mapping &node) |
|
bool | readAngle (const Mapping &node, const char *key, double &angle) const |
|
bool | readRotation (const Mapping &node, Matrix3 &out_R) const |
|
bool | readRotation (const Mapping &node, const char *key, Matrix3 &out_R) const |
|
Public Member Functions inherited from cnoid::AbstractBodyLoader |
| AbstractBodyLoader () |
|
virtual | ~AbstractBodyLoader () |
|
◆ StdBodyLoader()
StdBodyLoader::StdBodyLoader |
( |
| ) |
|
◆ ~StdBodyLoader()
StdBodyLoader::~StdBodyLoader |
( |
| ) |
|
◆ addNodeType()
void StdBodyLoader::addNodeType |
( |
const char * |
typeName, |
|
|
std::function< bool(StdBodyLoader &loader, const Mapping &info)> |
readFunction |
|
) |
| |
|
static |
◆ isDegreeMode()
bool StdBodyLoader::isDegreeMode |
( |
| ) |
const |
◆ load()
bool StdBodyLoader::load |
( |
Body * |
body, |
|
|
const std::string & |
filename |
|
) |
| |
|
overridevirtual |
◆ read()
bool StdBodyLoader::read |
( |
Body * |
body, |
|
|
Mapping * |
data |
|
) |
| |
◆ readAngle() [1/2]
bool StdBodyLoader::readAngle |
( |
const Mapping & |
node, |
|
|
const char * |
key, |
|
|
double & |
angle |
|
) |
| const |
◆ readAngle() [2/2]
bool StdBodyLoader::readAngle |
( |
const Mapping * |
node, |
|
|
const char * |
key, |
|
|
double & |
angle |
|
) |
| const |
◆ readDevice() [1/2]
bool StdBodyLoader::readDevice |
( |
Device * |
device, |
|
|
const Mapping & |
node |
|
) |
| |
◆ readDevice() [2/2]
bool StdBodyLoader::readDevice |
( |
Device * |
device, |
|
|
const Mapping * |
node |
|
) |
| |
◆ readRotation() [1/5]
bool StdBodyLoader::readRotation |
( |
const Mapping & |
node, |
|
|
const char * |
key, |
|
|
Matrix3 & |
out_R |
|
) |
| const |
◆ readRotation() [2/5]
bool StdBodyLoader::readRotation |
( |
const Mapping & |
node, |
|
|
Matrix3 & |
out_R |
|
) |
| const |
◆ readRotation() [3/5]
bool StdBodyLoader::readRotation |
( |
const Mapping * |
node, |
|
|
const char * |
key, |
|
|
Matrix3 & |
out_R |
|
) |
| const |
◆ readRotation() [4/5]
bool StdBodyLoader::readRotation |
( |
const Mapping * |
node, |
|
|
Matrix3 & |
out_R |
|
) |
| const |
◆ readRotation() [5/5]
bool StdBodyLoader::readRotation |
( |
const Mapping * |
node, |
|
|
std::initializer_list< const char * > |
keys, |
|
|
Matrix3 & |
out_R |
|
) |
| const |
◆ registerNodeType()
void StdBodyLoader::registerNodeType |
( |
const char * |
typeName, |
|
|
std::function< bool(StdBodyLoader *loader, const Mapping *info)> |
readFunction |
|
) |
| |
|
static |
◆ sceneReader() [1/2]
◆ sceneReader() [2/2]
◆ setDefaultCreaseAngle()
void StdBodyLoader::setDefaultCreaseAngle |
( |
double |
theta | ) |
|
|
overridevirtual |
◆ setDefaultDivisionNumber()
void StdBodyLoader::setDefaultDivisionNumber |
( |
int |
n | ) |
|
|
overridevirtual |
◆ setMessageSink()
void StdBodyLoader::setMessageSink |
( |
std::ostream & |
os | ) |
|
|
overridevirtual |
◆ setShapeLoadingEnabled()
void StdBodyLoader::setShapeLoadingEnabled |
( |
bool |
on | ) |
|
|
overridevirtual |
◆ setVerbose()
void StdBodyLoader::setVerbose |
( |
bool |
on | ) |
|
|
overridevirtual |
◆ toRadian()
double StdBodyLoader::toRadian |
( |
double |
angle | ) |
const |
The documentation for this class was generated from the following files: