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

Classes

struct  Base
 Base class for all Speckle objects. More...
struct  Point
 3D point. More...
struct  Line
 Line segment between two points. More...
struct  Mesh
 Triangle/quad mesh. More...
struct  Pointcloud
 Point cloud. More...
struct  Collection
 Collection / container for grouping objects. More...
class  SpeckleClient
 Upload-only Speckle client. More...
struct  SpeckleModel
 One model (branch) to upload to Speckle. More...

Functions

Pointcloud to_speckle (CloudConstPtr cloud)
 Convert a PCL point cloud to a Speckle Pointcloud.
Mesh to_speckle (const pcl::PolygonMesh &mesh)
 Convert a PCL PolygonMesh to a Speckle Mesh.
Mesh to_speckle (const Eigen::MatrixXd &vertices, const Eigen::MatrixXi &faces)
 Convert Eigen vertex/face matrices (from Solidifier::toMesh) to a Speckle Mesh.
auto export_to_speckle (const ExportScene &scene) -> std::vector< SpeckleModel >
 Build per-model Speckle objects from an ExportScene.

Function Documentation

◆ export_to_speckle()

auto reusex::io::speckle::export_to_speckle ( const ExportScene & scene) -> std::vector< SpeckleModel >

Build per-model Speckle objects from an ExportScene.

Returns one SpeckleModel per non-empty category.

◆ to_speckle() [1/3]

Pointcloud reusex::io::speckle::to_speckle ( CloudConstPtr cloud)

Convert a PCL point cloud to a Speckle Pointcloud.

◆ to_speckle() [2/3]

Mesh reusex::io::speckle::to_speckle ( const Eigen::MatrixXd & vertices,
const Eigen::MatrixXi & faces )

Convert Eigen vertex/face matrices (from Solidifier::toMesh) to a Speckle Mesh.

◆ to_speckle() [3/3]

Mesh reusex::io::speckle::to_speckle ( const pcl::PolygonMesh & mesh)

Convert a PCL PolygonMesh to a Speckle Mesh.