Go to the documentation of this file.
29 #include "Math/Math3d.h"
30 #include "Calibration/StereoCalibration.h"
31 #include "Calibration/Calibration.h"
34 #include "../ParticleFilter/Polygon.h"
46 CFinger(std::vector<float> aJointOffsets, std::vector<Vec3d> aFingerTipCorners);
54 std::vector<float> m_aJointOffsets;
55 std::vector<float> m_aJointAngles;
56 std::vector<Vec3d> m_aFingerTipCornersInLocalCS;
60 CHandModelV2(std::string sConfigFileName, CStereoCalibration* pStereoCalibration);
63 void UpdateHand(
Vec3d vHandPosition, Mat3d mHandOrientation,
float fPalmJointAngle, std::vector<std::vector<float> >& aFingerJointAngles);
VectorXD< 2, double > Vec2d
CStereoCalibration * m_pStereoCalibration
std::vector< ConvexPolygonCalculations::Polygon > m_aFingerTipPolygonsRightCam
Vec2d m_vTrackingBallPosRightCam
std::vector< CFinger * > m_aFingers
void UpdateJointAngles(std::vector< float > aNewJointValues)
std::vector< std::vector< Vec3d > > m_aFingerJointsInWorldCS
Vec3d m_vTrackingBallOffset
VectorXD< 3, double > Vec3d
std::vector< Vec3d > m_aFingerTipCornersInFingerBaseCS
std::vector< Vec3d > m_aFingerJointsInFingerBaseCS
std::string GetNextNonCommentLine(std::ifstream &sFileStream)
Vec2d m_vTrackingBallPosLeftCam
void CalcProjectedPolygons()
std::vector< std::vector< Vec3d > > m_aFingerTipCornersInWorldCS
std::vector< Vec3d > m_aOffsetsToFingers
float m_fTrackingBallRadiusLeftCam
CFinger(std::vector< float > aJointOffsets, std::vector< Vec3d > aFingerTipCorners)
float m_fTrackingBallRadius
float m_fTrackingBallRadiusRightCam
virtual void UpdateHand(double *pConfig)
std::vector< ConvexPolygonCalculations::Polygon > m_aFingerTipPolygonsLeftCam