Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
cartographer::io::OutlierRemovingPointsProcessor Class Reference

#include <outlier_removing_points_processor.h>

Inheritance diagram for cartographer::io::OutlierRemovingPointsProcessor:
Inheritance graph
[legend]

Classes

struct  VoxelData
 

Public Member Functions

FlushResult Flush () override
 
OutlierRemovingPointsProcessoroperator= (const OutlierRemovingPointsProcessor &)=delete
 
 OutlierRemovingPointsProcessor (double voxel_size, PointsProcessor *next)
 
 OutlierRemovingPointsProcessor (const OutlierRemovingPointsProcessor &)=delete
 
void Process (std::unique_ptr< PointsBatch > batch) override
 
 ~OutlierRemovingPointsProcessor () override
 
- Public Member Functions inherited from cartographer::io::PointsProcessor
PointsProcessoroperator= (const PointsProcessor &)=delete
 
 PointsProcessor ()
 
 PointsProcessor (const PointsProcessor &)=delete
 
virtual ~PointsProcessor ()
 

Static Public Member Functions

static std::unique_ptr< OutlierRemovingPointsProcessorFromDictionary (common::LuaParameterDictionary *dictionary, PointsProcessor *next)
 

Static Public Attributes

static constexpr const char * kConfigurationFileActionName
 

Private Types

enum  State { State::kPhase1, State::kPhase2, State::kPhase3 }
 

Private Member Functions

void ProcessInPhaseOne (const PointsBatch &batch)
 
void ProcessInPhaseThree (std::unique_ptr< PointsBatch > batch)
 
void ProcessInPhaseTwo (const PointsBatch &batch)
 

Private Attributes

PointsProcessor *const next_
 
State state_
 
const double voxel_size_
 
mapping::HybridGridBase< VoxelDatavoxels_
 

Additional Inherited Members

- Public Types inherited from cartographer::io::PointsProcessor
enum  FlushResult { FlushResult::kRestartStream, FlushResult::kFinished }
 

Detailed Description

Definition at line 29 of file outlier_removing_points_processor.h.

Member Enumeration Documentation

◆ State

Enumerator
kPhase1 
kPhase2 
kPhase3 

Definition at line 59 of file outlier_removing_points_processor.h.

Constructor & Destructor Documentation

◆ OutlierRemovingPointsProcessor() [1/2]

cartographer::io::OutlierRemovingPointsProcessor::OutlierRemovingPointsProcessor ( double  voxel_size,
PointsProcessor next 
)

Definition at line 34 of file outlier_removing_points_processor.cc.

◆ ~OutlierRemovingPointsProcessor()

cartographer::io::OutlierRemovingPointsProcessor::~OutlierRemovingPointsProcessor ( )
inlineoverride

Definition at line 39 of file outlier_removing_points_processor.h.

◆ OutlierRemovingPointsProcessor() [2/2]

cartographer::io::OutlierRemovingPointsProcessor::OutlierRemovingPointsProcessor ( const OutlierRemovingPointsProcessor )
delete

Member Function Documentation

◆ Flush()

PointsProcessor::FlushResult cartographer::io::OutlierRemovingPointsProcessor::Flush ( )
overridevirtual

◆ FromDictionary()

std::unique_ptr< OutlierRemovingPointsProcessor > cartographer::io::OutlierRemovingPointsProcessor::FromDictionary ( common::LuaParameterDictionary dictionary,
PointsProcessor next 
)
static

Definition at line 27 of file outlier_removing_points_processor.cc.

◆ operator=()

OutlierRemovingPointsProcessor& cartographer::io::OutlierRemovingPointsProcessor::operator= ( const OutlierRemovingPointsProcessor )
delete

◆ Process()

void cartographer::io::OutlierRemovingPointsProcessor::Process ( std::unique_ptr< PointsBatch batch)
overridevirtual

◆ ProcessInPhaseOne()

void cartographer::io::OutlierRemovingPointsProcessor::ProcessInPhaseOne ( const PointsBatch batch)
private

Definition at line 81 of file outlier_removing_points_processor.cc.

◆ ProcessInPhaseThree()

void cartographer::io::OutlierRemovingPointsProcessor::ProcessInPhaseThree ( std::unique_ptr< PointsBatch batch)
private

Definition at line 106 of file outlier_removing_points_processor.cc.

◆ ProcessInPhaseTwo()

void cartographer::io::OutlierRemovingPointsProcessor::ProcessInPhaseTwo ( const PointsBatch batch)
private

Definition at line 88 of file outlier_removing_points_processor.cc.

Member Data Documentation

◆ kConfigurationFileActionName

constexpr const char* cartographer::io::OutlierRemovingPointsProcessor::kConfigurationFileActionName
static
Initial value:
=
"voxel_filter_and_remove_moving_objects"

Definition at line 31 of file outlier_removing_points_processor.h.

◆ next_

PointsProcessor* const cartographer::io::OutlierRemovingPointsProcessor::next_
private

Definition at line 79 of file outlier_removing_points_processor.h.

◆ state_

State cartographer::io::OutlierRemovingPointsProcessor::state_
private

Definition at line 80 of file outlier_removing_points_processor.h.

◆ voxel_size_

const double cartographer::io::OutlierRemovingPointsProcessor::voxel_size_
private

Definition at line 78 of file outlier_removing_points_processor.h.

◆ voxels_

mapping::HybridGridBase<VoxelData> cartographer::io::OutlierRemovingPointsProcessor::voxels_
private

Definition at line 81 of file outlier_removing_points_processor.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