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
 
CHandModelV2m_pHandModelV2
 
CMoveMasterModelm_pMoveMaster
 
CStereoCalibration * m_pStereoCalibration
 

Detailed Description

Definition at line 42 of file HandModelVisualizer.h.

Constructor & Destructor Documentation

◆ CHandModelVisualizer()

CHandModelVisualizer ( CStereoCalibration * pCalibration,
bool bUseLeftCamera = true )

Definition at line 38 of file HandModelVisualizer.cpp.

◆ ~CHandModelVisualizer()

Definition at line 84 of file HandModelVisualizer.cpp.

Member Function Documentation

◆ ConfigureMoveMasterModel()

void ConfigureMoveMasterModel ( double * pConfig,
bool bDrawCylinderInHand )

Definition at line 109 of file HandModelVisualizer.cpp.

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

◆ DrawCross() [1/2]

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

Definition at line 864 of file HandModelVisualizer.cpp.

◆ DrawCross() [2/2]

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

Definition at line 851 of file HandModelVisualizer.cpp.

◆ DrawFingertips()

void DrawFingertips ( CByteImage * pImage)

◆ DrawHand()

void DrawHand ( CByteImage * pImage)

Definition at line 600 of file HandModelVisualizer.cpp.

◆ DrawHandModelV2()

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

Definition at line 497 of file HandModelVisualizer.cpp.

+ Here is the call graph for this function:

◆ DrawLineIntoImage()

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

Definition at line 882 of file HandModelVisualizer.cpp.

+ Here is the caller graph for this function:

◆ DrawPolygon()

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

Definition at line 248 of file HandModelVisualizer.cpp.

+ Here is the caller graph for this function:

◆ DrawPolygonGrayscale()

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

Definition at line 334 of file HandModelVisualizer.cpp.

+ Here is the caller graph for this function:

◆ DrawQuadrangleAlongA3DLine()

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

Definition at line 957 of file HandModelVisualizer.cpp.

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

◆ DrawSegmentedImage()

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

Definition at line 654 of file HandModelVisualizer.cpp.

+ Here is the call graph for this function:

◆ DrawSegmentedImageWithoutOpenInventor()

void DrawSegmentedImageWithoutOpenInventor ( CByteImage * pSegmentedImage)

Definition at line 750 of file HandModelVisualizer.cpp.

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

◆ ExtractAnglesFromRotationMatrix()

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

Definition at line 1025 of file HandModelVisualizer.cpp.

+ Here is the caller graph for this function:

◆ UpdateHandModel()

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

Definition at line 94 of file HandModelVisualizer.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_fFocalLengthX

float m_fFocalLengthX

Definition at line 98 of file HandModelVisualizer.h.

◆ m_fFocalLengthY

float m_fFocalLengthY

Definition at line 99 of file HandModelVisualizer.h.

◆ m_fPrincipalPointX

float m_fPrincipalPointX

Definition at line 100 of file HandModelVisualizer.h.

◆ m_fPrincipalPointY

float m_fPrincipalPointY

Definition at line 101 of file HandModelVisualizer.h.

◆ m_pHandModelV2

CHandModelV2* m_pHandModelV2

Definition at line 94 of file HandModelVisualizer.h.

◆ m_pMoveMaster

CMoveMasterModel* m_pMoveMaster

Definition at line 95 of file HandModelVisualizer.h.

◆ m_pStereoCalibration

CStereoCalibration* m_pStereoCalibration

Definition at line 97 of file HandModelVisualizer.h.


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