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 43 of file HandModelVisualizer.h.

Constructor & Destructor Documentation

◆ CHandModelVisualizer()

CHandModelVisualizer ( CStereoCalibration *  pCalibration,
bool  bUseLeftCamera = true 
)

Definition at line 40 of file HandModelVisualizer.cpp.

+ Here is the call graph for this function:

◆ ~CHandModelVisualizer()

Definition at line 75 of file HandModelVisualizer.cpp.

Member Function Documentation

◆ ConfigureMoveMasterModel()

void ConfigureMoveMasterModel ( double *  pConfig,
bool  bDrawCylinderInHand 
)

Definition at line 102 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 798 of file HandModelVisualizer.cpp.

◆ DrawCross() [2/2]

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

Definition at line 785 of file HandModelVisualizer.cpp.

◆ DrawFingertips()

void DrawFingertips ( CByteImage *  pImage)

◆ DrawHand()

void DrawHand ( CByteImage *  pImage)

Definition at line 571 of file HandModelVisualizer.cpp.

◆ DrawHandModelV2()

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

Definition at line 490 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 818 of file HandModelVisualizer.cpp.

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

◆ DrawPolygon()

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

Definition at line 244 of file HandModelVisualizer.cpp.

+ Here is the caller graph for this function:

◆ DrawPolygonGrayscale()

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

Definition at line 329 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 879 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 615 of file HandModelVisualizer.cpp.

+ Here is the call graph for this function:

◆ DrawSegmentedImageWithoutOpenInventor()

void DrawSegmentedImageWithoutOpenInventor ( CByteImage *  pSegmentedImage)

Definition at line 696 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 941 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 88 of file HandModelVisualizer.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_fFocalLengthX

float m_fFocalLengthX

Definition at line 91 of file HandModelVisualizer.h.

◆ m_fFocalLengthY

float m_fFocalLengthY

Definition at line 92 of file HandModelVisualizer.h.

◆ m_fPrincipalPointX

float m_fPrincipalPointX

Definition at line 93 of file HandModelVisualizer.h.

◆ m_fPrincipalPointY

float m_fPrincipalPointY

Definition at line 94 of file HandModelVisualizer.h.

◆ m_pHandModelV2

CHandModelV2* m_pHandModelV2

Definition at line 87 of file HandModelVisualizer.h.

◆ m_pMoveMaster

CMoveMasterModel* m_pMoveMaster

Definition at line 88 of file HandModelVisualizer.h.

◆ m_pStereoCalibration

CStereoCalibration* m_pStereoCalibration

Definition at line 90 of file HandModelVisualizer.h.


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