#include <ColdetBody.h>

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) |
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< ColdetModelPtr > | linkColdetModels |
| map< string, ColdetModelPtr > | linkNameToColdetModelMap |
| string | name_ |
Definition at line 31 of file ColdetBody.h.
| ColdetBody::ColdetBody | ( | BodyInfo_ptr | bodyInfo | ) |
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.
| 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.
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.