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

#include <ColdetBody.h>

Inheritance diagram for ColdetBody:
Inheritance graph
[legend]

Public Member Functions

 ColdetBody (BodyInfo_ptr bodyInfo)
 
 ColdetBody (const ColdetBody &org)
 
ColdetModelPtr linkColdetModel (int linkIndex)
 
ColdetModelPtr linkColdetModel (const string &linkName)
 
const char * name ()
 
unsigned int numLinks () const
 
void setLinkPositions (const LinkPositionSequence &linkPositions)
 
void setName (const char *name)
 
- Public Member Functions inherited from hrp::Referenced
 Referenced ()
 
virtual ~Referenced ()
 

Private Member Functions

void addLinkPrimitiveInfo (ColdetModelPtr &coldetModel, const double *R, const double *p, const ShapeInfo &shapeInfo)
 
void addLinkVerticesAndTriangles (ColdetModelPtr &coldetModel, LinkInfo &linkInfo, ShapeInfoSequence_var &shapes)
 
void addLinkVerticesAndTriangles (ColdetModelPtr &coldetModel, const TransformedShapeIndex &tsi, const Matrix44 &Tparent, ShapeInfoSequence_var &shapes, int &vertexIndex, int &triangleIndex)
 

Private Attributes

vector< ColdetModelPtrlinkColdetModels
 
map< string, ColdetModelPtrlinkNameToColdetModelMap
 
string name_
 

Additional Inherited Members

- Protected Member Functions inherited from hrp::Referenced
int refCounter ()
 

Detailed Description

Definition at line 31 of file ColdetBody.h.

Constructor & Destructor Documentation

ColdetBody::ColdetBody ( BodyInfo_ptr  bodyInfo)
Author
Shin'ichiro Nakaoka

Definition at line 18 of file ColdetBody.cpp.

ColdetBody::ColdetBody ( const ColdetBody org)

do shallow copy (sharing the same ColdetModel instances)

Definition at line 183 of file ColdetBody.cpp.

Member Function Documentation

void ColdetBody::addLinkPrimitiveInfo ( ColdetModelPtr coldetModel,
const double *  R,
const double *  p,
const ShapeInfo &  shapeInfo 
)
private

Definition at line 88 of file ColdetBody.cpp.

void ColdetBody::addLinkVerticesAndTriangles ( ColdetModelPtr coldetModel,
LinkInfo &  linkInfo,
ShapeInfoSequence_var &  shapes 
)
private

Definition at line 151 of file ColdetBody.cpp.

void ColdetBody::addLinkVerticesAndTriangles ( ColdetModelPtr coldetModel,
const TransformedShapeIndex &  tsi,
const Matrix44 Tparent,
ShapeInfoSequence_var &  shapes,
int vertexIndex,
int triangleIndex 
)
private

Definition at line 119 of file ColdetBody.cpp.

ColdetModelPtr ColdetBody::linkColdetModel ( int  linkIndex)
inline

Definition at line 47 of file ColdetBody.h.

ColdetModelPtr ColdetBody::linkColdetModel ( const string &  linkName)
inline

Definition at line 51 of file ColdetBody.h.

const char* ColdetBody::name ( )
inline

Definition at line 42 of file ColdetBody.h.

unsigned int ColdetBody::numLinks ( ) const
inline

Definition at line 44 of file ColdetBody.h.

void ColdetBody::setLinkPositions ( const LinkPositionSequence &  linkPositions)

Definition at line 190 of file ColdetBody.cpp.

void ColdetBody::setName ( const char *  name)
inline

Definition at line 41 of file ColdetBody.h.

Member Data Documentation

vector<ColdetModelPtr> ColdetBody::linkColdetModels
private

Definition at line 67 of file ColdetBody.h.

map<string, ColdetModelPtr> ColdetBody::linkNameToColdetModelMap
private

Definition at line 68 of file ColdetBody.h.

string ColdetBody::name_
private

Definition at line 69 of file ColdetBody.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