KudanCV
KudanImageTrackable::Private Class Reference

Public Member Functions

void setName (std::string name)
 
std::string getName ()
 
bool checkAspect (float w, float h)
 
float getWidth ()
 
float getHeight ()
 
void setWidth (float w)
 
void setHeight (float h)
 
bool initialise (std::shared_ptr< Marker > m)
 
bool isMarker (std::shared_ptr< Marker > markerPtr)
 

Static Public Member Functions

static std::shared_ptr< KudanImageTrackablecreateFromMarker (std::shared_ptr< Marker > marker)
 

Public Attributes

std::shared_ptr< Markermarker
 
bool isTracked
 
bool unreliablePose
 
int recoveryType
 
float realWorldScaleFactor
 
int numTrackedPoints
 The number of points currently being tracked on the image.
 
std::vector< KudanVector2trackedPoints
 A list of the 2D points currently being tracked.
 
std::vector< KudanVector2trackedCorners
 The four corners of the tracked region in anticlockwise order.
 
KudanVector3 position
 
KudanQuaternion orientation
 

Member Function Documentation

◆ isMarker()

bool KudanImageTrackable::Private::isMarker ( std::shared_ptr< Marker markerPtr)
inline

For a given pointer to a marker, does that associate with this trackable? Currently this means either this trackable's marker pointer IS this marker, or it is this marker's ROOT (for extended markers)


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