Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
BodyInfoCollada_impl Class Reference

reads in collada files and initializes a BodyInfo struct More...

#include <BodyInfoCollada_impl.h>

Inheritance diagram for BodyInfoCollada_impl:
Inheritance graph
[legend]

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 ()
 
- 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 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< ColdetModelPtrlinkColdetModels
 
LinkInfoSequence links_
 
AllLinkShapeIndexSequence linkShapeIndices_
 
std::string name_
 
bool readImage_
 
std::string url_
 

Static Private Attributes

static boost::mutex lock_
 

Friends

class ColladaReader
 

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

reads in collada files and initializes a BodyInfo struct

Definition at line 36 of file BodyInfoCollada_impl.h.

Constructor & Destructor Documentation

◆ BodyInfoCollada_impl()

BodyInfoCollada_impl::BodyInfoCollada_impl ( PortableServer::POA_ptr  poa)

Definition at line 3270 of file BodyInfoCollada_impl.cpp.

◆ ~BodyInfoCollada_impl()

BodyInfoCollada_impl::~BodyInfoCollada_impl ( )
virtual

Definition at line 3277 of file BodyInfoCollada_impl.cpp.

Member Function Documentation

◆ changetoBoundingBox()

void BodyInfoCollada_impl::changetoBoundingBox ( unsigned int depth)

Definition at line 3396 of file BodyInfoCollada_impl.cpp.

◆ checkInlineFileUpdateTime()

bool BodyInfoCollada_impl::checkInlineFileUpdateTime ( )

Definition at line 3479 of file BodyInfoCollada_impl.cpp.

◆ extraJoints()

ExtraJointInfoSequence * BodyInfoCollada_impl::extraJoints ( )
virtual

Definition at line 3316 of file BodyInfoCollada_impl.cpp.

◆ getLastUpdateTime()

time_t BodyInfoCollada_impl::getLastUpdateTime ( )
inline

Definition at line 54 of file BodyInfoCollada_impl.h.

◆ getParam()

bool BodyInfoCollada_impl::getParam ( std::string  param)

Definition at line 3341 of file BodyInfoCollada_impl.cpp.

◆ info()

StringSequence * BodyInfoCollada_impl::info ( )
virtual

Definition at line 3299 of file BodyInfoCollada_impl.cpp.

◆ links()

LinkInfoSequence * BodyInfoCollada_impl::links ( )
virtual

Definition at line 3305 of file BodyInfoCollada_impl.cpp.

◆ linkShapeIndices()

AllLinkShapeIndexSequence * BodyInfoCollada_impl::linkShapeIndices ( )
virtual

Definition at line 3311 of file BodyInfoCollada_impl.cpp.

◆ loadModelFile()

void BodyInfoCollada_impl::loadModelFile ( const std::string &  filename)

Definition at line 3322 of file BodyInfoCollada_impl.cpp.

◆ name()

char * BodyInfoCollada_impl::name ( )
virtual

Definition at line 3287 of file BodyInfoCollada_impl.cpp.

◆ setColdetModel()

void BodyInfoCollada_impl::setColdetModel ( ColdetModelPtr coldetModel,
TransformedShapeIndexSequence  shapeIndices,
const Matrix44 Tparent,
int vertexIndex,
int triangleIndex 
)
private

Definition at line 3356 of file BodyInfoCollada_impl.cpp.

◆ setColdetModelTriangles()

void BodyInfoCollada_impl::setColdetModelTriangles ( ColdetModelPtr coldetModel,
const TransformedShapeIndex &  tsi,
const Matrix44 Tparent,
int vertexIndex,
int triangleIndex 
)
private

Definition at line 3363 of file BodyInfoCollada_impl.cpp.

◆ setLastUpdateTime()

void BodyInfoCollada_impl::setLastUpdateTime ( time_t  time)
inline

Definition at line 53 of file BodyInfoCollada_impl.h.

◆ setParam() [1/2]

void BodyInfoCollada_impl::setParam ( std::string  param,
bool  value 
)

Definition at line 3334 of file BodyInfoCollada_impl.cpp.

◆ setParam() [2/2]

void BodyInfoCollada_impl::setParam ( std::string  param,
int  value 
)

Definition at line 3349 of file BodyInfoCollada_impl.cpp.

◆ topUrl()

const std::string & BodyInfoCollada_impl::topUrl ( )
protectedvirtual

Implements ShapeSetInfo_impl.

Definition at line 3281 of file BodyInfoCollada_impl.cpp.

◆ url()

char * BodyInfoCollada_impl::url ( )
virtual

Definition at line 3293 of file BodyInfoCollada_impl.cpp.

Friends And Related Function Documentation

◆ ColladaReader

friend class ColladaReader
friend

Definition at line 87 of file BodyInfoCollada_impl.h.

Member Data Documentation

◆ AABBdataType_

OpenHRP::ModelLoader::AABBdataType BodyInfoCollada_impl::AABBdataType_
private

Definition at line 71 of file BodyInfoCollada_impl.h.

◆ extraJoints_

ExtraJointInfoSequence BodyInfoCollada_impl::extraJoints_
private

Definition at line 78 of file BodyInfoCollada_impl.h.

◆ fileTimeMap

std::map<std::string, time_t> BodyInfoCollada_impl::fileTimeMap
private

Definition at line 69 of file BodyInfoCollada_impl.h.

◆ info_

StringSequence BodyInfoCollada_impl::info_
private

Definition at line 75 of file BodyInfoCollada_impl.h.

◆ lastUpdate_

time_t BodyInfoCollada_impl::lastUpdate_
private

Definition at line 68 of file BodyInfoCollada_impl.h.

◆ linkColdetModels

std::vector<ColdetModelPtr> BodyInfoCollada_impl::linkColdetModels
private

Definition at line 80 of file BodyInfoCollada_impl.h.

◆ links_

LinkInfoSequence BodyInfoCollada_impl::links_
private

Definition at line 76 of file BodyInfoCollada_impl.h.

◆ linkShapeIndices_

AllLinkShapeIndexSequence BodyInfoCollada_impl::linkShapeIndices_
private

Definition at line 77 of file BodyInfoCollada_impl.h.

◆ lock_

boost::mutex BodyInfoCollada_impl::lock_
staticprivate

Definition at line 85 of file BodyInfoCollada_impl.h.

◆ name_

std::string BodyInfoCollada_impl::name_
private

Definition at line 73 of file BodyInfoCollada_impl.h.

◆ readImage_

bool BodyInfoCollada_impl::readImage_
private

Definition at line 70 of file BodyInfoCollada_impl.h.

◆ url_

std::string BodyInfoCollada_impl::url_
private

Definition at line 74 of file BodyInfoCollada_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 Thu Sep 8 2022 02:24:06