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

#include <ply_writing_points_processor.h>

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

Public Member Functions

FlushResult Flush () override
 
PlyWritingPointsProcessoroperator= (const PlyWritingPointsProcessor &)=delete
 
 PlyWritingPointsProcessor (std::unique_ptr< FileWriter > file_writer, PointsProcessor *next)
 
 PlyWritingPointsProcessor (const PlyWritingPointsProcessor &)=delete
 
void Process (std::unique_ptr< PointsBatch > batch) override
 
 ~PlyWritingPointsProcessor () 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< PlyWritingPointsProcessorFromDictionary (const FileWriterFactory &file_writer_factory, common::LuaParameterDictionary *dictionary, PointsProcessor *next)
 

Static Public Attributes

static constexpr const char * kConfigurationFileActionName = "write_ply"
 

Private Attributes

std::unique_ptr< FileWriterfile_
 
bool has_colors_
 
bool has_intensities_
 
PointsProcessor *const next_
 
int64 num_points_
 

Additional Inherited Members

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

Detailed Description

Definition at line 25 of file ply_writing_points_processor.h.

Constructor & Destructor Documentation

◆ PlyWritingPointsProcessor() [1/2]

cartographer::io::PlyWritingPointsProcessor::PlyWritingPointsProcessor ( std::unique_ptr< FileWriter file_writer,
PointsProcessor next 
)

Definition at line 92 of file ply_writing_points_processor.cc.

◆ ~PlyWritingPointsProcessor()

cartographer::io::PlyWritingPointsProcessor::~PlyWritingPointsProcessor ( )
inlineoverride

Definition at line 35 of file ply_writing_points_processor.h.

◆ PlyWritingPointsProcessor() [2/2]

cartographer::io::PlyWritingPointsProcessor::PlyWritingPointsProcessor ( const PlyWritingPointsProcessor )
delete

Member Function Documentation

◆ Flush()

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

Implements cartographer::io::PointsProcessor.

Definition at line 99 of file ply_writing_points_processor.cc.

◆ FromDictionary()

std::unique_ptr< PlyWritingPointsProcessor > cartographer::io::PlyWritingPointsProcessor::FromDictionary ( const FileWriterFactory file_writer_factory,
common::LuaParameterDictionary dictionary,
PointsProcessor next 
)
static

Definition at line 84 of file ply_writing_points_processor.cc.

◆ operator=()

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

◆ Process()

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

Member Data Documentation

◆ file_

std::unique_ptr<FileWriter> cartographer::io::PlyWritingPointsProcessor::file_
private

Definition at line 50 of file ply_writing_points_processor.h.

◆ has_colors_

bool cartographer::io::PlyWritingPointsProcessor::has_colors_
private

Definition at line 48 of file ply_writing_points_processor.h.

◆ has_intensities_

bool cartographer::io::PlyWritingPointsProcessor::has_intensities_
private

Definition at line 49 of file ply_writing_points_processor.h.

◆ kConfigurationFileActionName

constexpr const char* cartographer::io::PlyWritingPointsProcessor::kConfigurationFileActionName = "write_ply"
static

Definition at line 27 of file ply_writing_points_processor.h.

◆ next_

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

Definition at line 45 of file ply_writing_points_processor.h.

◆ num_points_

int64 cartographer::io::PlyWritingPointsProcessor::num_points_
private

Definition at line 47 of file ply_writing_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