![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Mix-in class for geometry types that can be visualized. More...
#include <DrawableGeometry.h>

Public Member Functions | |
| DrawableGeometry () | |
| ~DrawableGeometry () | |
| bool | HasMaterial () const |
| Check if a material has been applied to this Geometry with SetMaterial. More... | |
| visualization::rendering::Material & | GetMaterial () |
| Get material associated with this Geometry. More... | |
| const visualization::rendering::Material & | GetMaterial () const |
| Get const reference to material associated with this Geometry. More... | |
| void | SetMaterial (const visualization::rendering::Material &material) |
| Set the material properties associate with this Geometry. More... | |
Mix-in class for geometry types that can be visualized.
Definition at line 19 of file DrawableGeometry.h.
|
inline |
Definition at line 21 of file DrawableGeometry.h.
|
inline |
Definition at line 22 of file DrawableGeometry.h.
|
inline |
Get material associated with this Geometry.
Definition at line 28 of file DrawableGeometry.h.
Referenced by cloudViewer::t::geometry::TriangleMesh::BakeVertexAttrTextures(), cloudViewer::t::geometry::TriangleMesh::FromLegacy(), cloudViewer::io::rpc::GeometryToMeshData(), cloudViewer::t::geometry::TriangleMesh::ProjectImagesToAlbedo(), cloudViewer::t::geometry::pybind_drawable_geometry(), cloudViewer::t::io::ReadTriangleMeshFromNPZ(), cloudViewer::t::geometry::TriangleMesh::SamplePointsUniformly(), cloudViewer::io::rpc::SetTriangleMesh(), and cloudViewer::t::geometry::TriangleMesh::ToLegacy().
|
inline |
Get const reference to material associated with this Geometry.
Definition at line 31 of file DrawableGeometry.h.
|
inline |
Check if a material has been applied to this Geometry with SetMaterial.
Definition at line 25 of file DrawableGeometry.h.
References cloudViewer::visualization::rendering::Material::IsValid().
Referenced by cloudViewer::t::geometry::TriangleMesh::ProjectImagesToAlbedo(), cloudViewer::t::geometry::pybind_drawable_geometry(), and cloudViewer::io::rpc::SetTriangleMesh().
|
inline |
Set the material properties associate with this Geometry.
Definition at line 36 of file DrawableGeometry.h.
Referenced by cloudViewer::t::geometry::TriangleMesh::ProjectImagesToAlbedo(), and cloudViewer::t::geometry::pybind_drawable_geometry().