ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::io::speckle::Mesh Struct Reference

Triangle/quad mesh. More...

#include <speckle.hpp>

Inheritance diagram for reusex::io::speckle::Mesh:
Collaboration diagram for reusex::io::speckle::Mesh:

Public Member Functions

 Mesh ()
Public Member Functions inherited from reusex::io::speckle::Base
virtual ~Base ()=default

Public Attributes

std::vector< double > vertices
 Flat [x,y,z,x,y,z,...].
std::vector< int > faces
 Packed [n, i0, i1, ..., n, i0, i1, ...].
std::vector< int > colors
 ARGB integers.
std::string units = "m"
Public Attributes inherited from reusex::io::speckle::Base
std::string speckle_type = "Base"
std::string applicationId
std::map< std::string, nlohmann::json > properties
std::vector< std::shared_ptr< Base > > elements
 Child objects (serialized as detached @elements).

Detailed Description

Triangle/quad mesh.

Definition at line 58 of file speckle.hpp.

Constructor & Destructor Documentation

◆ Mesh()

reusex::io::speckle::Mesh::Mesh ( )
inline

Definition at line 64 of file speckle.hpp.

References reusex::io::speckle::Base::speckle_type.

Member Data Documentation

◆ colors

std::vector<int> reusex::io::speckle::Mesh::colors

ARGB integers.

Definition at line 61 of file speckle.hpp.

◆ faces

std::vector<int> reusex::io::speckle::Mesh::faces

Packed [n, i0, i1, ..., n, i0, i1, ...].

Definition at line 60 of file speckle.hpp.

◆ units

std::string reusex::io::speckle::Mesh::units = "m"

Definition at line 62 of file speckle.hpp.

◆ vertices

std::vector<double> reusex::io::speckle::Mesh::vertices

Flat [x,y,z,x,y,z,...].

Definition at line 59 of file speckle.hpp.


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