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

Ply header. More...

#include <PlyIO.h>

Public Member Functions

 PlyHeader (PlyFormat format)
 Create a PlyHeader with format.
 
 PlyHeader (const PlyHeader &)=delete
 
 PlyHeader (PlyHeader &&)=default
 
PlyHeaderoperator= (const PlyHeader &)=delete
 
PlyHeaderoperator= (PlyHeader &&)=default
 
PlyFormat format () const
 Return the format.
 
void set_format (PlyFormat format)
 Set the format.
 
PlyElementelement (size_t i)
 Get element by index.
 
const PlyElementelement (size_t i) const
 Get element by index.
 
void add_element (PlyElement &&element)
 Add an element to this header.
 
size_t n_elems () const
 Return the number of elements in the header specification.
 
decltype(auto) begin ()
 Return the begin iterator of the elements.
 
decltype(auto) begin () const
 Return the begin iterator of the elements.
 
decltype(auto) end ()
 Return the end iterator of the elements.
 
decltype(auto) end () const
 Return the end iterator of the elements.
 

Detailed Description

Hold the PlyFormat and a list of PlyElements.


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