![]() |
OpenCV 4.11.0
开源计算机视觉
|
#include <opencv2/viz/widgets.hpp>
公共成员函数 | |
| WCone (double length, double radius, int resolution=6, const Color &color=Color::white()) | |
| 构造沿 x 轴定向,其底面中心位于原点的默认锥体。 | |
| WCone (double radius, const Point3d ¢er, const Point3d &tip, int resolution=6, const Color &color=Color::white()) | |
| 构造重新定位的平面锥体。 | |
从 cv::viz::Widget3D 继承的公共成员函数 | |
| Widget3D () | |
| void | applyTransform (const Affine3d &transform) |
| 使用给定的变换转换内部部件数据(即点、法线)。 | |
| Affine3d | getPose () const |
| 返回部件的当前姿态。 | |
| void | setColor (const Color &color) |
| 设置部件的颜色。 | |
| void | setPose (const Affine3d &pose) |
| 设置部件的姿态。 | |
| void | updatePose (const Affine3d &pose) |
| 通过预乘其当前姿态来更新部件的姿态。 | |
从 cv::viz::Widget 继承的公共成员函数 | |
| Widget () | |
| Widget (const Widget &other) | |
| virtual | ~Widget () |
| template<typename _W > | |
| _W | cast () const |
| 将一个部件转换为另一个部件。 | |
| template<> | |
| Widget2D | cast () const |
| 实用程序导出。 | |
| template<> | |
| Widget3D | cast () const |
| template<> | |
| WLine | cast () const |
| template<> | |
| WPlane | cast () const |
| template<> | |
| WSphere | cast () const |
| template<> | |
| WCylinder | cast () const |
| template<> | |
| WArrow | cast () const |
| template<> | |
| WCircle | cast () const |
| template<> | |
| WCone | cast () const |
| template<> | |
| WCube | cast () const |
| template<> | |
| WCoordinateSystem | cast () const |
| template<> | |
| WPolyLine | cast () const |
| template<> | |
| WGrid | cast () const |
| template<> | |
| WText3D | cast () const |
| template<> | |
| WText | cast () const |
| template<> | |
| WImageOverlay | cast () const |
| template<> | |
| WImage3D | cast () const |
| template<> | |
| WCameraPosition | cast () const |
| template<> | |
| WTrajectory | cast () const |
| template<> | |
| WTrajectoryFrustums | cast () const |
| template<> | |
| WTrajectorySpheres | cast () const |
| template<> | |
| WCloud | cast () const |
| template<> | |
| WPaintedCloud | cast () const |
| template<> | |
| WCloudCollection | cast () const |
| template<> | |
| WCloudNormals | cast () const |
| template<> | |
| WMesh | cast () const |
| template<> | |
| WWidgetMerger | cast () const |
| double | getRenderingProperty (int property) const |
| 返回部件的渲染属性。 | |
| Widget & | operator= (const Widget &other) |
| void | setRenderingProperty (int property, double value) |
| 设置部件的渲染属性。 | |
其他继承成员 | |
从 cv::viz::Widget 继承的静态公共成员函数 | |
| static Widget | fromPlyFile (const String &file_name) |
| 从 ply 文件创建部件。 | |
这个 3D 部件 定义了一个锥体。
| cv::viz::WCone::WCone | ( | double | length, |
| double | radius, | ||
| int | resolution = 6, | ||
| const Color & | 颜色 = Color::白色() ) |
构造沿 x 轴定向,其底面中心位于原点的默认锥体。
| length | 圆锥的高度。 |
| radius | 圆锥的半径。 |
| 分辨率 | 圆锥的分辨率。 |
| 颜色 | 颜色 圆锥的颜色。 |
| cv::viz::WCone::WCone | ( | double | radius, |
| const Point3d & | 中心点, | ||
| const Point3d & | 顶点, | ||
| int | resolution = 6, | ||
| const Color & | 颜色 = Color::白色() ) |
构造重新定位的平面锥体。
| radius | 圆锥的半径。 |
| 中心点 | 圆锥底部的中心点。 |
| 顶点 | 圆锥的顶点。 |
| 分辨率 | 圆锥的分辨率。 |
| 颜色 | 颜色 圆锥的颜色。 |