occ
Loading...
Searching...
No Matches
occ::io::VertexProperties Struct Reference

#include <isosurface_mesh.h>

Public Types

using FloatVertexProperties = ankerl::unordered_dense::map< std::string, std::vector< float > >
 
using IntVertexProperties = ankerl::unordered_dense::map< std::string, std::vector< int > >
 

Public Member Functions

template<typename T >
void add_property (const std::string &name, const std::vector< T > &values)
 
void add_property (const std::string &name, const FVec &values)
 
void add_property (const std::string &name, const IVec &values)
 

Public Attributes

FloatVertexProperties fprops
 
IntVertexProperties iprops
 

Member Typedef Documentation

◆ FloatVertexProperties

using occ::io::VertexProperties::FloatVertexProperties = ankerl::unordered_dense::map<std::string, std::vector<float> >

◆ IntVertexProperties

using occ::io::VertexProperties::IntVertexProperties = ankerl::unordered_dense::map<std::string, std::vector<int> >

Member Function Documentation

◆ add_property() [1/3]

void occ::io::VertexProperties::add_property ( const std::string &  name,
const FVec values 
)
inline

◆ add_property() [2/3]

void occ::io::VertexProperties::add_property ( const std::string &  name,
const IVec values 
)
inline

◆ add_property() [3/3]

template<typename T >
void occ::io::VertexProperties::add_property ( const std::string &  name,
const std::vector< T > &  values 
)
inline

Member Data Documentation

◆ fprops

FloatVertexProperties occ::io::VertexProperties::fprops

◆ iprops

IntVertexProperties occ::io::VertexProperties::iprops

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