Program Listing for File cvdrawingutils.h

Return to documentation for file (include/aruco/cvdrawingutils.h)

#ifndef _ArUco_DrawUtils_H_
#define _ArUco_DrawUtils_H_

#include "aruco.h"
#include "aruco_export.h"

namespace aruco
{
class ARUCO_EXPORT CvDrawingUtils
{
public:
  static void draw3dAxis(cv::Mat& Image, const CameraParameters& CP, const cv::Mat& Rvec,
                         const cv::Mat& Tvec, float axis_size);
  static void draw3dAxis(cv::Mat& Image, Marker& m, const CameraParameters& CP, int lineSize = 1);

  static void draw3dCube(cv::Mat& Image, Marker& m, const CameraParameters& CP,
                         int lineSize = 1, bool setYperpendicular = false);

  //    static void draw3dAxis(cv::Mat &Image, MarkerMap &m, const CameraParameters &CP);
  //    static void draw3dCube(cv::Mat &Image, MarkerMap &m, const CameraParameters &CP,
  //    bool setYperpendicular = false);
};
}  // namespace aruco

#endif