ViSP  2.10.0
PolygonFaceInfo Struct Reference

Public Member Functions

 PolygonFaceInfo (const double dist, const vpPolygon &poly, const std::vector< vpPoint > &corners)
 
bool operator< (const PolygonFaceInfo &pfi) const
 

Public Attributes

double distanceToCamera
 
vpPolygon polygon
 
std::vector< vpPointfaceCorners
 

Detailed Description

Structure to store info about a polygon face represented by a vpPolygon and by a list of vpPoint representing the corners of the polygon face in 3D.

Definition at line 111 of file vpMbTracker.cpp.

Constructor & Destructor Documentation

PolygonFaceInfo::PolygonFaceInfo ( const double  dist,
const vpPolygon poly,
const std::vector< vpPoint > &  corners 
)
inline

Definition at line 112 of file vpMbTracker.cpp.

Member Function Documentation

bool PolygonFaceInfo::operator< ( const PolygonFaceInfo pfi) const
inline

Definition at line 115 of file vpMbTracker.cpp.

References distanceToCamera.

Member Data Documentation

double PolygonFaceInfo::distanceToCamera

Definition at line 119 of file vpMbTracker.cpp.

Referenced by operator<().

std::vector<vpPoint> PolygonFaceInfo::faceCorners

Definition at line 121 of file vpMbTracker.cpp.

vpPolygon PolygonFaceInfo::polygon

Definition at line 120 of file vpMbTracker.cpp.