reads in collada files and initializes a BodyInfo struct More...
#include <BodyInfoCollada_impl.h>
Public Member Functions | |
BodyInfoCollada_impl (PortableServer::POA_ptr poa) | |
void | changetoBoundingBox (unsigned int *depth) |
bool | checkInlineFileUpdateTime () |
virtual ExtraJointInfoSequence * | extraJoints () |
time_t | getLastUpdateTime () |
bool | getParam (std::string param) |
virtual StringSequence * | info () |
virtual LinkInfoSequence * | links () |
virtual AllLinkShapeIndexSequence * | linkShapeIndices () |
void | loadModelFile (const std::string &filename) |
virtual char * | name () |
void | setLastUpdateTime (time_t time) |
void | setParam (std::string param, bool value) |
void | setParam (std::string param, int value) |
virtual char * | url () |
virtual | ~BodyInfoCollada_impl () |
Protected Member Functions | |
virtual const std::string & | topUrl () |
Private Member Functions | |
void | setColdetModel (ColdetModelPtr &coldetModel, TransformedShapeIndexSequence shapeIndices, const Matrix44 &Tparent, int &vertexIndex, int &triangleIndex) |
void | setColdetModelTriangles (ColdetModelPtr &coldetModel, const TransformedShapeIndex &tsi, const Matrix44 &Tparent, int &vertexIndex, int &triangleIndex) |
Private Attributes | |
OpenHRP::ModelLoader::AABBdataType | AABBdataType_ |
ExtraJointInfoSequence | extraJoints_ |
std::map< std::string, time_t > | fileTimeMap |
StringSequence | info_ |
time_t | lastUpdate_ |
std::vector< ColdetModelPtr > | linkColdetModels |
LinkInfoSequence | links_ |
AllLinkShapeIndexSequence | linkShapeIndices_ |
std::string | name_ |
bool | readImage_ |
std::string | url_ |
Static Private Attributes | |
static boost::mutex | lock_ |
Friends | |
class | ColladaReader |
reads in collada files and initializes a BodyInfo struct
Definition at line 36 of file BodyInfoCollada_impl.h.
BodyInfoCollada_impl::BodyInfoCollada_impl | ( | PortableServer::POA_ptr | poa | ) |
Definition at line 3270 of file BodyInfoCollada_impl.cpp.
BodyInfoCollada_impl::~BodyInfoCollada_impl | ( | ) | [virtual] |
Definition at line 3277 of file BodyInfoCollada_impl.cpp.
void BodyInfoCollada_impl::changetoBoundingBox | ( | unsigned int * | depth | ) |
Definition at line 3396 of file BodyInfoCollada_impl.cpp.
Definition at line 3479 of file BodyInfoCollada_impl.cpp.
ExtraJointInfoSequence * BodyInfoCollada_impl::extraJoints | ( | ) | [virtual] |
Definition at line 3316 of file BodyInfoCollada_impl.cpp.
time_t BodyInfoCollada_impl::getLastUpdateTime | ( | ) | [inline] |
Definition at line 54 of file BodyInfoCollada_impl.h.
bool BodyInfoCollada_impl::getParam | ( | std::string | param | ) |
Definition at line 3341 of file BodyInfoCollada_impl.cpp.
StringSequence * BodyInfoCollada_impl::info | ( | ) | [virtual] |
Definition at line 3299 of file BodyInfoCollada_impl.cpp.
LinkInfoSequence * BodyInfoCollada_impl::links | ( | ) | [virtual] |
Definition at line 3305 of file BodyInfoCollada_impl.cpp.
AllLinkShapeIndexSequence * BodyInfoCollada_impl::linkShapeIndices | ( | ) | [virtual] |
Definition at line 3311 of file BodyInfoCollada_impl.cpp.
void BodyInfoCollada_impl::loadModelFile | ( | const std::string & | filename | ) |
Definition at line 3322 of file BodyInfoCollada_impl.cpp.
char * BodyInfoCollada_impl::name | ( | ) | [virtual] |
Definition at line 3287 of file BodyInfoCollada_impl.cpp.
void BodyInfoCollada_impl::setColdetModel | ( | ColdetModelPtr & | coldetModel, |
TransformedShapeIndexSequence | shapeIndices, | ||
const Matrix44 & | Tparent, | ||
int & | vertexIndex, | ||
int & | triangleIndex | ||
) | [private] |
Reimplemented from ShapeSetInfo_impl.
Definition at line 3356 of file BodyInfoCollada_impl.cpp.
void BodyInfoCollada_impl::setColdetModelTriangles | ( | ColdetModelPtr & | coldetModel, |
const TransformedShapeIndex & | tsi, | ||
const Matrix44 & | Tparent, | ||
int & | vertexIndex, | ||
int & | triangleIndex | ||
) | [private] |
Reimplemented from ShapeSetInfo_impl.
Definition at line 3363 of file BodyInfoCollada_impl.cpp.
void BodyInfoCollada_impl::setLastUpdateTime | ( | time_t | time | ) | [inline] |
Definition at line 53 of file BodyInfoCollada_impl.h.
void BodyInfoCollada_impl::setParam | ( | std::string | param, |
bool | value | ||
) |
Definition at line 3334 of file BodyInfoCollada_impl.cpp.
void BodyInfoCollada_impl::setParam | ( | std::string | param, |
int | value | ||
) |
Definition at line 3349 of file BodyInfoCollada_impl.cpp.
const std::string & BodyInfoCollada_impl::topUrl | ( | ) | [protected, virtual] |
Implements ShapeSetInfo_impl.
Definition at line 3281 of file BodyInfoCollada_impl.cpp.
char * BodyInfoCollada_impl::url | ( | ) | [virtual] |
Definition at line 3293 of file BodyInfoCollada_impl.cpp.
friend class ColladaReader [friend] |
Definition at line 87 of file BodyInfoCollada_impl.h.
OpenHRP::ModelLoader::AABBdataType BodyInfoCollada_impl::AABBdataType_ [private] |
Definition at line 71 of file BodyInfoCollada_impl.h.
ExtraJointInfoSequence BodyInfoCollada_impl::extraJoints_ [private] |
Definition at line 78 of file BodyInfoCollada_impl.h.
std::map<std::string, time_t> BodyInfoCollada_impl::fileTimeMap [private] |
Reimplemented from ShapeSetInfo_impl.
Definition at line 69 of file BodyInfoCollada_impl.h.
StringSequence BodyInfoCollada_impl::info_ [private] |
Definition at line 75 of file BodyInfoCollada_impl.h.
time_t BodyInfoCollada_impl::lastUpdate_ [private] |
Definition at line 68 of file BodyInfoCollada_impl.h.
std::vector<ColdetModelPtr> BodyInfoCollada_impl::linkColdetModels [private] |
Definition at line 80 of file BodyInfoCollada_impl.h.
LinkInfoSequence BodyInfoCollada_impl::links_ [private] |
Definition at line 76 of file BodyInfoCollada_impl.h.
AllLinkShapeIndexSequence BodyInfoCollada_impl::linkShapeIndices_ [private] |
Definition at line 77 of file BodyInfoCollada_impl.h.
boost::mutex BodyInfoCollada_impl::lock_ [static, private] |
Definition at line 85 of file BodyInfoCollada_impl.h.
std::string BodyInfoCollada_impl::name_ [private] |
Definition at line 73 of file BodyInfoCollada_impl.h.
bool BodyInfoCollada_impl::readImage_ [private] |
Definition at line 70 of file BodyInfoCollada_impl.h.
std::string BodyInfoCollada_impl::url_ [private] |
Definition at line 74 of file BodyInfoCollada_impl.h.