9 #import "MasTrackedImage.h" 10 #import "TrackedImage.h" 14 maxstAR::TrackedImage *_image;
21 - (instancetype)init:(
void*)image {
24 _image = (maxstAR::TrackedImage*)image;
30 if(_image ==
nullptr) {
33 return _image->getWidth();
36 if(_image ==
nullptr) {
39 return _image->getHeight();
42 if(_image ==
nullptr) {
45 return _image->getLength();
48 if(_image ==
nullptr) {
51 return (MasColorFormat)_image->getFormat();
54 if(_image ==
nullptr) {
57 return _image->getData();
const unsigned char * getData()
Get image data.
int getWidth()
Get image width.
int getLength()
Get image length.
image data which is used for tracker and rendering
MasColorFormat getForamt()
Get image format.
int getHeight()
Get image height.