OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::viz::WCube 類參考

這個 3D Widget 定義一個立方體。更多...

#include <opencv2/viz/widgets.hpp>

cv::viz::WCube 的協作圖

公共成員函式

 WCube (const Point3d &min_point=Vec3d::all(-0.5), const Point3d &max_point=Vec3d::all(0.5), bool wire_frame=true, const Color &color=Color::white())
 構造一個 WCube
 
- 從 cv::viz::Widget3D 繼承的公共成員函式
 Widget3D ()
 
void applyTransform (const Affine3d &transform)
 使用給定的變換來變換內部 widget 資料(即點,法線)。
 
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
 返回部件的渲染屬性。
 
Widgetoperator= (const Widget &other)
 
void setRenderingProperty (int property, double value)
 設定部件的渲染屬性。
 

其他繼承的成員

- 從 cv::viz::Widget 繼承的靜態公共成員函式
static Widget fromPlyFile (const String &file_name)
 從 ply 檔案建立部件。
 

詳細描述

這個 3D Widget 定義一個立方體。

建構函式 & 解構函式文件

◆ WCube()

cv::viz::WCube::WCube ( const Point3d & min_point = Vec3d::all(-0.5),
const Point3d & max_point = Vec3d::all(0.5),
bool wire_frame = true,
const Color & color = Color::white() )

構造一個 WCube

引數
min_point指定邊界框的最小(或最大)點。
max_point指定邊界框的最大(或最小)點,與第一個引數相反。
wire_frame如果為 true,則立方體表示為線框。
colorColor 立方體的顏色。
立方體 Widget

此類文件由以下檔案生成