ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::t::geometry::DrawableGeometry Class Reference

Mix-in class for geometry types that can be visualized. More...

#include <DrawableGeometry.h>

Inheritance diagram for cloudViewer::t::geometry::DrawableGeometry:

Public Member Functions

 DrawableGeometry ()
 
 ~DrawableGeometry ()
 
bool HasMaterial () const
 Check if a material has been applied to this Geometry with SetMaterial. More...
 
visualization::rendering::MaterialGetMaterial ()
 Get material associated with this Geometry. More...
 
const visualization::rendering::MaterialGetMaterial () 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...
 

Detailed Description

Mix-in class for geometry types that can be visualized.

Definition at line 19 of file DrawableGeometry.h.

Constructor & Destructor Documentation

◆ DrawableGeometry()

cloudViewer::t::geometry::DrawableGeometry::DrawableGeometry ( )
inline

Definition at line 21 of file DrawableGeometry.h.

◆ ~DrawableGeometry()

cloudViewer::t::geometry::DrawableGeometry::~DrawableGeometry ( )
inline

Definition at line 22 of file DrawableGeometry.h.

Member Function Documentation

◆ GetMaterial() [1/2]

◆ GetMaterial() [2/2]

const visualization::rendering::Material& cloudViewer::t::geometry::DrawableGeometry::GetMaterial ( ) const
inline

Get const reference to material associated with this Geometry.

Definition at line 31 of file DrawableGeometry.h.

◆ HasMaterial()

bool cloudViewer::t::geometry::DrawableGeometry::HasMaterial ( ) const
inline

◆ SetMaterial()

void cloudViewer::t::geometry::DrawableGeometry::SetMaterial ( const visualization::rendering::Material material)
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().


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