OvrvisionSDK  2.00
OVR::OvrvisionAR Class Reference

OvrvisionPro AR class. More...

#include <ovrvision_ar.h>

Public Member Functions

 OvrvisionAR (float markersize_meter, int w, int h, float focalPoint)
 Constructor. More...
 
 ~OvrvisionAR ()
 Destructor.
 
void SetImageBGRA (unsigned char *pImage)
 Set the pointer of image data. More...
 
void SetImageOpenCVImage (ovMat *pImageMat)
 Set the pointer of OpenCV Mat data. More...
 
void Render ()
 Run marker detection processing.
 
int GetMarkerDataSize ()
 Get the data size of AR markers. More...
 
OVR::OvMarkerDataGetMarkerData ()
 Get the data of AR markers. More...
 
OVR::OvMarkerDataGetMarkerData (int idx)
 Get the data of AR marker. Specify an index. More...
 
void SetMarkerSizeMeter (float value)
 Setup the actual size of AR marker. More...
 
float GetMarkerSizeMeter ()
 Get the actual size of AR marker. More...
 
void SetDetectThreshold (float value)
 Set the Threashold value. More...
 
float GetDetectThreshold ()
 Get the Threashold value. More...
 
void SetInstantTraking (bool value)
 

Detailed Description

OvrvisionPro AR class.

Constructor & Destructor Documentation

OVR::OvrvisionAR::OvrvisionAR ( float  markersize_meter,
int  w,
int  h,
float  focalPoint 
)

Constructor.

Parameters
markersize_meterActual marker size. meter 1.0f = 100cm
wImage width.
hImage height.
focalPointImage focal point.

Member Function Documentation

float OVR::OvrvisionAR::GetDetectThreshold ( )
inline

Get the Threashold value.

Returns
threashold value 0-255
OVR::OvMarkerData* OVR::OvrvisionAR::GetMarkerData ( )

Get the data of AR markers.

Returns
OvMarkerData pointer
OVR::OvMarkerData* OVR::OvrvisionAR::GetMarkerData ( int  idx)

Get the data of AR marker. Specify an index.

Parameters
idxData index
Returns
OvMarkerData pointer
int OVR::OvrvisionAR::GetMarkerDataSize ( )

Get the data size of AR markers.

Returns
size
float OVR::OvrvisionAR::GetMarkerSizeMeter ( )
inline

Get the actual size of AR marker.

Returns
Meter size 1.0f = 100cm
void OVR::OvrvisionAR::SetDetectThreshold ( float  value)
inline

Set the Threashold value.

Parameters
valuethreashold 0-255
void OVR::OvrvisionAR::SetImageBGRA ( unsigned char *  pImage)

Set the pointer of image data.

Parameters
pImageImage buffer pointer.
void OVR::OvrvisionAR::SetImageOpenCVImage ( ovMat *  pImageMat)

Set the pointer of OpenCV Mat data.

Parameters
pImageMatOpenCV Mat pointer.
void OVR::OvrvisionAR::SetMarkerSizeMeter ( float  value)
inline

Setup the actual size of AR marker.

Parameters
valueMeter size 1.0f = 100cm

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