17 py::class_<DrawableGeometry, std::shared_ptr<DrawableGeometry>>
18 drawable_geometry(m,
"DrawableGeometry",
19 "Base class for visualizable geometry.");
21 "Returns true if the geometry's material is valid.");
22 drawable_geometry.def_property(
bool HasMaterial() const
Check if a material has been applied to this Geometry with SetMaterial.
void SetMaterial(const visualization::rendering::Material &material)
Set the material properties associate with this Geometry.
visualization::rendering::Material & GetMaterial()
Get material associated with this Geometry.
void pybind_drawable_geometry(py::module &m)
Generic file read and write utility for python interface.