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

這個 3D Widget 定義了一個錐體。: 更多...

#include <opencv2/viz/widgets.hpp>

cv::viz::WCone 的協作圖

公共成員函式

 WCone (double length, double radius, int resolution=6, const Color &color=Color::white())
 構造預設的錐體,其方向沿 x 軸,底面的中心位於原點。
 
 WCone (double radius, const Point3d &center, 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 (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 定義了一個錐體。

建構函式 & 解構函式文件

◆ WCone() [1/2]

cv::viz::WCone::WCone ( double 繪製軸的長度,單位與tvec相同(通常為米)。,
double radius,
int resolution = 6,
const Color & color = Color::white() )

構造預設的錐體,其方向沿 x 軸,底面的中心位於原點。

引數
繪製軸的長度,單位與tvec相同(通常為米)。錐體的長度。
radius錐體的半徑。
resolution錐體的解析度。
colorColor 錐體的顏色。

◆ WCone() [2/2]

cv::viz::WCone::WCone ( double radius,
const Point3d & center,
const Point3d & tip,
int resolution = 6,
const Color & color = Color::white() )

構造重新定位的平面錐體。

引數
radius錐體的半徑。
center錐體底面的中心。
tip錐體的尖端。
resolution錐體的解析度。
colorColor 錐體的顏色。

此類的文件是從以下檔案生成的