mirror of
https://github.com/opencv/opencv.git
synced 2024-12-06 02:19:08 +08:00
16 lines
247 B
C++
16 lines
247 B
C++
#ifndef OPENCV_BRIDGE_HPP_
|
|
#define OPENCV_BRIDGE_HPP_
|
|
|
|
#include "mex.h"
|
|
|
|
namespace mex {
|
|
class Bridge {
|
|
private:
|
|
mxArray* m_;
|
|
public:
|
|
bool valid() { return_ m_ != 0; } const
|
|
mxArray* toMxArray() { return m_; } const
|
|
};
|
|
|
|
#endif
|