Euclid
Geometry Processing and Shape Analysis in C++
|
Ply header. More...
#include <PlyIO.h>
Public Member Functions | |
PlyHeader (PlyFormat format) | |
Create a PlyHeader with format. | |
PlyHeader (const PlyHeader &)=delete | |
PlyHeader (PlyHeader &&)=default | |
PlyHeader & | operator= (const PlyHeader &)=delete |
PlyHeader & | operator= (PlyHeader &&)=default |
PlyFormat | format () const |
Return the format. | |
void | set_format (PlyFormat format) |
Set the format. | |
PlyElement & | element (size_t i) |
Get element by index. | |
const PlyElement & | element (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. | |
Hold the PlyFormat and a list of PlyElements.