Jetson Linux API 参考

32.7.4 版本
Argus::Point3D< T > 类模板参考

详细描述

template<typename T>
class Argus::Point3D< T >

Point3D 模板类。

这是一个 Tuple 特化,包含 3 个元素,分别对应 3D 点的 x、y 和 z 坐标。可以使用命名方法或使用 Argus::Coordinate 枚举通过下标索引访问值。

定义于文件 Types.h 的第 692 行。

Argus::Point3D< T > 的继承关系图
Argus::Point3D< T > 的协作图

公共成员函数

 Point3D ()
 
 Point3D (const Tuple< COORDINATE_3D_COUNT, T > &other)
 
 Point3D (T init)
 
 Point3D (T _x, T _y, T _z)
 
T & x ()
 
const T & x () const
 
T & y ()
 
const T & y () const
 
T & z ()
 
const T & z () const
 
bool operator== (const Tuple< N, T > &rhs) const
 当两个元组中的每个元素都相同时返回 true。更多...
 
bool operator!= (const Tuple< N, T > &rhs) const
 如果两个元组之间存在任何差异,则返回 true。更多...
 
Tuple< N, T > & operator+= (const Tuple< N, T > &rhs)
 将另一个元组的每个元素添加到此元组的元素。更多...
 
Tuple< N, T > & operator-= (const Tuple< N, T > &rhs)
 从此元组的元素中减去另一个元组的每个元素。更多...
 
Tuple< N, T > & operator*= (const T &rhs)
 将元组中的每个元素乘以单个值。更多...
 
Tuple< N, T > & operator/= (const T &rhs)
 将元组中的每个元素除以单个值。更多...
 
const Tuple< N, T > operator+ (const Tuple< N, T > &rhs) const
 返回将另一个元组添加到此元组的结果。更多...
 
const Tuple< N, T > operator- (const Tuple< N, T > &rhs) const
 返回从此元组中减去另一个元组的结果。更多...
 
const Tuple< N, T > operator* (const T &rhs) const
 返回将此元组乘以单个值的结果。更多...
 
const Tuple< N, T > operator/ (const T &rhs) const
 返回将此元组除以单个值的结果。更多...
 
T & operator[] (unsigned int i)
 
const T & operator[] (unsigned int i) const
 

静态公共成员函数

static unsigned int tupleSize ()
 返回元组中元素的数量。更多...
 

受保护的属性

m_data [N]
 

构造函数 & 析构函数文档

◆ Point3D() [1/4]

template<typename T >
Argus::Point3D< T >::Point3D ( )
inline

定义于文件 Types.h 的第 695 行。

◆ Point3D() [2/4]

template<typename T >
Argus::Point3D< T >::Point3D ( const Tuple< COORDINATE_3D_COUNT, T > &  other)
inline

定义于文件 Types.h 的第 696 行。

◆ Point3D() [3/4]

template<typename T >
Argus::Point3D< T >::Point3D ( init)
inline

◆ Point3D() [4/4]

template<typename T >
Argus::Point3D< T >::Point3D ( _x,
_y,
_z 
)
inline

成员函数文档

◆ operator!=()

bool Argus::Tuple< N, T >::operator!= ( const Tuple< N, T > &  rhs) const
inlineinherited

如果两个元组之间存在任何差异,则返回 true。

定义于文件 Types.h 的第 519 行。

◆ operator*()

const Tuple<N, T> Argus::Tuple< N, T >::operator* ( const T &  rhs) const
inlineinherited

返回将此元组乘以单个值的结果。

定义于文件 Types.h 的第 569 行。

◆ operator*=()

Tuple<N, T>& Argus::Tuple< N, T >::operator*= ( const T &  rhs)
inlineinherited

将元组中的每个元素乘以单个值。

定义于文件 Types.h 的第 541 行。

◆ operator+()

const Tuple<N, T> Argus::Tuple< N, T >::operator+ ( const Tuple< N, T > &  rhs) const
inlineinherited

返回将另一个元组添加到此元组的结果。

定义于文件 Types.h 的第 557 行。

◆ operator+=()

Tuple<N, T>& Argus::Tuple< N, T >::operator+= ( const Tuple< N, T > &  rhs)
inlineinherited

将另一个元组的每个元素添加到此元组的元素。

定义于文件 Types.h 的第 525 行。

◆ operator-()

const Tuple<N, T> Argus::Tuple< N, T >::operator- ( const Tuple< N, T > &  rhs) const
inlineinherited

返回从此元组中减去另一个元组的结果。

定义于文件 Types.h 的第 563 行。

◆ operator-=()

Tuple<N, T>& Argus::Tuple< N, T >::operator-= ( const Tuple< N, T > &  rhs)
inlineinherited

从此元组的元素中减去另一个元组的每个元素。

定义于文件 Types.h 的第 533 行。

◆ operator/()

const Tuple<N, T> Argus::Tuple< N, T >::operator/ ( const T &  rhs) const
inlineinherited

返回将此元组除以单个值的结果。

定义于文件 Types.h 的第 575 行。

◆ operator/=()

Tuple<N, T>& Argus::Tuple< N, T >::operator/= ( const T &  rhs)
inlineinherited

将元组中的每个元素除以单个值。

定义于文件 Types.h 的第 549 行。

◆ operator==()

bool Argus::Tuple< N, T >::operator== ( const Tuple< N, T > &  rhs) const
inlineinherited

当两个元组中的每个元素都相同时返回 true。

定义于文件 Types.h 的第 513 行。

◆ operator[]() [1/2]

T& Argus::Tuple< N, T >::operator[] ( unsigned int  i)
inlineinherited

定义于文件 Types.h 的第 580 行。

◆ operator[]() [2/2]

const T& Argus::Tuple< N, T >::operator[] ( unsigned int  i) const
inlineinherited

定义于文件 Types.h 的第 581 行。

◆ tupleSize()

static unsigned int Argus::Tuple< N, T >::tupleSize
inlinestaticinherited

返回元组中元素的数量。

定义于文件 Types.h 的第 584 行。

◆ x() [1/2]

template<typename T >
T& Argus::Point3D< T >::x ( )
inline

定义于文件 Types.h 的第 710 行。

参考 Argus::COORDINATE_X

Argus::Point3D< T >::Point3D() 参考。

◆ x() [2/2]

template<typename T >
const T& Argus::Point3D< T >::x ( ) const
inline

定义于文件 Types.h 的第 711 行。

参考 Argus::COORDINATE_X

◆ y() [1/2]

template<typename T >
T& Argus::Point3D< T >::y ( )
inline

定义于文件 Types.h 的第 712 行。

参考 Argus::COORDINATE_Y

Argus::Point3D< T >::Point3D() 参考。

◆ y() [2/2]

template<typename T >
const T& Argus::Point3D< T >::y ( ) const
inline

定义于文件 Types.h 的第 713 行。

参考 Argus::COORDINATE_Y

◆ z() [1/2]

template<typename T >
T& Argus::Point3D< T >::z ( )
inline

定义于文件 Types.h 的第 714 行。

参考 Argus::COORDINATE_Z

Argus::Point3D< T >::Point3D() 参考。

◆ z() [2/2]

template<typename T >
const T& Argus::Point3D< T >::z ( ) const
inline

定义于文件 Types.h 的第 715 行。

参考 Argus::COORDINATE_Z

字段文档

◆ m_data

T Argus::Tuple< N, T >::m_data[N]
protectedinherited

定义于文件 Types.h 的第 587 行。


此类的文档从以下文件生成
. All rights reserved.