Generic property.
More...
#include <easy3d/fileio/ply_reader_writer.h>
|
| GenericProperty (const std::string &prop_name="", const std::vector< VT > &values=std::vector< VT >()) |
| Constructor to initialize the property with a name and values.
|
|
|
std::string | name |
| The name of the property.
|
|
template<typename VT>
class easy3d::io::GenericProperty< VT >
Generic property.
- Template Parameters
-
VT | The value type, e.g., int, float, string, vec3, std::vector |
- Attention
- Current implementation uses 'float' --> loss in accuracy when handling large coordinates
◆ GenericProperty()
template<typename VT>
GenericProperty |
( |
const std::string & | prop_name = "", |
|
|
const std::vector< VT > & | values = std::vector<VT>() ) |
|
inlineexplicit |
Constructor to initialize the property with a name and values.
- Parameters
-
prop_name | The name of the property. |
values | The values of the property. |
The documentation for this class was generated from the following file: