#include <xray_points_processor.h>
Classes | |
struct | Aggregation |
struct | ColumnData |
Public Types | |
enum | DrawTrajectories { DrawTrajectories::kNo, DrawTrajectories::kYes } |
Public Types inherited from cartographer::io::PointsProcessor | |
enum | FlushResult { FlushResult::kRestartStream, FlushResult::kFinished } |
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 DrawTrajectories &draw_trajectories, const std::string &output_filename, const std::vector< mapping::proto::Trajectory > &trajectories, FileWriterFactory file_writer_factory, PointsProcessor *next) | |
~XRayPointsProcessor () override | |
Public Member Functions inherited from cartographer::io::PointsProcessor | |
PointsProcessor & | operator= (const PointsProcessor &)=delete |
PointsProcessor () | |
PointsProcessor (const PointsProcessor &)=delete | |
virtual | ~PointsProcessor () |
Static Public Member Functions | |
static std::unique_ptr< XRayPointsProcessor > | FromDictionary (const std::vector< mapping::proto::Trajectory > &trajectories, 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, Aggregation *aggregation) |
void | WriteVoxels (const Aggregation &aggregation, FileWriter *const file_writer) |
Private Attributes | |
std::vector< Aggregation > | aggregations_ |
Eigen::AlignedBox3i | bounding_box_ |
const DrawTrajectories | draw_trajectories_ |
FileWriterFactory | file_writer_factory_ |
std::vector< mapping::Floor > | floors_ |
PointsProcessor *const | next_ |
const std::string | output_filename_ |
const std::vector< mapping::proto::Trajectory > | trajectories_ |
const transform::Rigid3f | transform_ |
Definition at line 35 of file xray_points_processor.h.
Enumerator | |
---|---|
kNo | |
kYes |
Definition at line 39 of file xray_points_processor.h.
cartographer::io::XRayPointsProcessor::XRayPointsProcessor | ( | double | voxel_size, |
const transform::Rigid3f & | transform, | ||
const std::vector< mapping::Floor > & | floors, | ||
const DrawTrajectories & | draw_trajectories, | ||
const std::string & | output_filename, | ||
const std::vector< mapping::proto::Trajectory > & | trajectories, | ||
FileWriterFactory | file_writer_factory, | ||
PointsProcessor * | next | ||
) |
Definition at line 98 of file xray_points_processor.cc.
|
inlineoverride |
Definition at line 53 of file xray_points_processor.h.
|
inline |
Definition at line 58 of file xray_points_processor.h.
|
overridevirtual |
Implements cartographer::io::PointsProcessor.
Definition at line 230 of file xray_points_processor.cc.
|
static |
Definition at line 118 of file xray_points_processor.cc.
|
private |
Definition at line 195 of file xray_points_processor.cc.
|
overridevirtual |
Implements cartographer::io::PointsProcessor.
Definition at line 215 of file xray_points_processor.cc.
|
private |
Definition at line 144 of file xray_points_processor.cc.
|
private |
Definition at line 89 of file xray_points_processor.h.
|
private |
Definition at line 92 of file xray_points_processor.h.
|
private |
Definition at line 77 of file xray_points_processor.h.
|
private |
Definition at line 79 of file xray_points_processor.h.
|
private |
Definition at line 83 of file xray_points_processor.h.
|
static |
Definition at line 37 of file xray_points_processor.h.
|
private |
Definition at line 80 of file xray_points_processor.h.
|
private |
Definition at line 85 of file xray_points_processor.h.
|
private |
Definition at line 78 of file xray_points_processor.h.
|
private |
Definition at line 86 of file xray_points_processor.h.