Class PlyFile

Class Documentation

class tinyply::PlyFile

Public Functions

inline PlyFile()
PlyFile(std::istream &is)
void read(std::istream &is)
void write(std::ostream &os, bool isBinary)
inline std::vector<PlyElement> &get_elements()
template<typename T>
inline size_t request_properties_from_element(const std::string &elementKey, std::vector<std::string> propertyKeys, std::vector<T> &source, const int listCount = 1)
template<typename T>
inline void add_properties_to_element(const std::string &elementKey, const std::vector<std::string> &propertyKeys, std::vector<T> &source, const int listCount = 1, const PlyProperty::Type listType = PlyProperty::Type::INVALID)

Public Members

std::vector<std::string> comments
std::vector<std::string> objInfo