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, Point2D > getStereo2D () 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 ()
 

Constructor & Destructor Documentation

◆ Keypoint() [1/5]

Keypoint ( )
delete

◆ Keypoint() [2/5]

Keypoint ( const Keypoint & p)

◆ Keypoint() [3/5]

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

◆ Keypoint() [4/5]

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

◆ Keypoint() [5/5]

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

◆ ~Keypoint()

~Keypoint ( )
inline

Member Function Documentation

◆ get2D()

Point2D get2D ( ) const

◆ get3D()

FramedPositionPtr get3D ( ) const

◆ getConfidence()

float getConfidence ( ) const

◆ getDominantColor()

DrawColor24Bit getDominantColor ( ) const

◆ getId()

unsigned int getId ( ) const

◆ getName()

std::string getName ( ) const

◆ getStereo2D()

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

◆ is3DSet()

bool is3DSet ( ) const

◆ isStereo()

bool isStereo ( ) const

◆ set2D()

void set2D ( const Point2D & point)

◆ set3D()

void set3D ( FramedPositionPtr pose)

◆ setConfidence()

void setConfidence ( float confidence)

◆ setDominantColor()

void setDominantColor ( const DrawColor24Bit & color)

◆ setStereo2D()

void setStereo2D ( const Point2D & left,
const Point2D & right )

◆ toString2D()

std::string toString2D ( ) const

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