This class represents the structure CameraInfo defined by the user in the IDL file. 更多...
#include <CameraInfo.h>
Public 成员函数 | |
eProsima_user_DllExport uint32_t & | binning_x () |
This function returns a reference to member binning_x | |
eProsima_user_DllExport uint32_t | binning_x () const |
This function returns the value of member binning_x | |
eProsima_user_DllExport void | binning_x (uint32_t _binning_x) |
This function sets a value in member binning_x | |
eProsima_user_DllExport uint32_t & | binning_y () |
This function returns a reference to member binning_y | |
eProsima_user_DllExport uint32_t | binning_y () const |
This function returns the value of member binning_y | |
eProsima_user_DllExport void | binning_y (uint32_t _binning_y) |
This function sets a value in member binning_y | |
eProsima_user_DllExport | CameraInfo (CameraInfo &&x) noexcept |
Move constructor. | |
eProsima_user_DllExport | CameraInfo (const CameraInfo &x) |
Copy constructor. | |
eProsima_user_DllExport | CameraInfo (uint32_t height=0, uint32_t width=0, double fov=0.0) |
Default constructor. | |
eProsima_user_DllExport std::vector< double > & | D () |
This function returns a reference to member D | |
eProsima_user_DllExport const std::vector< double > & | D () const |
This function returns a constant reference to member D | |
eProsima_user_DllExport void | D (const std::vector< double > &_D) |
This function copies the value in member D | |
eProsima_user_DllExport void | D (std::vector< double > &&_D) |
This function moves the value in member D | |
eProsima_user_DllExport void | deserialize (eprosima::fastcdr::Cdr &cdr) |
This function deserializes an object using CDR serialization. | |
eProsima_user_DllExport std::string & | distortion_model () |
This function returns a reference to member distortion_model | |
eProsima_user_DllExport const std::string & | distortion_model () const |
This function returns a constant reference to member distortion_model | |
eProsima_user_DllExport void | distortion_model (const std::string &_distortion_model) |
This function copies the value in member distortion_model | |
eProsima_user_DllExport void | distortion_model (std::string &&_distortion_model) |
This function moves the value in member distortion_model | |
eProsima_user_DllExport std_msgs::msg::Header & | header () |
This function returns a reference to member header | |
eProsima_user_DllExport const std_msgs::msg::Header & | header () const |
This function returns a constant reference to member header | |
eProsima_user_DllExport void | header (const std_msgs::msg::Header &_header) |
This function copies the value in member header | |
eProsima_user_DllExport void | header (std_msgs::msg::Header &&_header) |
This function moves the value in member header | |
eProsima_user_DllExport uint32_t & | height () |
This function returns a reference to member height | |
eProsima_user_DllExport uint32_t | height () const |
This function returns the value of member height | |
eProsima_user_DllExport void | height (uint32_t _height) |
This function sets a value in member height | |
eProsima_user_DllExport std::array< double, 9 > & | k () |
This function returns a reference to member k | |
eProsima_user_DllExport const std::array< double, 9 > & | k () const |
This function returns a constant reference to member k | |
eProsima_user_DllExport void | k (const std::array< double, 9 > &_k) |
This function copies the value in member K | |
eProsima_user_DllExport void | k (std::array< double, 9 > &&_k) |
This function moves the value in member k | |
eProsima_user_DllExport bool | operator!= (const CameraInfo &x) const |
Comparison operator. | |
eProsima_user_DllExport CameraInfo & | operator= (CameraInfo &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport CameraInfo & | operator= (const CameraInfo &x) |
Copy assignment. | |
eProsima_user_DllExport bool | operator== (const CameraInfo &x) const |
Comparison operator. | |
eProsima_user_DllExport std::array< double, 12 > & | p () |
This function returns a reference to member p | |
eProsima_user_DllExport const std::array< double, 12 > & | p () const |
This function returns a constant reference to member p | |
eProsima_user_DllExport void | p (const std::array< double, 12 > &_p) |
This function copies the value in member p | |
eProsima_user_DllExport void | p (std::array< double, 12 > &&_p) |
This function moves the value in member p | |
eProsima_user_DllExport std::array< double, 9 > & | r () |
This function returns a reference to member r | |
eProsima_user_DllExport const std::array< double, 9 > & | r () const |
This function returns a constant reference to member r | |
eProsima_user_DllExport void | r (const std::array< double, 9 > &_r) |
This function copies the value in member r | |
eProsima_user_DllExport void | r (std::array< double, 9 > &&_r) |
This function moves the value in member r | |
eProsima_user_DllExport sensor_msgs::msg::RegionOfInterest & | roi () |
This function returns a reference to member roi | |
eProsima_user_DllExport const sensor_msgs::msg::RegionOfInterest & | roi () const |
This function returns a constant reference to member roi | |
eProsima_user_DllExport void | roi (const sensor_msgs::msg::RegionOfInterest &_roi) |
This function copies the value in member roi | |
eProsima_user_DllExport void | roi (sensor_msgs::msg::RegionOfInterest &&_roi) |
This function moves the value in member roi | |
eProsima_user_DllExport void | serialize (eprosima::fastcdr::Cdr &cdr) const |
This function serializes an object using CDR serialization. | |
eProsima_user_DllExport void | serializeKey (eprosima::fastcdr::Cdr &cdr) const |
This function serializes the key members of an object using CDR serialization. | |
eProsima_user_DllExport uint32_t & | width () |
This function returns a reference to member width | |
eProsima_user_DllExport uint32_t | width () const |
This function returns the value of member width | |
eProsima_user_DllExport void | width (uint32_t _width) |
This function sets a value in member width | |
eProsima_user_DllExport | ~CameraInfo () |
Default destructor. | |
静态 Public 成员函数 | |
static eProsima_user_DllExport size_t | getCdrSerializedSize (const sensor_msgs::msg::CameraInfo &data, size_t current_alignment=0) |
This function returns the serialized size of a data depending on the buffer alignment. | |
static eProsima_user_DllExport size_t | getKeyMaxCdrSerializedSize (size_t current_alignment=0) |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment. | |
static eProsima_user_DllExport size_t | getMaxCdrSerializedSize (size_t current_alignment=0) |
This function returns the maximum serialized size of an object depending on the buffer alignment. | |
static eProsima_user_DllExport bool | isKeyDefined () |
This function tells you if the Key has been defined for this type | |
Private 属性 | |
uint32_t | m_binning_x |
uint32_t | m_binning_y |
std::vector< double > | m_d |
std::string | m_distortion_model |
std_msgs::msg::Header | m_header |
uint32_t | m_height |
std::array< double, 9 > | m_k |
std::array< double, 12 > | m_p |
std::array< double, 9 > | m_r |
sensor_msgs::msg::RegionOfInterest | m_roi |
uint32_t | m_width |
This class represents the structure CameraInfo defined by the user in the IDL file.
在文件 CameraInfo.h 第 73 行定义.
sensor_msgs::msg::CameraInfo::CameraInfo | ( | uint32_t | height = 0, |
uint32_t | width = 0, | ||
double | fov = 0.0 ) |
Default constructor.
在文件 CameraInfo.cpp 第 47 行定义.
引用了 m_binning_x, m_binning_y, m_d, m_distortion_model, m_height, m_k, m_p, m_r , 以及 m_width.
sensor_msgs::msg::CameraInfo::~CameraInfo | ( | ) |
Default destructor.
在文件 CameraInfo.cpp 第 68 行定义.
sensor_msgs::msg::CameraInfo::CameraInfo | ( | const CameraInfo & | x | ) |
Copy constructor.
x | Reference to the object sensor_msgs::msg::CameraInfo that will be copied. |
在文件 CameraInfo.cpp 第 72 行定义.
引用了 m_binning_x, m_binning_y, m_d, m_distortion_model, m_header, m_height, m_k, m_p, m_r, m_roi , 以及 m_width.
|
noexcept |
Move constructor.
x | Reference to the object sensor_msgs::msg::CameraInfo that will be copied. |
在文件 CameraInfo.cpp 第 88 行定义.
uint32_t & sensor_msgs::msg::CameraInfo::binning_x | ( | ) |
This function returns a reference to member binning_x
这个函数返回对成员binning_x的引用
在文件 CameraInfo.cpp 第 541 行定义.
uint32_t sensor_msgs::msg::CameraInfo::binning_x | ( | ) | const |
This function returns the value of member binning_x
这个函数返回成员binning_x的值
在文件 CameraInfo.cpp 第 532 行定义.
void sensor_msgs::msg::CameraInfo::binning_x | ( | uint32_t | _binning_x | ) |
This function sets a value in member binning_x
这个函数在成员binning_x中设置一个值
_binning_x | New value for member binning_x |
在文件 CameraInfo.cpp 第 522 行定义.
uint32_t & sensor_msgs::msg::CameraInfo::binning_y | ( | ) |
This function returns a reference to member binning_y
这个函数返回对成员binning_y的引用
在文件 CameraInfo.cpp 第 569 行定义.
uint32_t sensor_msgs::msg::CameraInfo::binning_y | ( | ) | const |
This function returns the value of member binning_y
这个函数返回成员binning_y的值
在文件 CameraInfo.cpp 第 560 行定义.
void sensor_msgs::msg::CameraInfo::binning_y | ( | uint32_t | _binning_y | ) |
This function sets a value in member binning_y
该函数设置成员binning_y中的值
_binning_y | New value for member binning_y |
在文件 CameraInfo.cpp 第 550 行定义.
std::vector< double > & sensor_msgs::msg::CameraInfo::D | ( | ) |
This function returns a reference to member D
这个函数返回对成员D的引用
在文件 CameraInfo.cpp 第 400 行定义.
const std::vector< double > & sensor_msgs::msg::CameraInfo::D | ( | ) | const |
This function returns a constant reference to member D
这个函数返回一个对成员D的常量引用
在文件 CameraInfo.cpp 第 391 行定义.
void sensor_msgs::msg::CameraInfo::D | ( | const std::vector< double > & | _D | ) |
This function copies the value in member D
这个函数复制成员D中的值
_D | New value to be copied in member D |
在文件 CameraInfo.cpp 第 371 行定义.
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::CameraInfo::D | ( | std::vector< double > && | _D | ) |
This function moves the value in member D
这个函数移动成员D中的值
_D | New value to be moved in member D |
在文件 CameraInfo.cpp 第 381 行定义.
void sensor_msgs::msg::CameraInfo::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 CameraInfo.cpp 第 220 行定义.
被这些函数引用 sensor_msgs::msg::CameraInfoPubSubType::deserialize().
std::string & sensor_msgs::msg::CameraInfo::distortion_model | ( | ) |
This function returns a reference to member distortion_model
这个函数返回对成员twisttion_model的引用
在文件 CameraInfo.cpp 第 362 行定义.
const std::string & sensor_msgs::msg::CameraInfo::distortion_model | ( | ) | const |
This function returns a constant reference to member distortion_model
这个函数返回一个对成员畸变模型 distortion_model 的常量引用
在文件 CameraInfo.cpp 第 353 行定义.
void sensor_msgs::msg::CameraInfo::distortion_model | ( | const std::string & | _distortion_model | ) |
This function copies the value in member distortion_model
这个函数复制成员twisttion_model中的值
_distortion_model | New value to be copied in member distortion_model |
在文件 CameraInfo.cpp 第 333 行定义.
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::CameraInfo::distortion_model | ( | std::string && | _distortion_model | ) |
This function moves the value in member distortion_model
这个函数移动成员twisttion_model中的值
_distortion_model | New value to be moved in member distortion_model |
在文件 CameraInfo.cpp 第 343 行定义.
|
static |
This function returns the serialized size of a data depending on the buffer alignment.
data | Data which is calculated its serialized size. |
current_alignment | Buffer alignment. |
在文件 CameraInfo.cpp 第 159 行定义.
引用了 D(), distortion_model(), sensor_msgs::msg::RegionOfInterest::getCdrSerializedSize(), std_msgs::msg::Header::getCdrSerializedSize(), header(), k(), p(), r() , 以及 roi().
被这些函数引用 sensor_msgs::msg::CameraInfoPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 CameraInfo.cpp 第 612 行定义.
引用了 sensor_msgs_msg_CameraInfo_max_key_cdr_typesize.
被这些函数引用 sensor_msgs::msg::CameraInfoPubSubType::CameraInfoPubSubType() , 以及 sensor_msgs::msg::CameraInfoPubSubType::getKey().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
在文件 CameraInfo.cpp 第 152 行定义.
引用了 sensor_msgs_msg_CameraInfo_max_cdr_typesize.
被这些函数引用 sensor_msgs::msg::CameraInfoPubSubType::CameraInfoPubSubType().
std_msgs::msg::Header & sensor_msgs::msg::CameraInfo::header | ( | ) |
This function returns a reference to member header
这个函数返回对成员头的引用
在文件 CameraInfo.cpp 第 269 行定义.
const std_msgs::msg::Header & sensor_msgs::msg::CameraInfo::header | ( | ) | const |
This function returns a constant reference to member header
此函数返回对成员头的常量引用
在文件 CameraInfo.cpp 第 260 行定义.
void sensor_msgs::msg::CameraInfo::header | ( | const std_msgs::msg::Header & | _header | ) |
This function copies the value in member header
这个函数复制成员头中的值
_header | New value to be copied in member header |
在文件 CameraInfo.cpp 第 240 行定义.
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::CameraInfo::header | ( | std_msgs::msg::Header && | _header | ) |
This function moves the value in member header
这个函数移动成员头中的值
_header | New value to be moved in member header |
在文件 CameraInfo.cpp 第 250 行定义.
uint32_t & sensor_msgs::msg::CameraInfo::height | ( | ) |
This function returns a reference to member height
这个函数返回对成员高度的引用
在文件 CameraInfo.cpp 第 296 行定义.
uint32_t sensor_msgs::msg::CameraInfo::height | ( | ) | const |
This function returns the value of member height
这个函数返回成员高度的值
在文件 CameraInfo.cpp 第 287 行定义.
void sensor_msgs::msg::CameraInfo::height | ( | uint32_t | _height | ) |
This function sets a value in member height
这个函数设置成员高度的值
_height | New value for member height |
在文件 CameraInfo.cpp 第 277 行定义.
|
static |
This function tells you if the Key has been defined for this type
在文件 CameraInfo.cpp 第 619 行定义.
被这些函数引用 sensor_msgs::msg::CameraInfoPubSubType::CameraInfoPubSubType().
std::array< double, 9 > & sensor_msgs::msg::CameraInfo::k | ( | ) |
This function returns a reference to member k
这个函数返回对成员k的引用
在文件 CameraInfo.cpp 第 438 行定义.
const std::array< double, 9 > & sensor_msgs::msg::CameraInfo::k | ( | ) | const |
This function returns a constant reference to member k
这个函数返回对成员k的常量引用
在文件 CameraInfo.cpp 第 429 行定义.
void sensor_msgs::msg::CameraInfo::k | ( | const std::array< double, 9 > & | _k | ) |
This function copies the value in member K
这个函数复制成员k中的值
_K | New value to be copied in member K |
_k | New value to be copied in member k |
在文件 CameraInfo.cpp 第 409 行定义.
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::CameraInfo::k | ( | std::array< double, 9 > && | _k | ) |
This function moves the value in member k
这个函数移动成员k中的值
_k | New value to be moved in member k |
在文件 CameraInfo.cpp 第 419 行定义.
bool sensor_msgs::msg::CameraInfo::operator!= | ( | const CameraInfo & | x | ) | const |
Comparison operator.
x | sensor_msgs::msg::CameraInfo object to compare. |
在文件 CameraInfo.cpp 第 146 行定义.
|
noexcept |
Move assignment.
x | Reference to the object sensor_msgs::msg::CameraInfo that will be copied. |
在文件 CameraInfo.cpp 第 122 行定义.
sensor_msgs::msg::CameraInfo & sensor_msgs::msg::CameraInfo::operator= | ( | const CameraInfo & | x | ) |
Copy assignment.
x | Reference to the object sensor_msgs::msg::CameraInfo that will be copied. |
在文件 CameraInfo.cpp 第 104 行定义.
引用了 m_binning_x, m_binning_y, m_d, m_distortion_model, m_header, m_height, m_k, m_p, m_r, m_roi , 以及 m_width.
bool sensor_msgs::msg::CameraInfo::operator== | ( | const CameraInfo & | x | ) | const |
Comparison operator.
x | sensor_msgs::msg::CameraInfo object to compare. |
在文件 CameraInfo.cpp 第 140 行定义.
引用了 m_binning_x, m_binning_y, m_d, m_distortion_model, m_header, m_height, m_k, m_p, m_r, m_roi , 以及 m_width.
std::array< double, 12 > & sensor_msgs::msg::CameraInfo::p | ( | ) |
This function returns a reference to member p
这个函数返回对成员p的引用
在文件 CameraInfo.cpp 第 513 行定义.
const std::array< double, 12 > & sensor_msgs::msg::CameraInfo::p | ( | ) | const |
This function returns a constant reference to member p
这个函数返回一个对成员p的常量引用
在文件 CameraInfo.cpp 第 504 行定义.
void sensor_msgs::msg::CameraInfo::p | ( | const std::array< double, 12 > & | _p | ) |
This function copies the value in member p
这个函数复制成员p中的值
_p | New value to be copied in member p |
在文件 CameraInfo.cpp 第 484 行定义.
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::CameraInfo::p | ( | std::array< double, 12 > && | _p | ) |
This function moves the value in member p
这个函数移动成员p中的值
_p | New value to be moved in member p |
在文件 CameraInfo.cpp 第 494 行定义.
std::array< double, 9 > & sensor_msgs::msg::CameraInfo::r | ( | ) |
This function returns a reference to member r
这个函数返回对成员r的引用
在文件 CameraInfo.cpp 第 475 行定义.
const std::array< double, 9 > & sensor_msgs::msg::CameraInfo::r | ( | ) | const |
This function returns a constant reference to member r
这个函数返回一个对成员r的常量引用
在文件 CameraInfo.cpp 第 466 行定义.
void sensor_msgs::msg::CameraInfo::r | ( | const std::array< double, 9 > & | _r | ) |
This function copies the value in member r
这个函数复制成员r中的值
_r | New value to be copied in member r |
在文件 CameraInfo.cpp 第 446 行定义.
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::CameraInfo::r | ( | std::array< double, 9 > && | _r | ) |
This function moves the value in member r
这个函数移动成员r中的值
_r | New value to be moved in member r |
在文件 CameraInfo.cpp 第 456 行定义.
sensor_msgs::msg::RegionOfInterest & sensor_msgs::msg::CameraInfo::roi | ( | ) |
This function returns a reference to member roi
这个函数返回对成员roi的引用
在文件 CameraInfo.cpp 第 607 行定义.
const sensor_msgs::msg::RegionOfInterest & sensor_msgs::msg::CameraInfo::roi | ( | ) | const |
This function returns a constant reference to member roi
这个函数返回一个对成员roi的常量引用
在文件 CameraInfo.cpp 第 598 行定义.
void sensor_msgs::msg::CameraInfo::roi | ( | const sensor_msgs::msg::RegionOfInterest & | _roi | ) |
This function copies the value in member roi
这个函数复制成员roi中的值
_roi | New value to be copied in member roi |
在文件 CameraInfo.cpp 第 578 行定义.
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::CameraInfo::roi | ( | sensor_msgs::msg::RegionOfInterest && | _roi | ) |
This function moves the value in member roi
这个函数移动成员roi中的值
_roi | New value to be moved in member roi |
在文件 CameraInfo.cpp 第 588 行定义.
void sensor_msgs::msg::CameraInfo::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
在文件 CameraInfo.cpp 第 204 行定义.
被这些函数引用 sensor_msgs::msg::CameraInfoPubSubType::serialize().
void sensor_msgs::msg::CameraInfo::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
在文件 CameraInfo.cpp 第 624 行定义.
被这些函数引用 sensor_msgs::msg::CameraInfoPubSubType::getKey().
uint32_t & sensor_msgs::msg::CameraInfo::width | ( | ) |
This function returns a reference to member width
这个函数返回成员宽度的引用
在文件 CameraInfo.cpp 第 324 行定义.
uint32_t sensor_msgs::msg::CameraInfo::width | ( | ) | const |
This function returns the value of member width
这个函数返回成员宽度的值
在文件 CameraInfo.cpp 第 315 行定义.
void sensor_msgs::msg::CameraInfo::width | ( | uint32_t | _width | ) |
This function sets a value in member width
这个函数设置成员宽度的值
_width | New value for member width |
在文件 CameraInfo.cpp 第 305 行定义.
|
private |
在文件 CameraInfo.h 第 444 行定义.
被这些函数引用 CameraInfo(), CameraInfo(), operator=() , 以及 operator==().
|
private |
在文件 CameraInfo.h 第 445 行定义.
被这些函数引用 CameraInfo(), CameraInfo(), operator=() , 以及 operator==().
|
private |
在文件 CameraInfo.h 第 440 行定义.
被这些函数引用 CameraInfo(), CameraInfo(), operator=() , 以及 operator==().
|
private |
在文件 CameraInfo.h 第 439 行定义.
被这些函数引用 CameraInfo(), CameraInfo(), operator=() , 以及 operator==().
|
private |
在文件 CameraInfo.h 第 436 行定义.
被这些函数引用 CameraInfo(), operator=() , 以及 operator==().
|
private |
在文件 CameraInfo.h 第 437 行定义.
被这些函数引用 CameraInfo(), CameraInfo(), operator=() , 以及 operator==().
|
private |
在文件 CameraInfo.h 第 441 行定义.
被这些函数引用 CameraInfo(), CameraInfo(), operator=() , 以及 operator==().
|
private |
在文件 CameraInfo.h 第 443 行定义.
被这些函数引用 CameraInfo(), CameraInfo(), operator=() , 以及 operator==().
|
private |
在文件 CameraInfo.h 第 442 行定义.
被这些函数引用 CameraInfo(), CameraInfo(), operator=() , 以及 operator==().
|
private |
在文件 CameraInfo.h 第 446 行定义.
被这些函数引用 CameraInfo(), operator=() , 以及 operator==().
|
private |
在文件 CameraInfo.h 第 438 行定义.
被这些函数引用 CameraInfo(), CameraInfo(), operator=() , 以及 operator==().