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::Polygonm_aFingerTipPolygonsLeftCam
 
std::vector< ConvexPolygonCalculations::Polygonm_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
 

Detailed Description

Definition at line 40 of file HandModelV2.h.

Constructor & Destructor Documentation

◆ CHandModelV2() [1/2]

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

Definition at line 82 of file HandModelV2.cpp.

+ Here is the call graph for this function:

◆ ~CHandModelV2()

virtual ~CHandModelV2 ( )
inlinevirtual

Definition at line 61 of file HandModelV2.h.

◆ CHandModelV2() [2/2]

CHandModelV2 ( )
inlineprotected

Definition at line 77 of file HandModelV2.h.

Member Function Documentation

◆ CalcProjectedPolygons()

void CalcProjectedPolygons ( )
protected

Definition at line 386 of file HandModelV2.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetNextNonCommentLine()

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

Definition at line 274 of file HandModelV2.cpp.

+ Here is the caller graph for this function:

◆ UpdateHand() [1/2]

void UpdateHand ( double *  pConfig)
virtual

Reimplemented in HandModeliCub.

Definition at line 358 of file HandModelV2.cpp.

+ Here is the caller graph for this function:

◆ UpdateHand() [2/2]

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

Definition at line 290 of file HandModelV2.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_aFingerJointsInWorldCS

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

Definition at line 65 of file HandModelV2.h.

◆ m_aFingers

std::vector<CFinger*> m_aFingers
protected

Definition at line 85 of file HandModelV2.h.

◆ m_aFingerTipCornersInWorldCS

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

Definition at line 66 of file HandModelV2.h.

◆ m_aFingerTipPolygonsLeftCam

std::vector<ConvexPolygonCalculations::Polygon> m_aFingerTipPolygonsLeftCam

Definition at line 71 of file HandModelV2.h.

◆ m_aFingerTipPolygonsRightCam

std::vector<ConvexPolygonCalculations::Polygon> m_aFingerTipPolygonsRightCam

Definition at line 71 of file HandModelV2.h.

◆ m_aOffsetsToFingers

std::vector<Vec3d> m_aOffsetsToFingers
protected

Definition at line 86 of file HandModelV2.h.

◆ m_fPalmJointAngle

float m_fPalmJointAngle
protected

Definition at line 87 of file HandModelV2.h.

◆ m_fTrackingBallRadius

float m_fTrackingBallRadius
protected

Definition at line 90 of file HandModelV2.h.

◆ m_fTrackingBallRadiusLeftCam

float m_fTrackingBallRadiusLeftCam

Definition at line 74 of file HandModelV2.h.

◆ m_fTrackingBallRadiusRightCam

float m_fTrackingBallRadiusRightCam

Definition at line 74 of file HandModelV2.h.

◆ m_mHandOrientation

Mat3d m_mHandOrientation

Definition at line 69 of file HandModelV2.h.

◆ m_pStereoCalibration

CStereoCalibration* m_pStereoCalibration
protected

Definition at line 83 of file HandModelV2.h.

◆ m_vHandPosition

Vec3d m_vHandPosition

Definition at line 68 of file HandModelV2.h.

◆ m_vTrackingBallOffset

Vec3d m_vTrackingBallOffset
protected

Definition at line 89 of file HandModelV2.h.

◆ m_vTrackingBallPosLeftCam

Vec2d m_vTrackingBallPosLeftCam

Definition at line 73 of file HandModelV2.h.

◆ m_vTrackingBallPosRightCam

Vec2d m_vTrackingBallPosRightCam

Definition at line 73 of file HandModelV2.h.


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