OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
spinnakerWrapper.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_PRODUCER_SPINNAKER_WRAPPER_HPP
2 #define OPENPOSE_PRODUCER_SPINNAKER_WRAPPER_HPP
3 
5 
6 namespace op
7 {
13  {
14  public:
19  explicit SpinnakerWrapper(const std::string& cameraParameterPath, const Point<int>& cameraResolution,
20  const bool undistortImage, const int cameraIndex = -1);
21 
22  virtual ~SpinnakerWrapper();
23 
24  std::vector<Matrix> getRawFrames();
25 
30  std::vector<Matrix> getCameraMatrices() const;
31 
32  std::vector<Matrix> getCameraExtrinsics() const;
33 
34  std::vector<Matrix> getCameraIntrinsics() const;
35 
37 
38  bool isOpened() const;
39 
40  void release();
41 
42  private:
43  // PIMPL idiom
44  // http://www.cppsamples.com/common-tasks/pimpl.html
45  struct ImplSpinnakerWrapper;
46  std::shared_ptr<ImplSpinnakerWrapper> upImpl;
47 
49  };
50 }
51 
52 #endif // OPENPOSE_PRODUCER_SPINNAKER_WRAPPER_HPP
std::vector< Matrix > getRawFrames()
std::vector< Matrix > getCameraExtrinsics() const
bool isOpened() const
SpinnakerWrapper(const std::string &cameraParameterPath, const Point< int > &cameraResolution, const bool undistortImage, const int cameraIndex=-1)
std::vector< Matrix > getCameraMatrices() const
virtual ~SpinnakerWrapper()
Point< int > getResolution() const
std::vector< Matrix > getCameraIntrinsics() const
#define OP_API
Definition: macros.hpp:18
#define DELETE_COPY(className)
Definition: macros.hpp:32