#include <BodyInfo_impl.h>
Public Member Functions | |
BodyInfo_impl (PortableServer::POA_ptr poa) | |
void | changetoBoundingBox (unsigned int *depth) |
void | changetoOriginData () |
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) |
This function loads a model file and creates a BodyInfo object. | |
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 | ~BodyInfo_impl () |
Protected Member Functions | |
virtual const std::string & | topUrl () |
Private Member Functions | |
void | readHwcNode (int linkInfoIndex, HwcInfo &hwcInfo, VrmlProtoInstancePtr hwcNode) |
int | readJointNodeSet (JointNodeSetPtr jointNodeSet, int ¤tIndex, int motherIndex) |
void | readLightNode (int linkInfoIndex, LightInfo &LightInfo, std::pair< Matrix44, VrmlNodePtr > &transformedLight) |
void | readSensorNode (int linkInfoIndex, SensorInfo &sensorInfo, VrmlProtoInstancePtr sensorNode) |
void | setHwcs (int linkInfoIndex, JointNodeSetPtr jointNodeSet) |
void | setJointParameters (int linkInfoIndex, VrmlProtoInstancePtr jointNode) |
void | setLights (int linkInfoIndex, JointNodeSetPtr jointNodeSet) |
void | setSegmentParameters (int linkInfoIndex, JointNodeSetPtr jointNodeSet) |
void | setSensors (int linkInfoIndex, JointNodeSetPtr jointNodeSet) |
Private Attributes | |
OpenHRP::ModelLoader::AABBdataType | AABBdataType_ |
ExtraJointInfoSequence | extraJoints_ |
StringSequence | info_ |
time_t | lastUpdate_ |
std::vector< ColdetModelPtr > | linkColdetModels |
LinkInfoSequence | links_ |
AllLinkShapeIndexSequence | linkShapeIndices_ |
std::string | name_ |
AllLinkShapeIndexSequence | originlinkShapeIndices_ |
bool | readImage_ |
std::string | url_ |
Definition at line 29 of file BodyInfo_impl.h.
BodyInfo_impl::BodyInfo_impl | ( | PortableServer::POA_ptr | poa | ) |
Definition at line 43 of file BodyInfo_impl.cpp.
BodyInfo_impl::~BodyInfo_impl | ( | ) | [virtual] |
Definition at line 50 of file BodyInfo_impl.cpp.
void BodyInfo_impl::changetoBoundingBox | ( | unsigned int * | depth | ) |
Definition at line 767 of file BodyInfo_impl.cpp.
Definition at line 850 of file BodyInfo_impl.cpp.
bool BodyInfo_impl::checkInlineFileUpdateTime | ( | ) | [inline] |
Definition at line 49 of file BodyInfo_impl.h.
ExtraJointInfoSequence * BodyInfo_impl::extraJoints | ( | ) | [virtual] |
Definition at line 91 of file BodyInfo_impl.cpp.
time_t BodyInfo_impl::getLastUpdateTime | ( | ) | [inline] |
Definition at line 48 of file BodyInfo_impl.h.
bool BodyInfo_impl::getParam | ( | std::string | param | ) |
Definition at line 749 of file BodyInfo_impl.cpp.
StringSequence * BodyInfo_impl::info | ( | ) | [virtual] |
Definition at line 74 of file BodyInfo_impl.cpp.
LinkInfoSequence * BodyInfo_impl::links | ( | ) | [virtual] |
Definition at line 80 of file BodyInfo_impl.cpp.
AllLinkShapeIndexSequence * BodyInfo_impl::linkShapeIndices | ( | ) | [virtual] |
Definition at line 86 of file BodyInfo_impl.cpp.
void BodyInfo_impl::loadModelFile | ( | const std::string & | url | ) |
This function loads a model file and creates a BodyInfo object.
url | The url to a model file |
Definition at line 104 of file BodyInfo_impl.cpp.
char * BodyInfo_impl::name | ( | ) | [virtual] |
Definition at line 62 of file BodyInfo_impl.cpp.
void BodyInfo_impl::readHwcNode | ( | int | linkInfoIndex, |
HwcInfo & | hwcInfo, | ||
VrmlProtoInstancePtr | hwcNode | ||
) | [private] |
Definition at line 657 of file BodyInfo_impl.cpp.
int BodyInfo_impl::readJointNodeSet | ( | JointNodeSetPtr | jointNodeSet, |
int & | currentIndex, | ||
int | motherIndex | ||
) | [private] |
Definition at line 265 of file BodyInfo_impl.cpp.
void BodyInfo_impl::readLightNode | ( | int | linkInfoIndex, |
LightInfo & | LightInfo, | ||
std::pair< Matrix44, VrmlNodePtr > & | transformedLight | ||
) | [private] |
Definition at line 685 of file BodyInfo_impl.cpp.
void BodyInfo_impl::readSensorNode | ( | int | linkInfoIndex, |
SensorInfo & | sensorInfo, | ||
VrmlProtoInstancePtr | sensorNode | ||
) | [private] |
Definition at line 519 of file BodyInfo_impl.cpp.
void BodyInfo_impl::setHwcs | ( | int | linkInfoIndex, |
JointNodeSetPtr | jointNodeSet | ||
) | [private] |
Definition at line 485 of file BodyInfo_impl.cpp.
void BodyInfo_impl::setJointParameters | ( | int | linkInfoIndex, |
VrmlProtoInstancePtr | jointNode | ||
) | [private] |
Definition at line 324 of file BodyInfo_impl.cpp.
void BodyInfo_impl::setLastUpdateTime | ( | time_t | time | ) | [inline] |
Definition at line 47 of file BodyInfo_impl.h.
void BodyInfo_impl::setLights | ( | int | linkInfoIndex, |
JointNodeSetPtr | jointNodeSet | ||
) | [private] |
Definition at line 501 of file BodyInfo_impl.cpp.
void BodyInfo_impl::setParam | ( | std::string | param, |
bool | value | ||
) |
Definition at line 742 of file BodyInfo_impl.cpp.
void BodyInfo_impl::setParam | ( | std::string | param, |
int | value | ||
) |
Definition at line 760 of file BodyInfo_impl.cpp.
void BodyInfo_impl::setSegmentParameters | ( | int | linkInfoIndex, |
JointNodeSetPtr | jointNodeSet | ||
) | [private] |
Definition at line 388 of file BodyInfo_impl.cpp.
void BodyInfo_impl::setSensors | ( | int | linkInfoIndex, |
JointNodeSetPtr | jointNodeSet | ||
) | [private] |
Definition at line 468 of file BodyInfo_impl.cpp.
const std::string & BodyInfo_impl::topUrl | ( | ) | [protected, virtual] |
Implements ShapeSetInfo_impl.
Definition at line 56 of file BodyInfo_impl.cpp.
char * BodyInfo_impl::url | ( | ) | [virtual] |
Definition at line 68 of file BodyInfo_impl.cpp.
OpenHRP::ModelLoader::AABBdataType BodyInfo_impl::AABBdataType_ [private] |
Definition at line 65 of file BodyInfo_impl.h.
ExtraJointInfoSequence BodyInfo_impl::extraJoints_ [private] |
Definition at line 73 of file BodyInfo_impl.h.
StringSequence BodyInfo_impl::info_ [private] |
Definition at line 69 of file BodyInfo_impl.h.
time_t BodyInfo_impl::lastUpdate_ [private] |
Definition at line 63 of file BodyInfo_impl.h.
std::vector<ColdetModelPtr> BodyInfo_impl::linkColdetModels [private] |
Definition at line 75 of file BodyInfo_impl.h.
LinkInfoSequence BodyInfo_impl::links_ [private] |
Definition at line 70 of file BodyInfo_impl.h.
AllLinkShapeIndexSequence BodyInfo_impl::linkShapeIndices_ [private] |
Definition at line 71 of file BodyInfo_impl.h.
std::string BodyInfo_impl::name_ [private] |
Definition at line 67 of file BodyInfo_impl.h.
AllLinkShapeIndexSequence BodyInfo_impl::originlinkShapeIndices_ [private] |
Definition at line 72 of file BodyInfo_impl.h.
bool BodyInfo_impl::readImage_ [private] |
Definition at line 64 of file BodyInfo_impl.h.
std::string BodyInfo_impl::url_ [private] |
Definition at line 68 of file BodyInfo_impl.h.