CARLA
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
sensor_msgs::msg::CameraInfo Class Reference

This class represents the structure CameraInfo defined by the user in the IDL file. More...

#include <CameraInfo.h>

+ Collaboration diagram for sensor_msgs::msg::CameraInfo:

Public Member Functions

eProsima_user_DllExport void binning_x (uint32_t _binning_x)
 This function sets a value in member binning_x. More...
 
eProsima_user_DllExport uint32_t binning_x () const
 This function returns the value of member binning_x. More...
 
eProsima_user_DllExport uint32_t & binning_x ()
 This function returns a reference to member binning_x. More...
 
eProsima_user_DllExport void binning_y (uint32_t _binning_y)
 This function sets a value in member binning_y. More...
 
eProsima_user_DllExport uint32_t binning_y () const
 This function returns the value of member binning_y. More...
 
eProsima_user_DllExport uint32_t & binning_y ()
 This function returns a reference to member binning_y. More...
 
eProsima_user_DllExport CameraInfo (uint32_t height=0, uint32_t width=0, double fov=0.0)
 Default constructor. More...
 
eProsima_user_DllExport CameraInfo (const CameraInfo &x)
 Copy constructor. More...
 
eProsima_user_DllExport CameraInfo (CameraInfo &&x) noexcept
 Move constructor. More...
 
eProsima_user_DllExport void D (const std::vector< double > &_D)
 This function copies the value in member D. More...
 
eProsima_user_DllExport void D (std::vector< double > &&_D)
 This function moves the value in member D. More...
 
eProsima_user_DllExport const std::vector< double > & D () const
 This function returns a constant reference to member D. More...
 
eProsima_user_DllExport std::vector< double > & D ()
 This function returns a reference to member D. More...
 
eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization. More...
 
eProsima_user_DllExport void distortion_model (const std::string &_distortion_model)
 This function copies the value in member distortion_model. More...
 
eProsima_user_DllExport void distortion_model (std::string &&_distortion_model)
 This function moves the value in member distortion_model. More...
 
eProsima_user_DllExport const std::string & distortion_model () const
 This function returns a constant reference to member distortion_model. More...
 
eProsima_user_DllExport std::string & distortion_model ()
 This function returns a reference to member distortion_model. More...
 
eProsima_user_DllExport void header (const std_msgs::msg::Header &_header)
 This function copies the value in member header. More...
 
eProsima_user_DllExport void header (std_msgs::msg::Header &&_header)
 This function moves the value in member header. More...
 
eProsima_user_DllExport const std_msgs::msg::Headerheader () const
 This function returns a constant reference to member header. More...
 
eProsima_user_DllExport std_msgs::msg::Headerheader ()
 This function returns a reference to member header. More...
 
eProsima_user_DllExport void height (uint32_t _height)
 This function sets a value in member height. More...
 
eProsima_user_DllExport uint32_t height () const
 This function returns the value of member height. More...
 
eProsima_user_DllExport uint32_t & height ()
 This function returns a reference to member height. More...
 
eProsima_user_DllExport void k (const std::array< double, 9 > &_k)
 This function copies the value in member K. More...
 
eProsima_user_DllExport void k (std::array< double, 9 > &&_k)
 This function moves the value in member k. More...
 
eProsima_user_DllExport const std::array< double, 9 > & k () const
 This function returns a constant reference to member k. More...
 
eProsima_user_DllExport std::array< double, 9 > & k ()
 This function returns a reference to member k. More...
 
eProsima_user_DllExport bool operator!= (const CameraInfo &x) const
 Comparison operator. More...
 
eProsima_user_DllExport CameraInfooperator= (const CameraInfo &x)
 Copy assignment. More...
 
eProsima_user_DllExport CameraInfooperator= (CameraInfo &&x) noexcept
 Move assignment. More...
 
eProsima_user_DllExport bool operator== (const CameraInfo &x) const
 Comparison operator. More...
 
eProsima_user_DllExport void p (const std::array< double, 12 > &_p)
 This function copies the value in member p. More...
 
eProsima_user_DllExport void p (std::array< double, 12 > &&_p)
 This function moves the value in member p. More...
 
eProsima_user_DllExport const std::array< double, 12 > & p () const
 This function returns a constant reference to member p. More...
 
eProsima_user_DllExport std::array< double, 12 > & p ()
 This function returns a reference to member p. More...
 
eProsima_user_DllExport void r (const std::array< double, 9 > &_r)
 This function copies the value in member r. More...
 
eProsima_user_DllExport void r (std::array< double, 9 > &&_r)
 This function moves the value in member r. More...
 
eProsima_user_DllExport const std::array< double, 9 > & r () const
 This function returns a constant reference to member r. More...
 
eProsima_user_DllExport std::array< double, 9 > & r ()
 This function returns a reference to member r. More...
 
eProsima_user_DllExport void roi (const sensor_msgs::msg::RegionOfInterest &_roi)
 This function copies the value in member roi. More...
 
eProsima_user_DllExport void roi (sensor_msgs::msg::RegionOfInterest &&_roi)
 This function moves the value in member roi. More...
 
eProsima_user_DllExport const sensor_msgs::msg::RegionOfInterestroi () const
 This function returns a constant reference to member roi. More...
 
eProsima_user_DllExport sensor_msgs::msg::RegionOfInterestroi ()
 This function returns a reference to member roi. More...
 
eProsima_user_DllExport void serialize (eprosima::fastcdr::Cdr &cdr) const
 This function serializes an object using CDR serialization. More...
 
eProsima_user_DllExport void serializeKey (eprosima::fastcdr::Cdr &cdr) const
 This function serializes the key members of an object using CDR serialization. More...
 
eProsima_user_DllExport void width (uint32_t _width)
 This function sets a value in member width. More...
 
eProsima_user_DllExport uint32_t width () const
 This function returns the value of member width. More...
 
eProsima_user_DllExport uint32_t & width ()
 This function returns a reference to member width. More...
 
eProsima_user_DllExport ~CameraInfo ()
 Default destructor. More...
 

Static Public Member Functions

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. More...
 
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. More...
 
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. More...
 
static eProsima_user_DllExport bool isKeyDefined ()
 This function tells you if the Key has been defined for this type. More...
 

Private Attributes

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
 

Detailed Description

This class represents the structure CameraInfo defined by the user in the IDL file.

Definition at line 73 of file CameraInfo.h.

Constructor & Destructor Documentation

◆ CameraInfo() [1/3]

sensor_msgs::msg::CameraInfo::CameraInfo ( uint32_t  height = 0,
uint32_t  width = 0,
double  fov = 0.0 
)

Default constructor.

Definition at line 47 of file CameraInfo.cpp.

References m_binning_x, m_binning_y, m_d, m_distortion_model, m_height, m_k, m_p, m_r, and m_width.

◆ ~CameraInfo()

sensor_msgs::msg::CameraInfo::~CameraInfo ( )

Default destructor.

Definition at line 68 of file CameraInfo.cpp.

◆ CameraInfo() [2/3]

sensor_msgs::msg::CameraInfo::CameraInfo ( const CameraInfo x)

Copy constructor.

Parameters
xReference to the object sensor_msgs::msg::CameraInfo that will be copied.

Definition at line 72 of file CameraInfo.cpp.

References m_binning_x, m_binning_y, m_d, m_distortion_model, m_header, m_height, m_k, m_p, m_r, m_roi, and m_width.

◆ CameraInfo() [3/3]

sensor_msgs::msg::CameraInfo::CameraInfo ( CameraInfo &&  x)
noexcept

Move constructor.

Parameters
xReference to the object sensor_msgs::msg::CameraInfo that will be copied.

Definition at line 88 of file CameraInfo.cpp.

References m_binning_x, m_binning_y, m_d, m_distortion_model, m_header, m_height, m_k, m_p, m_r, m_roi, and m_width.

Member Function Documentation

◆ binning_x() [1/3]

void sensor_msgs::msg::CameraInfo::binning_x ( uint32_t  _binning_x)

This function sets a value in member binning_x.

Parameters
_binning_xNew value for member binning_x

Definition at line 522 of file CameraInfo.cpp.

References m_binning_x.

◆ binning_x() [2/3]

uint32_t sensor_msgs::msg::CameraInfo::binning_x ( ) const

This function returns the value of member binning_x.

Returns
Value of member binning_x

Definition at line 532 of file CameraInfo.cpp.

References m_binning_x.

◆ binning_x() [3/3]

uint32_t & sensor_msgs::msg::CameraInfo::binning_x ( )

This function returns a reference to member binning_x.

Returns
Reference to member binning_x

Definition at line 541 of file CameraInfo.cpp.

References m_binning_x.

◆ binning_y() [1/3]

void sensor_msgs::msg::CameraInfo::binning_y ( uint32_t  _binning_y)

This function sets a value in member binning_y.

Parameters
_binning_yNew value for member binning_y

Definition at line 550 of file CameraInfo.cpp.

References m_binning_y.

◆ binning_y() [2/3]

uint32_t sensor_msgs::msg::CameraInfo::binning_y ( ) const

This function returns the value of member binning_y.

Returns
Value of member binning_y

Definition at line 560 of file CameraInfo.cpp.

References m_binning_y.

◆ binning_y() [3/3]

uint32_t & sensor_msgs::msg::CameraInfo::binning_y ( )

This function returns a reference to member binning_y.

Returns
Reference to member binning_y

Definition at line 569 of file CameraInfo.cpp.

References m_binning_y.

◆ D() [1/4]

void sensor_msgs::msg::CameraInfo::D ( const std::vector< double > &  _D)

This function copies the value in member D.

Parameters
_DNew value to be copied in member D

Definition at line 371 of file CameraInfo.cpp.

References m_d.

Referenced by getCdrSerializedSize().

+ Here is the caller graph for this function:

◆ D() [2/4]

void sensor_msgs::msg::CameraInfo::D ( std::vector< double > &&  _D)

This function moves the value in member D.

Parameters
_DNew value to be moved in member D

Definition at line 381 of file CameraInfo.cpp.

References m_d.

◆ D() [3/4]

const std::vector< double > & sensor_msgs::msg::CameraInfo::D ( ) const

This function returns a constant reference to member D.

Returns
Constant reference to member D

Definition at line 391 of file CameraInfo.cpp.

References m_d.

◆ D() [4/4]

std::vector< double > & sensor_msgs::msg::CameraInfo::D ( )

This function returns a reference to member D.

Returns
Reference to member D

Definition at line 400 of file CameraInfo.cpp.

References m_d.

◆ deserialize()

void sensor_msgs::msg::CameraInfo::deserialize ( eprosima::fastcdr::Cdr &  cdr)

This function deserializes an object using CDR serialization.

Parameters
cdrCDR serialization object.

Definition at line 220 of file CameraInfo.cpp.

References m_binning_x, m_binning_y, m_d, m_distortion_model, m_header, m_height, m_k, m_p, m_r, m_roi, and m_width.

Referenced by sensor_msgs::msg::CameraInfoPubSubType::deserialize().

+ Here is the caller graph for this function:

◆ distortion_model() [1/4]

void sensor_msgs::msg::CameraInfo::distortion_model ( const std::string &  _distortion_model)

This function copies the value in member distortion_model.

Parameters
_distortion_modelNew value to be copied in member distortion_model

Definition at line 333 of file CameraInfo.cpp.

References m_distortion_model.

Referenced by getCdrSerializedSize().

+ Here is the caller graph for this function:

◆ distortion_model() [2/4]

void sensor_msgs::msg::CameraInfo::distortion_model ( std::string &&  _distortion_model)

This function moves the value in member distortion_model.

Parameters
_distortion_modelNew value to be moved in member distortion_model

Definition at line 343 of file CameraInfo.cpp.

References m_distortion_model.

◆ distortion_model() [3/4]

const std::string & sensor_msgs::msg::CameraInfo::distortion_model ( ) const

This function returns a constant reference to member distortion_model.

Returns
Constant reference to member distortion_model

Definition at line 353 of file CameraInfo.cpp.

References m_distortion_model.

◆ distortion_model() [4/4]

std::string & sensor_msgs::msg::CameraInfo::distortion_model ( )

This function returns a reference to member distortion_model.

Returns
Reference to member distortion_model

Definition at line 362 of file CameraInfo.cpp.

References m_distortion_model.

◆ getCdrSerializedSize()

size_t sensor_msgs::msg::CameraInfo::getCdrSerializedSize ( const sensor_msgs::msg::CameraInfo data,
size_t  current_alignment = 0 
)
static

This function returns the serialized size of a data depending on the buffer alignment.

Parameters
dataData which is calculated its serialized size.
current_alignmentBuffer alignment.
Returns
Serialized size.

Definition at line 159 of file CameraInfo.cpp.

References D(), distortion_model(), std_msgs::msg::Header::getCdrSerializedSize(), sensor_msgs::msg::RegionOfInterest::getCdrSerializedSize(), header(), k(), p(), r(), and roi().

Referenced by sensor_msgs::msg::CameraInfoPubSubType::getSerializedSizeProvider().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getKeyMaxCdrSerializedSize()

size_t sensor_msgs::msg::CameraInfo::getKeyMaxCdrSerializedSize ( size_t  current_alignment = 0)
static

This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.

Parameters
current_alignmentBuffer alignment.
Returns
Maximum serialized size.

Definition at line 612 of file CameraInfo.cpp.

References sensor_msgs_msg_CameraInfo_max_key_cdr_typesize.

Referenced by sensor_msgs::msg::CameraInfoPubSubType::CameraInfoPubSubType(), and sensor_msgs::msg::CameraInfoPubSubType::getKey().

+ Here is the caller graph for this function:

◆ getMaxCdrSerializedSize()

size_t sensor_msgs::msg::CameraInfo::getMaxCdrSerializedSize ( size_t  current_alignment = 0)
static

This function returns the maximum serialized size of an object depending on the buffer alignment.

Parameters
current_alignmentBuffer alignment.
Returns
Maximum serialized size.

Definition at line 152 of file CameraInfo.cpp.

References sensor_msgs_msg_CameraInfo_max_cdr_typesize.

Referenced by sensor_msgs::msg::CameraInfoPubSubType::CameraInfoPubSubType().

+ Here is the caller graph for this function:

◆ header() [1/4]

void sensor_msgs::msg::CameraInfo::header ( const std_msgs::msg::Header _header)

This function copies the value in member header.

Parameters
_headerNew value to be copied in member header

Definition at line 240 of file CameraInfo.cpp.

References m_header.

Referenced by getCdrSerializedSize().

+ Here is the caller graph for this function:

◆ header() [2/4]

void sensor_msgs::msg::CameraInfo::header ( std_msgs::msg::Header &&  _header)

This function moves the value in member header.

Parameters
_headerNew value to be moved in member header

Definition at line 250 of file CameraInfo.cpp.

References m_header.

◆ header() [3/4]

const std_msgs::msg::Header & sensor_msgs::msg::CameraInfo::header ( ) const

This function returns a constant reference to member header.

Returns
Constant reference to member header

Definition at line 260 of file CameraInfo.cpp.

References m_header.

◆ header() [4/4]

std_msgs::msg::Header & sensor_msgs::msg::CameraInfo::header ( )

This function returns a reference to member header.

Returns
Reference to member header

Definition at line 269 of file CameraInfo.cpp.

References m_header.

◆ height() [1/3]

void sensor_msgs::msg::CameraInfo::height ( uint32_t  _height)

This function sets a value in member height.

Parameters
_heightNew value for member height

Definition at line 277 of file CameraInfo.cpp.

References m_height.

◆ height() [2/3]

uint32_t sensor_msgs::msg::CameraInfo::height ( ) const

This function returns the value of member height.

Returns
Value of member height

Definition at line 287 of file CameraInfo.cpp.

References m_height.

◆ height() [3/3]

uint32_t & sensor_msgs::msg::CameraInfo::height ( )

This function returns a reference to member height.

Returns
Reference to member height

Definition at line 296 of file CameraInfo.cpp.

References m_height.

◆ isKeyDefined()

bool sensor_msgs::msg::CameraInfo::isKeyDefined ( )
static

This function tells you if the Key has been defined for this type.

Definition at line 619 of file CameraInfo.cpp.

Referenced by sensor_msgs::msg::CameraInfoPubSubType::CameraInfoPubSubType().

+ Here is the caller graph for this function:

◆ k() [1/4]

void sensor_msgs::msg::CameraInfo::k ( const std::array< double, 9 > &  _k)

This function copies the value in member K.

This function copies the value in member k.

Parameters
_KNew value to be copied in member K
_kNew value to be copied in member k

Definition at line 409 of file CameraInfo.cpp.

References m_k.

Referenced by getCdrSerializedSize().

+ Here is the caller graph for this function:

◆ k() [2/4]

void sensor_msgs::msg::CameraInfo::k ( std::array< double, 9 > &&  _k)

This function moves the value in member k.

Parameters
_kNew value to be moved in member k

Definition at line 419 of file CameraInfo.cpp.

References m_k.

◆ k() [3/4]

const std::array< double, 9 > & sensor_msgs::msg::CameraInfo::k ( ) const

This function returns a constant reference to member k.

Returns
Constant reference to member k

Definition at line 429 of file CameraInfo.cpp.

References m_k.

◆ k() [4/4]

std::array< double, 9 > & sensor_msgs::msg::CameraInfo::k ( )

This function returns a reference to member k.

Returns
Reference to member k

Definition at line 438 of file CameraInfo.cpp.

References m_k.

◆ operator!=()

bool sensor_msgs::msg::CameraInfo::operator!= ( const CameraInfo x) const

Comparison operator.

Parameters
xsensor_msgs::msg::CameraInfo object to compare.

Definition at line 146 of file CameraInfo.cpp.

◆ operator=() [1/2]

sensor_msgs::msg::CameraInfo & sensor_msgs::msg::CameraInfo::operator= ( const CameraInfo x)

Copy assignment.

Parameters
xReference to the object sensor_msgs::msg::CameraInfo that will be copied.

Definition at line 104 of file CameraInfo.cpp.

References m_binning_x, m_binning_y, m_d, m_distortion_model, m_header, m_height, m_k, m_p, m_r, m_roi, and m_width.

◆ operator=() [2/2]

sensor_msgs::msg::CameraInfo & sensor_msgs::msg::CameraInfo::operator= ( CameraInfo &&  x)
noexcept

Move assignment.

Parameters
xReference to the object sensor_msgs::msg::CameraInfo that will be copied.

Definition at line 122 of file CameraInfo.cpp.

References m_binning_x, m_binning_y, m_d, m_distortion_model, m_header, m_height, m_k, m_p, m_r, m_roi, and m_width.

◆ operator==()

bool sensor_msgs::msg::CameraInfo::operator== ( const CameraInfo x) const

Comparison operator.

Parameters
xsensor_msgs::msg::CameraInfo object to compare.

Definition at line 140 of file CameraInfo.cpp.

References m_binning_x, m_binning_y, m_d, m_distortion_model, m_header, m_height, m_k, m_p, m_r, m_roi, and m_width.

◆ p() [1/4]

void sensor_msgs::msg::CameraInfo::p ( const std::array< double, 12 > &  _p)

This function copies the value in member p.

Parameters
_pNew value to be copied in member p

Definition at line 484 of file CameraInfo.cpp.

References m_p.

Referenced by getCdrSerializedSize().

+ Here is the caller graph for this function:

◆ p() [2/4]

void sensor_msgs::msg::CameraInfo::p ( std::array< double, 12 > &&  _p)

This function moves the value in member p.

Parameters
_pNew value to be moved in member p

Definition at line 494 of file CameraInfo.cpp.

References m_p.

◆ p() [3/4]

const std::array< double, 12 > & sensor_msgs::msg::CameraInfo::p ( ) const

This function returns a constant reference to member p.

Returns
Constant reference to member p

Definition at line 504 of file CameraInfo.cpp.

References m_p.

◆ p() [4/4]

std::array< double, 12 > & sensor_msgs::msg::CameraInfo::p ( )

This function returns a reference to member p.

Returns
Reference to member p

Definition at line 513 of file CameraInfo.cpp.

References m_p.

◆ r() [1/4]

void sensor_msgs::msg::CameraInfo::r ( const std::array< double, 9 > &  _r)

This function copies the value in member r.

Parameters
_rNew value to be copied in member r

Definition at line 446 of file CameraInfo.cpp.

References m_r.

Referenced by getCdrSerializedSize().

+ Here is the caller graph for this function:

◆ r() [2/4]

void sensor_msgs::msg::CameraInfo::r ( std::array< double, 9 > &&  _r)

This function moves the value in member r.

Parameters
_rNew value to be moved in member r

Definition at line 456 of file CameraInfo.cpp.

References m_r.

◆ r() [3/4]

const std::array< double, 9 > & sensor_msgs::msg::CameraInfo::r ( ) const

This function returns a constant reference to member r.

Returns
Constant reference to member r

Definition at line 466 of file CameraInfo.cpp.

References m_r.

◆ r() [4/4]

std::array< double, 9 > & sensor_msgs::msg::CameraInfo::r ( )

This function returns a reference to member r.

Returns
Reference to member r

Definition at line 475 of file CameraInfo.cpp.

References m_r.

◆ roi() [1/4]

void sensor_msgs::msg::CameraInfo::roi ( const sensor_msgs::msg::RegionOfInterest _roi)

This function copies the value in member roi.

Parameters
_roiNew value to be copied in member roi

Definition at line 578 of file CameraInfo.cpp.

References m_roi.

Referenced by getCdrSerializedSize().

+ Here is the caller graph for this function:

◆ roi() [2/4]

void sensor_msgs::msg::CameraInfo::roi ( sensor_msgs::msg::RegionOfInterest &&  _roi)

This function moves the value in member roi.

Parameters
_roiNew value to be moved in member roi

Definition at line 588 of file CameraInfo.cpp.

References m_roi.

◆ roi() [3/4]

const sensor_msgs::msg::RegionOfInterest & sensor_msgs::msg::CameraInfo::roi ( ) const

This function returns a constant reference to member roi.

Returns
Constant reference to member roi

Definition at line 598 of file CameraInfo.cpp.

References m_roi.

◆ roi() [4/4]

sensor_msgs::msg::RegionOfInterest & sensor_msgs::msg::CameraInfo::roi ( )

This function returns a reference to member roi.

Returns
Reference to member roi

Definition at line 607 of file CameraInfo.cpp.

References m_roi.

◆ serialize()

void sensor_msgs::msg::CameraInfo::serialize ( eprosima::fastcdr::Cdr &  cdr) const

This function serializes an object using CDR serialization.

Parameters
cdrCDR serialization object.

Definition at line 204 of file CameraInfo.cpp.

References m_binning_x, m_binning_y, m_d, m_distortion_model, m_header, m_height, m_k, m_p, m_r, m_roi, and m_width.

Referenced by sensor_msgs::msg::CameraInfoPubSubType::serialize().

+ Here is the caller graph for this function:

◆ serializeKey()

void sensor_msgs::msg::CameraInfo::serializeKey ( eprosima::fastcdr::Cdr &  cdr) const

This function serializes the key members of an object using CDR serialization.

Parameters
cdrCDR serialization object.

Definition at line 624 of file CameraInfo.cpp.

Referenced by sensor_msgs::msg::CameraInfoPubSubType::getKey().

+ Here is the caller graph for this function:

◆ width() [1/3]

void sensor_msgs::msg::CameraInfo::width ( uint32_t  _width)

This function sets a value in member width.

Parameters
_widthNew value for member width

Definition at line 305 of file CameraInfo.cpp.

References m_width.

◆ width() [2/3]

uint32_t sensor_msgs::msg::CameraInfo::width ( ) const

This function returns the value of member width.

Returns
Value of member width

Definition at line 315 of file CameraInfo.cpp.

References m_width.

◆ width() [3/3]

uint32_t & sensor_msgs::msg::CameraInfo::width ( )

This function returns a reference to member width.

Returns
Reference to member width

Definition at line 324 of file CameraInfo.cpp.

References m_width.

Member Data Documentation

◆ m_binning_x

uint32_t sensor_msgs::msg::CameraInfo::m_binning_x
private

Definition at line 444 of file CameraInfo.h.

Referenced by binning_x(), CameraInfo(), deserialize(), operator=(), operator==(), and serialize().

◆ m_binning_y

uint32_t sensor_msgs::msg::CameraInfo::m_binning_y
private

Definition at line 445 of file CameraInfo.h.

Referenced by binning_y(), CameraInfo(), deserialize(), operator=(), operator==(), and serialize().

◆ m_d

std::vector<double> sensor_msgs::msg::CameraInfo::m_d
private

Definition at line 440 of file CameraInfo.h.

Referenced by CameraInfo(), D(), deserialize(), operator=(), operator==(), and serialize().

◆ m_distortion_model

std::string sensor_msgs::msg::CameraInfo::m_distortion_model
private

◆ m_header

std_msgs::msg::Header sensor_msgs::msg::CameraInfo::m_header
private

Definition at line 436 of file CameraInfo.h.

Referenced by CameraInfo(), deserialize(), header(), operator=(), operator==(), and serialize().

◆ m_height

uint32_t sensor_msgs::msg::CameraInfo::m_height
private

Definition at line 437 of file CameraInfo.h.

Referenced by CameraInfo(), deserialize(), height(), operator=(), operator==(), and serialize().

◆ m_k

std::array<double, 9> sensor_msgs::msg::CameraInfo::m_k
private

Definition at line 441 of file CameraInfo.h.

Referenced by CameraInfo(), deserialize(), k(), operator=(), operator==(), and serialize().

◆ m_p

std::array<double, 12> sensor_msgs::msg::CameraInfo::m_p
private

Definition at line 443 of file CameraInfo.h.

Referenced by CameraInfo(), deserialize(), operator=(), operator==(), p(), and serialize().

◆ m_r

std::array<double, 9> sensor_msgs::msg::CameraInfo::m_r
private

Definition at line 442 of file CameraInfo.h.

Referenced by CameraInfo(), deserialize(), operator=(), operator==(), r(), and serialize().

◆ m_roi

sensor_msgs::msg::RegionOfInterest sensor_msgs::msg::CameraInfo::m_roi
private

Definition at line 446 of file CameraInfo.h.

Referenced by CameraInfo(), deserialize(), operator=(), operator==(), roi(), and serialize().

◆ m_width

uint32_t sensor_msgs::msg::CameraInfo::m_width
private

Definition at line 438 of file CameraInfo.h.

Referenced by CameraInfo(), deserialize(), operator=(), operator==(), serialize(), and width().


The documentation for this class was generated from the following files: