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 ( 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.

Member Function Documentation

void BodyInfoCollada_impl::changetoBoundingBox ( unsigned int depth)

Definition at line 3396 of file BodyInfoCollada_impl.cpp.

bool BodyInfoCollada_impl::checkInlineFileUpdateTime ( )

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

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

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

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.

Friends And Related Function Documentation

friend class ColladaReader
friend

Definition at line 87 of file BodyInfoCollada_impl.h.

Member Data Documentation

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

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_
staticprivate

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.


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