![]() |
OpenCV 4.12.0
開源計算機視覺
|
#include <opencv2/viz/widgets.hpp>
公共成員函式 | |
| WCloudCollection (點雲集合) () | |
| void | addCloud (InputArray cloud, const Color &color=Color::white(), const Affine3d &pose=Affine3d::Identity()) |
| 向集合新增點雲。 | |
| void | addCloud (InputArray cloud, InputArray colors, const Affine3d &pose=Affine3d::Identity()) |
| 向集合新增點雲。 | |
| void | finalize () |
| 透過重新打包到單個點雲來最終確定點雲資料。 | |
從 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 (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 Widget 定義了一組點雲。
| cv::viz::WCloudCollection::WCloudCollection | ( | ) |
| void cv::viz::WCloudCollection::addCloud | ( | InputArray | cloud, |
| const Color & | color = Color::white(), | ||
| const Affine3d & | pose = Affine3d::Identity() ) |
向集合新增點雲。
| cloud | 可以是以下型別的點集:CV_32FC3、CV_32FC4、CV_64FC3、CV_64FC4。 |
| color | 整個點雲的單一 Color。 |
| pose | 點雲的姿勢。當點雲中的點設定為 (NaN, NaN, NaN) 時,它們屬於掩碼。 |
| void cv::viz::WCloudCollection::addCloud | ( | InputArray | cloud, |
| InputArray | colors, | ||
| const Affine3d & | pose = Affine3d::Identity() ) |
向集合新增點雲。
| cloud | 可以是以下型別的點集:CV_32FC3、CV_32FC4、CV_64FC3、CV_64FC4。 |
| colors | 一組顏色。它的大小必須與點雲的大小相同。 |
| pose | 點雲的姿勢。當點雲中的點設定為 (NaN, NaN, NaN) 時,它們屬於掩碼。 |
| void cv::viz::WCloudCollection::finalize | ( | ) |
透過重新打包到單個點雲來最終確定點雲資料。
適用於大型點雲集合,以減少記憶體使用量