Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
cartographer::sensor::CompressedPointCloud::ConstIterator Class Reference

#include <compressed_point_cloud.h>

Public Types

using difference_type = int64
 
using iterator_category = std::forward_iterator_tag
 
using pointer = const Eigen::Vector3f *
 
using reference = const Eigen::Vector3f &
 
using value_type = Eigen::Vector3f
 

Public Member Functions

 ConstIterator (const CompressedPointCloud *compressed_point_cloud)
 
bool operator!= (const ConstIterator &it) const
 
Eigen::Vector3f operator* () const
 
ConstIteratoroperator++ ()
 

Static Public Member Functions

static ConstIterator EndIterator (const CompressedPointCloud *compressed_point_cloud)
 

Private Member Functions

void ReadNextPoint ()
 

Private Attributes

const CompressedPointCloudcompressed_point_cloud_
 
Eigen::Vector3i current_block_coordinates_
 
Eigen::Vector3f current_point_
 
std::vector< int32 >::const_iterator input_
 
size_t remaining_points_
 
int32 remaining_points_in_current_block_
 

Detailed Description

Definition at line 61 of file compressed_point_cloud.h.

Member Typedef Documentation

◆ difference_type

Definition at line 65 of file compressed_point_cloud.h.

◆ iterator_category

Definition at line 63 of file compressed_point_cloud.h.

◆ pointer

Definition at line 66 of file compressed_point_cloud.h.

◆ reference

Definition at line 67 of file compressed_point_cloud.h.

◆ value_type

Definition at line 64 of file compressed_point_cloud.h.

Constructor & Destructor Documentation

◆ ConstIterator()

cartographer::sensor::CompressedPointCloud::ConstIterator::ConstIterator ( const CompressedPointCloud compressed_point_cloud)
explicit

Definition at line 40 of file compressed_point_cloud.cc.

Member Function Documentation

◆ EndIterator()

CompressedPointCloud::ConstIterator cartographer::sensor::CompressedPointCloud::ConstIterator::EndIterator ( const CompressedPointCloud compressed_point_cloud)
static

Definition at line 52 of file compressed_point_cloud.cc.

◆ operator!=()

bool cartographer::sensor::CompressedPointCloud::ConstIterator::operator!= ( const ConstIterator it) const

Definition at line 73 of file compressed_point_cloud.cc.

◆ operator*()

Eigen::Vector3f cartographer::sensor::CompressedPointCloud::ConstIterator::operator* ( ) const

Definition at line 59 of file compressed_point_cloud.cc.

◆ operator++()

CompressedPointCloud::ConstIterator & cartographer::sensor::CompressedPointCloud::ConstIterator::operator++ ( )

Definition at line 65 of file compressed_point_cloud.cc.

◆ ReadNextPoint()

void cartographer::sensor::CompressedPointCloud::ConstIterator::ReadNextPoint ( )
private

Definition at line 79 of file compressed_point_cloud.cc.

Member Data Documentation

◆ compressed_point_cloud_

const CompressedPointCloud* cartographer::sensor::CompressedPointCloud::ConstIterator::compressed_point_cloud_
private

Definition at line 85 of file compressed_point_cloud.h.

◆ current_block_coordinates_

Eigen::Vector3i cartographer::sensor::CompressedPointCloud::ConstIterator::current_block_coordinates_
private

Definition at line 89 of file compressed_point_cloud.h.

◆ current_point_

Eigen::Vector3f cartographer::sensor::CompressedPointCloud::ConstIterator::current_point_
private

Definition at line 88 of file compressed_point_cloud.h.

◆ input_

std::vector<int32>::const_iterator cartographer::sensor::CompressedPointCloud::ConstIterator::input_
private

Definition at line 90 of file compressed_point_cloud.h.

◆ remaining_points_

size_t cartographer::sensor::CompressedPointCloud::ConstIterator::remaining_points_
private

Definition at line 86 of file compressed_point_cloud.h.

◆ remaining_points_in_current_block_

int32 cartographer::sensor::CompressedPointCloud::ConstIterator::remaining_points_in_current_block_
private

Definition at line 87 of file compressed_point_cloud.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59