BitmapToolkit Scol plugin
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ArManager Class Reference

#include <ArManager.h>

Public Types

typedef std::set< ArMarker * > MarkerList
 

Public Member Functions

void UpdateMarkers (cv::Mat image, ArCameraParam *arCameraParam, bool reversedBitmap=false, bool debugDraw=false)
 
ArMarkerAddMarker (int index, float size)
 
ArMarkerAddMarker (std::string path, float size, unsigned int maxFeatures=600)
 
ArMarkerAddMarker (cv::Mat tpl, float size, unsigned int maxFeatures=600)
 
ArMarkerAddObjMarker (const std::string path, float size, unsigned int maxFeatures=600)
 
ArMarkerAddFaceMarker (float size)
 
ArBlobDetectorAddBlobDetector (cv::SimpleBlobDetector::Params params)
 
void RemoveBlobDetector (ArBlobDetector *detector)
 
void RemoveMarker (ArMarker *marker)
 
void GetLastData (LASTDATA &data)
 
void updateFiducialMarkers (std::vector< aruco::Marker > detectedMarkers, LASTDATA lastd)
 
void SetNFTdetectorDirty ()
 

Static Public Member Functions

static ArManagerGetInstance ()
 
static void Kill ()
 

Public Attributes

boost::shared_mutex updateMutex
 
boost::shared_mutex listMutex
 
MarkerList markerList
 

Protected Member Functions

 ~ArManager ()
 

Detailed Description

Definition at line 43 of file ArManager.h.

Member Typedef Documentation

◆ MarkerList

typedef std::set<ArMarker*> ArManager::MarkerList

Definition at line 46 of file ArManager.h.

Constructor & Destructor Documentation

◆ ~ArManager()

ArManager::~ArManager ( )
protected

Definition at line 45 of file ArManager.cpp.

Member Function Documentation

◆ AddBlobDetector()

ArBlobDetector * ArManager::AddBlobDetector ( cv::SimpleBlobDetector::Params  params)

Definition at line 89 of file ArManager.cpp.

◆ AddFaceMarker()

ArMarker * ArManager::AddFaceMarker ( float  size)

Definition at line 314 of file ArManager.cpp.

◆ AddMarker() [1/3]

ArMarker * ArManager::AddMarker ( cv::Mat  tpl,
float  size,
unsigned int  maxFeatures = 600 
)

Definition at line 291 of file ArManager.cpp.

◆ AddMarker() [2/3]

ArMarker * ArManager::AddMarker ( int  index,
float  size 
)

Definition at line 245 of file ArManager.cpp.

◆ AddMarker() [3/3]

ArMarker * ArManager::AddMarker ( std::string  path,
float  size,
unsigned int  maxFeatures = 600 
)

Definition at line 266 of file ArManager.cpp.

◆ AddObjMarker()

ArMarker * ArManager::AddObjMarker ( const std::string  path,
float  size,
unsigned int  maxFeatures = 600 
)

◆ GetInstance()

ArManager * ArManager::GetInstance ( )
static

Definition at line 70 of file ArManager.cpp.

◆ GetLastData()

void ArManager::GetLastData ( LASTDATA data)

Definition at line 402 of file ArManager.cpp.

◆ Kill()

void ArManager::Kill ( )
static

Definition at line 80 of file ArManager.cpp.

◆ RemoveBlobDetector()

void ArManager::RemoveBlobDetector ( ArBlobDetector detector)

Definition at line 97 of file ArManager.cpp.

◆ RemoveMarker()

void ArManager::RemoveMarker ( ArMarker marker)

Definition at line 332 of file ArManager.cpp.

◆ SetNFTdetectorDirty()

void ArManager::SetNFTdetectorDirty ( )

Definition at line 408 of file ArManager.cpp.

◆ updateFiducialMarkers()

void ArManager::updateFiducialMarkers ( std::vector< aruco::Marker >  detectedMarkers,
LASTDATA  lastd 
)

Definition at line 360 of file ArManager.cpp.

◆ UpdateMarkers()

void ArManager::UpdateMarkers ( cv::Mat  image,
ArCameraParam arCameraParam,
bool  reversedBitmap = false,
bool  debugDraw = false 
)

Definition at line 164 of file ArManager.cpp.

Member Data Documentation

◆ listMutex

boost::shared_mutex ArManager::listMutex

Definition at line 50 of file ArManager.h.

◆ markerList

MarkerList ArManager::markerList

Definition at line 51 of file ArManager.h.

◆ updateMutex

boost::shared_mutex ArManager::updateMutex

Definition at line 49 of file ArManager.h.


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