Easy3D 2.6.1
Loading...
Searching...
No Matches
GenericProperty< VT > Class Template Reference

Generic property. More...

#include <easy3d/fileio/ply_reader_writer.h>

Inheritance diagram for GenericProperty< VT >:

Public Member Functions

 GenericProperty (const std::string &prop_name="", const std::vector< VT > &values=std::vector< VT >())
 Constructor to initialize the property with a name and values.
 

Public Attributes

std::string name
 The name of the property.
 

Detailed Description

template<typename VT>
class easy3d::io::GenericProperty< VT >

Generic property.

Template Parameters
VTThe value type, e.g., int, float, string, vec3, std::vector
Attention
Current implementation uses 'float' --> loss in accuracy when handling large coordinates

Constructor & Destructor Documentation

◆ 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_nameThe name of the property.
valuesThe values of the property.

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