PLY element storage.
More...
#include <PlyFile.h>
◆ PlyElement()
ph::PlyElement::PlyElement |
( |
| ) |
|
◆ containsList()
bool ph::PlyElement::containsList |
( |
| ) |
const |
◆ findProperty()
PlyProperty * ph::PlyElement::findProperty |
( |
std::string_view | name | ) |
|
◆ isLoaded()
bool ph::PlyElement::isLoaded |
( |
| ) |
const |
◆ listPropertyValues()
◆ propertyValues()
◆ name
std::string ph::PlyElement::name |
◆ numElements
std::size_t ph::PlyElement::numElements |
◆ properties
◆ rawBuffer
std::vector<std::byte> ph::PlyElement::rawBuffer |
Raw data storage for properties in a PLY element. Note that this buffer is for non-list properties only, as list may be variable-sized which will make properties no longer locatable via a constant stride size (properties in a PLY element is stored in AoS). Fixed size lists, in theory, can fit into non-list properties without problem; however, most data have list properties separated into its own element already and we find it is also easier to deal with lists with the current policy. Each list has its own raw data storage in PlyProperty::rawListBuffer
.
◆ strideSize
std::size_t ph::PlyElement::strideSize |
The documentation for this struct was generated from the following files: