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, 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 (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_
 
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

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

Definition at line 81 of file ply_writing_points_processor.cc.

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

Definition at line 35 of file ply_writing_points_processor.h.

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

Member Function Documentation

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

Implements cartographer::io::PointsProcessor.

Definition at line 88 of file ply_writing_points_processor.cc.

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

Definition at line 73 of file ply_writing_points_processor.cc.

PlyWritingPointsProcessor& cartographer::io::PlyWritingPointsProcessor::operator= ( const PlyWritingPointsProcessor )
delete
void cartographer::io::PlyWritingPointsProcessor::Process ( std::unique_ptr< PointsBatch batch)
overridevirtual

Member Data Documentation

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

Definition at line 49 of file ply_writing_points_processor.h.

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

Definition at line 48 of file ply_writing_points_processor.h.

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

Definition at line 27 of file ply_writing_points_processor.h.

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

Definition at line 45 of file ply_writing_points_processor.h.

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):
autogenerated on Mon Jun 10 2019 12:51:39