iridescence
Loading...
Searching...
No Matches
ply_io.hpp File Reference
#include <memory>
#include <vector>
#include <Eigen/Core>
Include dependency graph for ply_io.hpp:

Go to the source code of this file.

Classes

 PLY file metadata. More...
struct  glk::PLYGenericPropertyBuffer
 PLY property buffer. More...
struct  glk::PLYPropertyBuffer< T >
 PLY property buffer for a specific type. More...
struct  glk::PLYData
 PLY data. More...

Namespaces

namespace  glk

Enumerations

enum class  glk::PLYPropertyType {
  glk::CHAR , glk::UCHAR , glk::SHORT , glk::USHORT ,
  glk::INT , glk::UINT , glk::FLOAT , glk::DOUBLE
}
 PLY property type. More...

Functions

template<typename T>
PLYPropertyType glk::ply_prop_type ()
 Get the PLY property type for a specific type.
std::shared_ptr< PLYData > glk::load_ply (const std::string &filename)
 Load a PLY file.
bool glk::save_ply (const std::string &filename, const PLYData &ply, bool binary=true)
 Save a PLY file.
bool glk::save_ply_ascii (const std::string &filename, const PLYData &ply)
bool glk::save_ply_binary (const std::string &filename, const PLYData &ply)
template<typename T, int D>
bool glk::save_ply_binary (const std::string &filename, const Eigen::Matrix< T, D, 1 > *points, int num_points)