CHandModelV2 Class Reference

#include <VisionX/vision_algorithms/HandLocalizationWithFingertips/HandModel/HandModelV2.h>

+ Inheritance diagram for CHandModelV2:

Classes

class  CFinger
 

Public Member Functions

 CHandModelV2 (std::string sConfigFileName, CStereoCalibration *pStereoCalibration)
 
virtual void UpdateHand (double *pConfig)
 
void UpdateHand (Vec3d vHandPosition, Mat3d mHandOrientation, float fPalmJointAngle, std::vector< std::vector< float > > &aFingerJointAngles)
 
virtual ~CHandModelV2 ()
 

Public Attributes

std::vector< std::vector< Vec3d > > m_aFingerJointsInWorldCS
 
std::vector< std::vector< Vec3d > > m_aFingerTipCornersInWorldCS
 
std::vector< ConvexPolygonCalculations::Polygon > m_aFingerTipPolygonsLeftCam
 
std::vector< ConvexPolygonCalculations::Polygon > m_aFingerTipPolygonsRightCam
 
float m_fTrackingBallRadiusLeftCam
 
float m_fTrackingBallRadiusRightCam
 
Mat3d m_mHandOrientation
 
Vec3d m_vHandPosition
 
Vec2d m_vTrackingBallPosLeftCam
 
Vec2d m_vTrackingBallPosRightCam
 

Protected Member Functions

void CalcProjectedPolygons ()
 
 CHandModelV2 ()
 
std::string GetNextNonCommentLine (std::ifstream &sFileStream)
 

Protected Attributes

std::vector< CFinger * > m_aFingers
 
std::vector< Vec3d > m_aOffsetsToFingers
 
float m_fPalmJointAngle
 
float m_fTrackingBallRadius
 
CStereoCalibration * m_pStereoCalibration
 
Vec3d m_vTrackingBallOffset
 

Constructor & Destructor Documentation

◆ CHandModelV2() [1/2]

CHandModelV2 ( std::string sConfigFileName,
CStereoCalibration * pStereoCalibration )

◆ ~CHandModelV2()

virtual ~CHandModelV2 ( )
inlinevirtual

◆ CHandModelV2() [2/2]

CHandModelV2 ( )
inlineprotected

Member Function Documentation

◆ CalcProjectedPolygons()

void CalcProjectedPolygons ( )
protected

◆ GetNextNonCommentLine()

std::string GetNextNonCommentLine ( std::ifstream & sFileStream)
protected

◆ UpdateHand() [1/2]

void UpdateHand ( double * pConfig)
virtual

Reimplemented in HandModeliCub.

◆ UpdateHand() [2/2]

void UpdateHand ( Vec3d vHandPosition,
Mat3d mHandOrientation,
float fPalmJointAngle,
std::vector< std::vector< float > > & aFingerJointAngles )

Member Data Documentation

◆ m_aFingerJointsInWorldCS

std::vector<std::vector<Vec3d> > m_aFingerJointsInWorldCS

◆ m_aFingers

std::vector<CFinger*> m_aFingers
protected

◆ m_aFingerTipCornersInWorldCS

std::vector<std::vector<Vec3d> > m_aFingerTipCornersInWorldCS

◆ m_aFingerTipPolygonsLeftCam

std::vector<ConvexPolygonCalculations::Polygon> m_aFingerTipPolygonsLeftCam

◆ m_aFingerTipPolygonsRightCam

std::vector<ConvexPolygonCalculations::Polygon> m_aFingerTipPolygonsRightCam

◆ m_aOffsetsToFingers

std::vector<Vec3d> m_aOffsetsToFingers
protected

◆ m_fPalmJointAngle

float m_fPalmJointAngle
protected

◆ m_fTrackingBallRadius

float m_fTrackingBallRadius
protected

◆ m_fTrackingBallRadiusLeftCam

float m_fTrackingBallRadiusLeftCam

◆ m_fTrackingBallRadiusRightCam

float m_fTrackingBallRadiusRightCam

◆ m_mHandOrientation

Mat3d m_mHandOrientation

◆ m_pStereoCalibration

CStereoCalibration* m_pStereoCalibration
protected

◆ m_vHandPosition

Vec3d m_vHandPosition

◆ m_vTrackingBallOffset

Vec3d m_vTrackingBallOffset
protected

◆ m_vTrackingBallPosLeftCam

Vec2d m_vTrackingBallPosLeftCam

◆ m_vTrackingBallPosRightCam

Vec2d m_vTrackingBallPosRightCam

The documentation for this class was generated from the following files: