Keypoint Class Reference

#include <VisionX/components/image_processor/OpenPoseEstimation/_LegacyOpenPoseEstimation/KeypointManager.h>

Public Member Functions

Point2D get2D () const
 
FramedPositionPtr get3D () const
 
float getConfidence () const
 
DrawColor24Bit getDominantColor () const
 
unsigned int getId () const
 
std::string getName () const
 
std::pair< Point2D, Point2DgetStereo2D () const
 
bool is3DSet () const
 
bool isStereo () const
 
 Keypoint ()=delete
 
 Keypoint (const Keypoint &p)
 
 Keypoint (const Point2D &left, const Point2D &right, unsigned int id, const std::string &name, float confidence=0.0f)
 
 Keypoint (const Point2D &point, unsigned int id, const std::string &name, float confidence=0.0f)
 
 Keypoint (float x, float y, unsigned int id, const std::string &name, float confidence=0.0f)
 
void set2D (const Point2D &point)
 
void set3D (FramedPositionPtr pose)
 
void setConfidence (float confidence)
 
void setDominantColor (const DrawColor24Bit &color)
 
void setStereo2D (const Point2D &left, const Point2D &right)
 
std::string toString2D () const
 
 ~Keypoint ()
 

Detailed Description

Definition at line 67 of file KeypointManager.h.

Constructor & Destructor Documentation

◆ Keypoint() [1/5]

Keypoint ( )
delete

◆ Keypoint() [2/5]

Keypoint ( const Keypoint p)

Definition at line 32 of file KeypointManager.cpp.

+ Here is the call graph for this function:

◆ Keypoint() [3/5]

Keypoint ( float  x,
float  y,
unsigned int  id,
const std::string &  name,
float  confidence = 0.0f 
)

Definition at line 50 of file KeypointManager.cpp.

◆ Keypoint() [4/5]

Keypoint ( const Point2D point,
unsigned int  id,
const std::string &  name,
float  confidence = 0.0f 
)

Definition at line 54 of file KeypointManager.cpp.

◆ Keypoint() [5/5]

Keypoint ( const Point2D left,
const Point2D right,
unsigned int  id,
const std::string &  name,
float  confidence = 0.0f 
)

Definition at line 60 of file KeypointManager.cpp.

◆ ~Keypoint()

~Keypoint ( )
inline

Definition at line 75 of file KeypointManager.h.

Member Function Documentation

◆ get2D()

Point2D get2D ( ) const

Definition at line 104 of file KeypointManager.cpp.

+ Here is the caller graph for this function:

◆ get3D()

FramedPositionPtr get3D ( ) const

Definition at line 115 of file KeypointManager.cpp.

+ Here is the caller graph for this function:

◆ getConfidence()

float getConfidence ( ) const

Definition at line 120 of file KeypointManager.cpp.

+ Here is the caller graph for this function:

◆ getDominantColor()

DrawColor24Bit getDominantColor ( ) const

Definition at line 125 of file KeypointManager.cpp.

◆ getId()

unsigned int getId ( ) const

Definition at line 130 of file KeypointManager.cpp.

◆ getName()

std::string getName ( ) const

Definition at line 135 of file KeypointManager.cpp.

◆ getStereo2D()

std::pair< Point2D, Point2D > getStereo2D ( ) const

Definition at line 109 of file KeypointManager.cpp.

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

◆ is3DSet()

bool is3DSet ( ) const

Definition at line 66 of file KeypointManager.cpp.

+ Here is the caller graph for this function:

◆ isStereo()

bool isStereo ( ) const

Definition at line 71 of file KeypointManager.cpp.

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

◆ set2D()

void set2D ( const Point2D point)

Definition at line 76 of file KeypointManager.cpp.

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

◆ set3D()

void set3D ( FramedPositionPtr  pose)

Definition at line 89 of file KeypointManager.cpp.

+ Here is the caller graph for this function:

◆ setConfidence()

void setConfidence ( float  confidence)

Definition at line 94 of file KeypointManager.cpp.

+ Here is the caller graph for this function:

◆ setDominantColor()

void setDominantColor ( const DrawColor24Bit &  color)

Definition at line 99 of file KeypointManager.cpp.

◆ setStereo2D()

void setStereo2D ( const Point2D left,
const Point2D right 
)

Definition at line 82 of file KeypointManager.cpp.

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

◆ toString2D()

std::string toString2D ( ) const

Definition at line 140 of file KeypointManager.cpp.

+ Here is the call graph for this function:

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