Euclid
Geometry Processing and Shape Analysis in C++
|
A short ply property.
#include <PlyIO.h>
Public Types | |
using | value_type = int |
Public Member Functions | |
PlyShortProperty (const std::string &name) | |
PlyShortProperty (const std::string &name, bool is_list) | |
std::string | type_str () const override |
Return the string for this type in the header. | |
void | apply (PlyReader &reader, std::ifstream &stream, PlyFormat format) const override |
Apply a PlyReader visitor on this property. | |
void | apply (PlyWriter &writer, std::ofstream &stream, PlyFormat format) const override |
Apply a PlyWriter visitor on this property. | |
value_type | get_ascii (std::ifstream &stream) const |
value_type | get_binary (std::ifstream &stream, bool file_little_endian, bool sys_little_endian) const |
void | put_ascii (std::ofstream &stream, value_type value) const |
void | put_binary (std::ofstream &stream, value_type value, bool file_little_endian, bool sys_little_endian) const |
Public Member Functions inherited from Euclid::PlyProperty | |
PlyProperty (const std::string &name) | |
PlyProperty (const std::string &name, bool is_list) | |
PlyProperty (const PlyProperty &)=default | |
PlyProperty (PlyProperty &&)=default | |
PlyProperty & | operator= (const PlyProperty &)=default |
PlyProperty & | operator= (PlyProperty &&)=default |
const std::string & | name () const |
Return the name of this property. | |
bool | is_list () const |
Return if this property is a list property. | |