CHandModelVisualizer Class Reference

#include <VisionX/vision_algorithms/HandLocalizationWithFingertips/Visualization/HandModelVisualizer.h>

Public Member Functions

 CHandModelVisualizer (CStereoCalibration *pCalibration, bool bUseLeftCamera=true)
 
void ConfigureMoveMasterModel (double *pConfig, bool bDrawCylinderInHand)
 
void DrawFingertips (CByteImage *pImage)
 
void DrawHand (CByteImage *pImage)
 
void DrawHandModelV2 (CByteImage *pImage, bool bLeftCameraImage=true)
 
void DrawPolygon (CByteImage *pImage, ConvexPolygonCalculations::Polygon &pPolygon)
 
void DrawPolygonGrayscale (CByteImage *pImage, ConvexPolygonCalculations::Polygon &pPolygon)
 
void DrawQuadrangleAlongA3DLine (CByteImage *pImage, Vec3d vStart, Vec3d vEnd, float fWidthAtStart, float fWidthAtEnd)
 
void DrawSegmentedImage (CByteImage *pImage, bool bUseOpenInventorModel=true)
 
void DrawSegmentedImageWithoutOpenInventor (CByteImage *pSegmentedImage)
 
void ExtractAnglesFromRotationMatrix (const Mat3d &mat, Vec3d &angles)
 
void UpdateHandModel (double *pConfig, bool bUpdateOpenInventorModel=true, bool bDrawCylinderInHand=false)
 
 ~CHandModelVisualizer ()
 

Static Public Member Functions

static void DrawCross (CByteImage *pColorImage, int x, int y, int r, int g, int b)
 
static void DrawCross (CByteImage *pGreyImage, int x, int y, int nBrightness)
 
static void DrawLineIntoImage (CByteImage *pImage, int x1, int y1, int x2, int y2, int red, int green, int blue)
 

Public Attributes

float m_fFocalLengthX
 
float m_fFocalLengthY
 
float m_fPrincipalPointX
 
float m_fPrincipalPointY
 
CHandModelV2 * m_pHandModelV2
 
CMoveMasterModel * m_pMoveMaster
 
CStereoCalibration * m_pStereoCalibration
 

Constructor & Destructor Documentation

◆ CHandModelVisualizer()

CHandModelVisualizer ( CStereoCalibration * pCalibration,
bool bUseLeftCamera = true )

◆ ~CHandModelVisualizer()

Member Function Documentation

◆ ConfigureMoveMasterModel()

void ConfigureMoveMasterModel ( double * pConfig,
bool bDrawCylinderInHand )

◆ DrawCross() [1/2]

void DrawCross ( CByteImage * pColorImage,
int x,
int y,
int r,
int g,
int b )
static

◆ DrawCross() [2/2]

void DrawCross ( CByteImage * pGreyImage,
int x,
int y,
int nBrightness )
static

◆ DrawFingertips()

void DrawFingertips ( CByteImage * pImage)

◆ DrawHand()

void DrawHand ( CByteImage * pImage)

◆ DrawHandModelV2()

void DrawHandModelV2 ( CByteImage * pImage,
bool bLeftCameraImage = true )

◆ DrawLineIntoImage()

void DrawLineIntoImage ( CByteImage * pImage,
int x1,
int y1,
int x2,
int y2,
int red,
int green,
int blue )
static

◆ DrawPolygon()

void DrawPolygon ( CByteImage * pImage,
ConvexPolygonCalculations::Polygon & pPolygon )

◆ DrawPolygonGrayscale()

void DrawPolygonGrayscale ( CByteImage * pImage,
ConvexPolygonCalculations::Polygon & pPolygon )

◆ DrawQuadrangleAlongA3DLine()

void DrawQuadrangleAlongA3DLine ( CByteImage * pImage,
Vec3d vStart,
Vec3d vEnd,
float fWidthAtStart,
float fWidthAtEnd )

◆ DrawSegmentedImage()

void DrawSegmentedImage ( CByteImage * pImage,
bool bUseOpenInventorModel = true )

◆ DrawSegmentedImageWithoutOpenInventor()

void DrawSegmentedImageWithoutOpenInventor ( CByteImage * pSegmentedImage)

◆ ExtractAnglesFromRotationMatrix()

void ExtractAnglesFromRotationMatrix ( const Mat3d & mat,
Vec3d & angles )

◆ UpdateHandModel()

void UpdateHandModel ( double * pConfig,
bool bUpdateOpenInventorModel = true,
bool bDrawCylinderInHand = false )

Member Data Documentation

◆ m_fFocalLengthX

float m_fFocalLengthX

◆ m_fFocalLengthY

float m_fFocalLengthY

◆ m_fPrincipalPointX

float m_fPrincipalPointX

◆ m_fPrincipalPointY

float m_fPrincipalPointY

◆ m_pHandModelV2

CHandModelV2* m_pHandModelV2

◆ m_pMoveMaster

CMoveMasterModel* m_pMoveMaster

◆ m_pStereoCalibration

CStereoCalibration* m_pStereoCalibration

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