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

#include <xray_points_processor.h>

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

Classes

struct  Aggregation
 
struct  ColumnData
 

Public Member Functions

Eigen::AlignedBox3i bounding_box () const
 
FlushResult Flush () override
 
void Process (std::unique_ptr< PointsBatch > batch) override
 
 XRayPointsProcessor (double voxel_size, const transform::Rigid3f &transform, const std::vector< mapping::Floor > &floors, const string &output_filename, FileWriterFactory file_writer_factory, PointsProcessor *next)
 
 ~XRayPointsProcessor () 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< XRayPointsProcessorFromDictionary (const mapping::proto::Trajectory &trajectory, FileWriterFactory file_writer_factory, common::LuaParameterDictionary *dictionary, PointsProcessor *next)
 

Static Public Attributes

static constexpr const char * kConfigurationFileActionName
 

Private Member Functions

void Insert (const PointsBatch &batch, const transform::Rigid3f &transform, Aggregation *aggregation)
 
void WriteVoxels (const Aggregation &aggregation, FileWriter *const file_writer)
 

Private Attributes

std::vector< Aggregationaggregations_
 
Eigen::AlignedBox3i bounding_box_
 
FileWriterFactory file_writer_factory_
 
std::vector< mapping::Floorfloors_
 
PointsProcessor *const next_
 
const string output_filename_
 
const transform::Rigid3f transform_
 

Additional Inherited Members

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

Detailed Description

Definition at line 35 of file xray_points_processor.h.

Constructor & Destructor Documentation

cartographer::io::XRayPointsProcessor::XRayPointsProcessor ( double  voxel_size,
const transform::Rigid3f transform,
const std::vector< mapping::Floor > &  floors,
const string &  output_filename,
FileWriterFactory  file_writer_factory,
PointsProcessor next 
)

Definition at line 135 of file xray_points_processor.cc.

cartographer::io::XRayPointsProcessor::~XRayPointsProcessor ( )
inlineoverride

Definition at line 50 of file xray_points_processor.h.

Member Function Documentation

Eigen::AlignedBox3i cartographer::io::XRayPointsProcessor::bounding_box ( ) const
inline

Definition at line 55 of file xray_points_processor.h.

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

Implements cartographer::io::PointsProcessor.

Definition at line 238 of file xray_points_processor.cc.

std::unique_ptr< XRayPointsProcessor > cartographer::io::XRayPointsProcessor::FromDictionary ( const mapping::proto::Trajectory &  trajectory,
FileWriterFactory  file_writer_factory,
common::LuaParameterDictionary dictionary,
PointsProcessor next 
)
static

Definition at line 150 of file xray_points_processor.cc.

void cartographer::io::XRayPointsProcessor::Insert ( const PointsBatch batch,
const transform::Rigid3f transform,
Aggregation aggregation 
)
private

Definition at line 202 of file xray_points_processor.cc.

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

Implements cartographer::io::PointsProcessor.

Definition at line 223 of file xray_points_processor.cc.

void cartographer::io::XRayPointsProcessor::WriteVoxels ( const Aggregation aggregation,
FileWriter *const  file_writer 
)
private

Definition at line 168 of file xray_points_processor.cc.

Member Data Documentation

std::vector<Aggregation> cartographer::io::XRayPointsProcessor::aggregations_
private

Definition at line 85 of file xray_points_processor.h.

Eigen::AlignedBox3i cartographer::io::XRayPointsProcessor::bounding_box_
private

Definition at line 88 of file xray_points_processor.h.

FileWriterFactory cartographer::io::XRayPointsProcessor::file_writer_factory_
private

Definition at line 76 of file xray_points_processor.h.

std::vector<mapping::Floor> cartographer::io::XRayPointsProcessor::floors_
private

Definition at line 79 of file xray_points_processor.h.

constexpr const char* cartographer::io::XRayPointsProcessor::kConfigurationFileActionName
static
Initial value:
=
"write_xray_image"

Definition at line 37 of file xray_points_processor.h.

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

Definition at line 75 of file xray_points_processor.h.

const string cartographer::io::XRayPointsProcessor::output_filename_
private

Definition at line 81 of file xray_points_processor.h.

const transform::Rigid3f cartographer::io::XRayPointsProcessor::transform_
private

Definition at line 82 of file xray_points_processor.h.


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


cartographer
Author(s):
autogenerated on Mon Jun 10 2019 12:51:39