阵列工具
更多...
#include <rmvl/imgproc/paint.hpp>
|
template<typename Tp > |
static std::vector< std::vector< cv::Point_< Tp > > > | linear2D (const std::vector< cv::Point_< Tp > > &sketch, const cv::Point_< Tp > &spacing, std::size_t times) |
| 平面线性阵列
|
|
template<typename Tp > |
static std::vector< std::vector< cv::Point_< Tp > > > | circular2D (const std::vector< cv::Point_< Tp > > &sketch, const cv::Point_< Tp > ¢er, double spacing, std::size_t times) |
| 平面圆周阵列
|
|
template<typename Tp > |
static std::vector< std::vector< cv::Point3_< Tp > > > | linear3D (const std::vector< cv::Point3_< Tp > > &sketch, const cv::Point3_< Tp > &spacing, std::size_t times) |
| 空间线性阵列
|
|
template<typename Tp > |
static std::vector< std::vector< cv::Point3_< Tp > > > | circular3D (const std::vector< cv::Point3_< Tp > > &sketch, const cv::Point3_< Tp > ¢er, const cv::Vec3d &axis, double spacing, std::size_t times) |
| 空间圆周阵列
|
|
◆ circular2D()
template<typename Tp >
static std::vector< std::vector< cv::Point_< Tp > > > rm::ArrayTool::circular2D |
( |
const std::vector< cv::Point_< Tp > > & | sketch, |
|
|
const cv::Point_< Tp > & | center, |
|
|
double | spacing, |
|
|
std::size_t | times ) |
|
inlinestatic |
平面圆周阵列
- 参数
-
[in] | sketch | 阵列特征 |
[in] | center | 阵列中心 |
[in] | spacing | 阵列间距(Δθ,角度制,像素坐标系) |
[in] | times | 阵列个数(包括原特征) |
- 返回
- 阵列结果
◆ circular3D()
template<typename Tp >
static std::vector< std::vector< cv::Point3_< Tp > > > rm::ArrayTool::circular3D |
( |
const std::vector< cv::Point3_< Tp > > & | sketch, |
|
|
const cv::Point3_< Tp > & | center, |
|
|
const cv::Vec3d & | axis, |
|
|
double | spacing, |
|
|
std::size_t | times ) |
|
inlinestatic |
空间圆周阵列
- 参数
-
[in] | sketch | 阵列特征 |
[in] | center | 阵列中心 |
[in] | axis | 阵列转轴 |
[in] | spacing | 阵列间距(Δθ,角度制) |
[in] | times | 阵列个数(包括原特征) |
- 返回
- 阵列结果
◆ linear2D()
template<typename Tp >
static std::vector< std::vector< cv::Point_< Tp > > > rm::ArrayTool::linear2D |
( |
const std::vector< cv::Point_< Tp > > & | sketch, |
|
|
const cv::Point_< Tp > & | spacing, |
|
|
std::size_t | times ) |
|
inlinestatic |
平面线性阵列
- 参数
-
[in] | sketch | 阵列特征 |
[in] | spacing | 阵列间距(Δx, Δy) |
[in] | times | 阵列个数(包括原特征) |
- 返回
- 阵列结果
◆ linear3D()
template<typename Tp >
static std::vector< std::vector< cv::Point3_< Tp > > > rm::ArrayTool::linear3D |
( |
const std::vector< cv::Point3_< Tp > > & | sketch, |
|
|
const cv::Point3_< Tp > & | spacing, |
|
|
std::size_t | times ) |
|
inlinestatic |
空间线性阵列
- 参数
-
[in] | sketch | 阵列特征 |
[in] | spacing | 阵列间距(Δx, Δy, Δz) |
[in] | times | 阵列个数(包括原特征) |
- 返回
- 阵列结果
该类的文档由以下文件生成: