Public Member Functions | Private Member Functions | Private Attributes
ColdetBody Class Reference

#include <ColdetBody.h>

Inheritance diagram for ColdetBody:
Inheritance graph
[legend]

List of all members.

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< ColdetModelPtrlinkColdetModels
map< string, ColdetModelPtrlinkNameToColdetModelMap
string name_

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.

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.

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

Definition at line 67 of file ColdetBody.h.

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 Thu Apr 11 2019 03:30:21