|
|
@ -7,9 +7,9 @@ |
|
|
|
#include "rgbd_c.h"
|
|
|
|
|
|
|
|
cv::rgbd::Odometry* cveOdometryCreate( |
|
|
|
cv::String* odometryType, |
|
|
|
cv::Algorithm** algorithm, |
|
|
|
cv::Ptr<cv::rgbd::Odometry>** sharedPtr |
|
|
|
cv::String* odometryType, |
|
|
|
cv::Algorithm** algorithm, |
|
|
|
cv::Ptr<cv::rgbd::Odometry>** sharedPtr |
|
|
|
) |
|
|
|
{ |
|
|
|
#ifdef HAVE_OPENCV_RGBD
|
|
|
@ -257,3 +257,23 @@ void cveLinemodMatchRelease(cv::linemod::Match** match) |
|
|
|
#endif
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
cv::linemod::Modality* cveLinemodModalityCreate(cv::String* modalityType, cv::Ptr<cv::linemod::Modality>** sharedPtr) |
|
|
|
{ |
|
|
|
#ifdef HAVE_OPENCV_RGBD
|
|
|
|
//TODO: Implement this.
|
|
|
|
#else
|
|
|
|
throw_no_rgbd(); |
|
|
|
#endif
|
|
|
|
|
|
|
|
} |
|
|
|
void cveLinemodModalityRelease(cv::Ptr<cv::linemod::Modality>** sharedPtr) |
|
|
|
{ |
|
|
|
#ifdef HAVE_OPENCV_RGBD
|
|
|
|
delete* sharedPtr; |
|
|
|
*sharedPtr = 0; |
|
|
|
#else
|
|
|
|
throw_no_rgbd(); |
|
|
|
#endif
|
|
|
|
|
|
|
|
} |