Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
BodyInfo_impl Class Reference

#include <BodyInfo_impl.h>

Inheritance diagram for BodyInfo_impl:
Inheritance graph
[legend]

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. More...
 
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 ()
 
- Public Member Functions inherited from ShapeSetInfo_impl
virtual PortableServer::POA_ptr _default_POA ()
 
virtual AppearanceInfoSequence * appearances ()
 
virtual MaterialInfoSequence * materials ()
 
virtual ShapeInfoSequence * shapes ()
 
 ShapeSetInfo_impl (PortableServer::POA_ptr poa)
 
virtual TextureInfoSequence * textures ()
 
virtual ~ShapeSetInfo_impl ()
 

Protected Member Functions

virtual const std::string & topUrl ()
 
- Protected Member Functions inherited from ShapeSetInfo_impl
void applyTriangleMeshShaper (VrmlNodePtr node)
 
bool checkFileUpdateTime ()
 
void createAppearanceInfo ()
 
std::string & replace (std::string &str, const std::string &sb, const std::string &sa)
 
void restoreOriginalData ()
 
void saveOriginalData ()
 
void setBoundingBoxData (const Vector3 &boxSize, int shapeIndex)
 
void setColdetModel (ColdetModelPtr &coldetModel, TransformedShapeIndexSequence shapeIndices, const Matrix44 &Tparent, int &vertexIndex, int &triangleIndex)
 
void traverseShapeNodes (VrmlNode *node, const Matrix44 &T, TransformedShapeIndexSequence &io_shapeIndices, DblArray12Sequence &inlinedShapeM, const SFString *url=NULL)
 

Private Member Functions

void readHwcNode (int linkInfoIndex, HwcInfo &hwcInfo, VrmlProtoInstancePtr hwcNode)
 
int readJointNodeSet (JointNodeSetPtr jointNodeSet, int &currentIndex, 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< ColdetModelPtrlinkColdetModels
 
LinkInfoSequence links_
 
AllLinkShapeIndexSequence linkShapeIndices_
 
std::string name_
 
AllLinkShapeIndexSequence originlinkShapeIndices_
 
bool readImage_
 
std::string url_
 

Additional Inherited Members

- Static Protected Member Functions inherited from ShapeSetInfo_impl
static void putMessage (const std::string &message)
 
- Protected Attributes inherited from ShapeSetInfo_impl
bool readImage
 

Detailed Description

Definition at line 29 of file BodyInfo_impl.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void BodyInfo_impl::changetoBoundingBox ( unsigned int depth)

Definition at line 767 of file BodyInfo_impl.cpp.

void BodyInfo_impl::changetoOriginData ( )

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.

Parameters
urlThe 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 ( )
protectedvirtual

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.

Member Data Documentation

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.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:42