gtsam_points
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
glk::PLYData Struct Reference

PLY data. More...

#include <ply_io.hpp>

Public Member Functions

template<typename T >
void add_prop (const std::string &name, const T *data, size_t size)
 

Public Attributes

std::vector< Eigen::Vector3f > vertices
 
std::vector< Eigen::Vector3f > normals
 
std::vector< floatintensities
 
std::vector< Eigen::Vector4f > colors
 
std::vector< intindices
 
std::vector< std::string > comments
 
std::vector< PLYGenericPropertyBuffer::Ptrproperties
 

Detailed Description

PLY data.

Note
When saving, primary properties (vertices, normals...) are first written, and then the generic properties are written to the file. If a property exists in both generic and primary properties, the primary property is prioritized. (e.g., vertices[0] overwrites properties[name =="x"]).

Member Function Documentation

◆ add_prop()

template<typename T >
void glk::PLYData::add_prop ( const std::string &  name,
const T data,
size_t  size 
)
inline

Member Data Documentation

◆ colors

std::vector<Eigen::Vector4f> glk::PLYData::colors

◆ comments

std::vector<std::string> glk::PLYData::comments

◆ indices

std::vector<int> glk::PLYData::indices

◆ intensities

std::vector<float> glk::PLYData::intensities

◆ normals

std::vector<Eigen::Vector3f> glk::PLYData::normals

◆ properties

std::vector<PLYGenericPropertyBuffer::Ptr> glk::PLYData::properties

◆ vertices

std::vector<Eigen::Vector3f> glk::PLYData::vertices

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