15 #ifndef HRPMODEL_BODY_CUSTOMIZER_INTERFACE_H_INCLUDED 16 #define HRPMODEL_BODY_CUSTOMIZER_INTERFACE_H_INCLUDED 28 typedef const char* (*BodyGetLinkNameFunc) (BodyHandle bodyHandle,
int linkIndex);
29 typedef double* (*BodyGetLinkDoubleValuePtrFunc)(BodyHandle bodyHandle,
int linkIndex);
44 typedef const char** (*BodyCustomizerGetTargetModelNamesFunc)();
BodyCustomizerHandle(* BodyCustomizerCreateFunc)(BodyHandle bodyHandle, const char *modelName)
BodyGetLinkDoubleValuePtrFunc getJointValuePtr
int(* BodyCustomizerInitializeAnalyticIkFunc)(BodyCustomizerHandle customizerHandle, int baseLinkIndex, int targetLinkIndex)
BodyCustomizerInitializeAnalyticIkFunc initializeAnalyticIk
bool(* BodyCustomizerCalcAnalyticIkFunc)(BodyCustomizerHandle customizerHandle, int ikPathId, const Vector3 &p, const Matrix33 &R)
static const int BODY_INTERFACE_VERSION
void(* BodyCustomizerSetVirtualJointForcesFunc)(BodyCustomizerHandle customizerHandle)
double *(* BodyGetLinkDoubleValuePtrFunc)(BodyHandle bodyHandle, int linkIndex)
const char **(* BodyCustomizerGetTargetModelNamesFunc)()
BodyGetLinkIndexFromNameFunc getLinkIndexFromName
static const int BODY_CUSTOMIZER_INTERFACE_VERSION
BodyCustomizerCreateFunc create
static BodyInterface * bodyInterface
BodyCustomizerSetVirtualJointForcesFunc setVirtualJointForces
BodyGetLinkDoubleValuePtrFunc getJointForcePtr
BodyCustomizerDestroyFunc destroy
BodyGetLinkNameFunc getLinkName
void * BodyCustomizerHandle
typedef void(PNGAPI *png_error_ptr) PNGARG((png_structp
BodyCustomizerGetTargetModelNamesFunc getTargetModelNames
const char *(* BodyGetLinkNameFunc)(BodyHandle bodyHandle, int linkIndex)
BodyGetLinkDoubleValuePtrFunc getJointVelocityPtr
int(* BodyGetLinkIndexFromNameFunc)(BodyHandle bodyHandle, const char *linkName)
void(* BodyCustomizerDestroyFunc)(BodyCustomizerHandle customizerHandle)
BodyCustomizerCalcAnalyticIkFunc calcAnalyticIk
HRPMODEL_API int loadBodyCustomizers(const std::string pathString, BodyInterface *bodyInterface)
HRPMODEL_API BodyCustomizerInterface * findBodyCustomizer(std::string modelName)