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 (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 57 of file ply2ply.cpp.


Member Typedef Documentation

Definition at line 60 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 61 of file ply2ply.cpp.


Constructor & Destructor Documentation

Definition at line 70 of file ply2ply.cpp.


Member Function Documentation

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

Definition at line 319 of file ply2ply.cpp.

bool ply_to_ply_converter::convert ( std::istream &  istream,
std::ostream &  ostream 
)

Definition at line 341 of file ply2ply.cpp.

Definition at line 200 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 215 of file ply2ply.cpp.

Definition at line 208 of file ply2ply.cpp.

Definition at line 333 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 150 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 162 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 138 of file ply2ply.cpp.

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

Definition at line 257 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 307 of file ply2ply.cpp.

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

Definition at line 282 of file ply2ply.cpp.

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

Definition at line 301 of file ply2ply.cpp.

Definition at line 156 of file ply2ply.cpp.

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

Definition at line 326 of file ply2ply.cpp.

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

Definition at line 226 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 249 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 144 of file ply2ply.cpp.


Member Data Documentation

Definition at line 133 of file ply2ply.cpp.

Definition at line 131 of file ply2ply.cpp.

Definition at line 132 of file ply2ply.cpp.

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

Definition at line 134 of file ply2ply.cpp.

Definition at line 132 of file ply2ply.cpp.


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


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:14