Euclid
Geometry Processing and Shape Analysis in C++
Euclid::PlyUshortProperty Class Reference

An unsigned short ply property.

#include <PlyIO.h>

Inheritance diagram for Euclid::PlyUshortProperty:
Euclid::PlyProperty

Public Types

using value_type = unsigned
 

Public Member Functions

 PlyUshortProperty (const std::string &name)
 
 PlyUshortProperty (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
 
PlyPropertyoperator= (const PlyProperty &)=default
 
PlyPropertyoperator= (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.
 

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