ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
rux::view::LoadedMesh Struct Reference

A polygon mesh loaded for visualization with associated metadata. More...

#include <viewer_types.hpp>

Collaboration diagram for rux::view::LoadedMesh:

Public Member Functions

bool is_textured () const

Public Attributes

std::variant< pcl::PolygonMesh::Ptr, pcl::TextureMesh::Ptr > mesh
 The mesh data (regular or textured).
std::string name
 Display name in viewer.
bool visible = true
 Current visibility state Check if this mesh has texture information.

Detailed Description

A polygon mesh loaded for visualization with associated metadata.

Definition at line 36 of file viewer_types.hpp.

Member Function Documentation

◆ is_textured()

bool rux::view::LoadedMesh::is_textured ( ) const
inline

Definition at line 42 of file viewer_types.hpp.

References mesh.

Referenced by rux::view::ItemTraits< LoadedMesh >::add_to_viewer().

Member Data Documentation

◆ mesh

std::variant<pcl::PolygonMesh::Ptr, pcl::TextureMesh::Ptr> rux::view::LoadedMesh::mesh

The mesh data (regular or textured).

Definition at line 38 of file viewer_types.hpp.

Referenced by rux::view::ItemTraits< LoadedMesh >::add_to_viewer(), and is_textured().

◆ name

std::string rux::view::LoadedMesh::name

Display name in viewer.

Definition at line 39 of file viewer_types.hpp.

Referenced by rux::view::ItemTraits< LoadedMesh >::add_to_viewer().

◆ visible

bool rux::view::LoadedMesh::visible = true

Current visibility state Check if this mesh has texture information.

Definition at line 40 of file viewer_types.hpp.


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