OpenCV 4.13.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
cv::Point3_< _Tp > クラステンプレート

座標 xyz で指定される3D点のためのテンプレートクラス。 続きを読む...

#include <opencv2/core/types.hpp>

Collaboration diagram for cv::Point3_< _Tp >:

公開型

typedef _Tp value_type
 

公開メンバ関数

 Point3_ ()
 デフォルトコンストラクタ
 
 Point3_ (_Tp _x, _Tp _y, _Tp _z)
 
 Point3_ (const Point3_ &pt)=default
 
 Point3_ (const Point_< _Tp > &pt)
 
 Point3_ (const Vec< _Tp, 3 > &v)
 
 Point3_ (Point3_ &&pt) CV_NOEXCEPT=default
 
Point3_ cross (const Point3_ &pt) const
 2つの3D点の外積
 
double ddot (const Point3_ &pt) const
 倍精度演算で計算される内積。
 
_Tp dot (const Point3_ &pt) const
 内積
 
template<typename _Tp2 >
 operator Point3_< _Tp2 > () const
 別のデータ型への変換。
 
 operator Vec< _Tp, 3 > () const
 cv::Vec<> への変換
 
Point3_operator= (const Point3_ &pt)=default
 
Point3_operator= (Point3_ &&pt) CV_NOEXCEPT=default
 

公開変数類

_Tp x
 3D点の x 座標
 
_Tp y
 3D点の y 座標
 
_Tp z
 3D点の z 座標
 

詳細説明

template<typename _Tp>
class cv::Point3_< _Tp >

座標 xyz で指定される3D点のためのテンプレートクラス。

このクラスのインスタンスは、C構造体 CvPoint2D32f と相互に交換可能である。Point_ と同様に、3D点の座標は別の型に変換できる。ベクトルの算術演算と比較演算もサポートされている。

次の Point3_<> エイリアスが利用可能である:

Template class for 3D points specified by its coordinates x, y and z.
Definition types.hpp:255
Point3_< double > Point3d
Definition types.hpp:291
Point3_< float > Point3f
Definition types.hpp:290
Point3_< int > Point3i
Definition types.hpp:289
参照
cv::Point3i, cv::Point3f, cv::Point3d
samples/cpp/cout_mat.cpp, samples/cpp/tutorial_code/features2D/Homography/decompose_homography.cpp, samples/cpp/tutorial_code/features2D/Homography/homography_from_camera_displacement.cpp, samples/cpp/tutorial_code/features2D/Homography/pose_from_homography.cpp

型定義メンバ詳解

◆ value_type

template<typename _Tp >
_Tp cv::Point3_< _Tp >::value_type

構築子と解体子の詳解

◆ Point3_() [1/6]

template<typename _Tp >
cv::Point3_< _Tp >::Point3_ ( )

デフォルトコンストラクタ

◆ Point3_() [2/6]

template<typename _Tp >
cv::Point3_< _Tp >::Point3_ ( _Tp _x,
_Tp _y,
_Tp _z )

◆ Point3_() [3/6]

template<typename _Tp >
cv::Point3_< _Tp >::Point3_ ( const Point3_< _Tp > & pt)
default

◆ Point3_() [4/6]

template<typename _Tp >
cv::Point3_< _Tp >::Point3_ ( Point3_< _Tp > && pt)
default

◆ Point3_() [5/6]

template<typename _Tp >
cv::Point3_< _Tp >::Point3_ ( const Point_< _Tp > & pt)
explicit

◆ Point3_() [6/6]

template<typename _Tp >
cv::Point3_< _Tp >::Point3_ ( const Vec< _Tp, 3 > & v)

メンバ関数詳解

◆ cross()

template<typename _Tp >
Point3_ cv::Point3_< _Tp >::cross ( const Point3_< _Tp > & pt) const

2つの3D点の外積

◆ ddot()

template<typename _Tp >
double cv::Point3_< _Tp >::ddot ( const Point3_< _Tp > & pt) const

倍精度演算で計算される内積

◆ dot()

template<typename _Tp >
_Tp cv::Point3_< _Tp >::dot ( const Point3_< _Tp > & pt) const

内積

◆ operator Point3_< _Tp2 >()

template<typename _Tp >
template<typename _Tp2 >
cv::Point3_< _Tp >::operator Point3_< _Tp2 > ( ) const

別のデータ型への変換。

◆ operator Vec< _Tp, 3 >()

template<typename _Tp >
cv::Point3_< _Tp >::operator Vec< _Tp, 3 > ( ) const

cv::Vec<> への変換

◆ operator=() [1/2]

template<typename _Tp >
Point3_ & cv::Point3_< _Tp >::operator= ( const Point3_< _Tp > & pt)
default

◆ operator=() [2/2]

template<typename _Tp >
Point3_ & cv::Point3_< _Tp >::operator= ( Point3_< _Tp > && pt)
default

メンバ変数詳解

◆ x

template<typename _Tp >
_Tp cv::Point3_< _Tp >::x

3D点のx座標

◆ y

template<typename _Tp >
_Tp cv::Point3_< _Tp >::y

3D点のy座標

◆ z

template<typename _Tp >
_Tp cv::Point3_< _Tp >::z

3D点のz座標


このクラス詳解は次のファイルから抽出されました: