Public Types | Public Member Functions | Private Member Functions | Private Attributes
ply_to_ply_converter Class Reference

List of all members.

Public Types

enum  format {
  same_format, ascii_format, binary_format, binary_big_endian_format,
  binary_little_endian_format
}
typedef int format_type

Public Member Functions

bool convert (const std::string &filename, std::istream &istream, std::ostream &ostream)
 ply_to_ply_converter (format_type format)

Private Member Functions

void comment_callback (const std::string &comment)
void element_begin_callback ()
boost::tuple< boost::function
< void()>, boost::function
< void()> > 
element_definition_callback (const std::string &element_name, std::size_t count)
void element_end_callback ()
bool end_header_callback ()
void error_callback (const std::string &filename, std::size_t line_number, const std::string &message)
void format_callback (pcl::io::ply::format_type format, const std::string &version)
void info_callback (const std::string &filename, std::size_t line_number, const std::string &message)
template<typename SizeType , typename ScalarType >
void list_property_begin_callback (SizeType size)
template<typename SizeType , typename ScalarType >
boost::tuple< boost::function
< void(SizeType)>
, boost::function< void(ScalarType)>
, boost::function< void()> > 
list_property_definition_callback (const std::string &element_name, const std::string &property_name)
template<typename SizeType , typename ScalarType >
void list_property_element_callback (ScalarType scalar)
template<typename SizeType , typename ScalarType >
void list_property_end_callback ()
void magic_callback ()
void obj_info_callback (const std::string &obj_info)
template<typename ScalarType >
void scalar_property_callback (ScalarType scalar)
template<typename ScalarType >
boost::function< void(ScalarType)> scalar_property_definition_callback (const std::string &element_name, const std::string &property_name)
void warning_callback (const std::string &filename, std::size_t line_number, const std::string &message)

Private Attributes

bool bol_
format_type format_
pcl::io::ply::format_type input_format_
std::ostream * ostream_
pcl::io::ply::format_type output_format_

Detailed Description

Converts a PLY file with format FORMAT_IN to PLY file with format FORMAT_OUT. Format may be one of the following: ascii, binary, binary_big_endian, binary_little_endian. If no format is given, the format of input is kept.

Author:
Ares Lagae

Definition at line 56 of file ply2ply.cpp.


Member Typedef Documentation

Definition at line 59 of file ply2ply.cpp.


Member Enumeration Documentation

Enumerator:
same_format 
ascii_format 
binary_format 
binary_big_endian_format 
binary_little_endian_format 

Definition at line 60 of file ply2ply.cpp.


Constructor & Destructor Documentation

Definition at line 69 of file ply2ply.cpp.


Member Function Documentation

void ply_to_ply_converter::comment_callback ( const std::string comment) [private]

Definition at line 318 of file ply2ply.cpp.

bool ply_to_ply_converter::convert ( const std::string filename,
std::istream &  istream,
std::ostream &  ostream 
)

Definition at line 340 of file ply2ply.cpp.

Definition at line 199 of file ply2ply.cpp.

boost::tuple< boost::function< void()>, boost::function< void()> > ply_to_ply_converter::element_definition_callback ( const std::string element_name,
std::size_t  count 
) [private]

Definition at line 214 of file ply2ply.cpp.

Definition at line 207 of file ply2ply.cpp.

Definition at line 332 of file ply2ply.cpp.

void ply_to_ply_converter::error_callback ( const std::string filename,
std::size_t  line_number,
const std::string message 
) [private]

Definition at line 149 of file ply2ply.cpp.

void ply_to_ply_converter::format_callback ( pcl::io::ply::format_type  format,
const std::string version 
) [private]

Definition at line 161 of file ply2ply.cpp.

void ply_to_ply_converter::info_callback ( const std::string filename,
std::size_t  line_number,
const std::string message 
) [private]

Definition at line 137 of file ply2ply.cpp.

template<typename SizeType , typename ScalarType >
void ply_to_ply_converter::list_property_begin_callback ( SizeType  size) [private]

Definition at line 256 of file ply2ply.cpp.

template<typename SizeType , typename ScalarType >
boost::tuple< boost::function< void(SizeType)>, boost::function< void(ScalarType)>, boost::function< void()> > ply_to_ply_converter::list_property_definition_callback ( const std::string element_name,
const std::string property_name 
) [private]

Definition at line 306 of file ply2ply.cpp.

template<typename SizeType , typename ScalarType >
void ply_to_ply_converter::list_property_element_callback ( ScalarType  scalar) [private]

Definition at line 281 of file ply2ply.cpp.

template<typename SizeType , typename ScalarType >
void ply_to_ply_converter::list_property_end_callback ( ) [private]

Definition at line 300 of file ply2ply.cpp.

Definition at line 155 of file ply2ply.cpp.

void ply_to_ply_converter::obj_info_callback ( const std::string obj_info) [private]

Definition at line 325 of file ply2ply.cpp.

template<typename ScalarType >
void ply_to_ply_converter::scalar_property_callback ( ScalarType  scalar) [private]

Definition at line 225 of file ply2ply.cpp.

template<typename ScalarType >
boost::function< void(ScalarType)> ply_to_ply_converter::scalar_property_definition_callback ( const std::string element_name,
const std::string property_name 
) [private]

Definition at line 248 of file ply2ply.cpp.

void ply_to_ply_converter::warning_callback ( const std::string filename,
std::size_t  line_number,
const std::string message 
) [private]

Definition at line 143 of file ply2ply.cpp.


Member Data Documentation

Definition at line 132 of file ply2ply.cpp.

Definition at line 130 of file ply2ply.cpp.

Definition at line 131 of file ply2ply.cpp.

std::ostream* ply_to_ply_converter::ostream_ [private]

Definition at line 133 of file ply2ply.cpp.

Definition at line 131 of file ply2ply.cpp.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:53