Model element (e.g., faces, vertices, edges) with optional properties.
More...
#include <easy3d/fileio/ply_reader_writer.h>
|
| | Element (const std::string &elem_name, std::size_t n_instances=0) |
| | Constructor to initialize the element with a name and number of instances.
|
| |
| std::string | property_statistics () const |
| | Returns a string representation of the property statistics.
|
| |
|
|
std::string | name |
| | The name of the element, e.g., "vertex", "face", "edge".
|
| |
|
std::size_t | num_instances |
| | The number of instances of the element.
|
| |
|
std::vector< Vec3Property > | vec3_properties |
| | Properties for "point", "normal", "color", and vector fields.
|
| |
|
std::vector< Vec2Property > | vec2_properties |
| | Properties for "texcoord".
|
| |
|
std::vector< FloatProperty > | float_properties |
| | Properties for scalar fields of float values.
|
| |
|
std::vector< IntProperty > | int_properties |
| | Properties for scalar fields of integer values.
|
| |
|
std::vector< FloatListProperty > | float_list_properties |
| | Properties for a list of float values.
|
| |
|
std::vector< IntListProperty > | int_list_properties |
| | Properties for a list of integer values.
|
| |
Model element (e.g., faces, vertices, edges) with optional properties.
◆ Element()
| Element |
( |
const std::string & | elem_name, |
|
|
std::size_t | n_instances = 0 ) |
|
inlineexplicit |
Constructor to initialize the element with a name and number of instances.
- Parameters
-
| elem_name | The name of the element. |
| n_instances | The number of instances of the element. |
◆ property_statistics()
| std::string property_statistics |
( |
| ) |
const |
Returns a string representation of the property statistics.
- Returns
- A string containing the property statistics.
The documentation for this class was generated from the following file: