#include <GeometryRenderer.h>
◆ ~GeometryRenderer()
virtual open3d::visualization::glsl::GeometryRenderer::~GeometryRenderer |
( |
| ) |
|
|
inlinevirtual |
◆ AddGeometry()
virtual bool open3d::visualization::glsl::GeometryRenderer::AddGeometry |
( |
std::shared_ptr< const geometry::Geometry > |
geometry_ptr | ) |
|
|
pure virtual |
Function to add geometry to the renderer
- After calling the function, the renderer owns the geometry object.
- This function returns FALSE if the geometry type is not matched to the renderer.
- If an added geometry is changed, programmer must call UpdateGeometry() to notify the renderer.
Implemented in open3d::visualization::glsl::PointCloudPickerRenderer, open3d::visualization::glsl::SelectionPolygonRenderer, open3d::visualization::glsl::CoordinateFrameRenderer, open3d::visualization::glsl::ImageRenderer, open3d::visualization::glsl::VoxelGridRenderer, open3d::visualization::glsl::TriangleMeshRenderer, open3d::visualization::glsl::LineSetRenderer, open3d::visualization::glsl::PointCloudPickingRenderer, and open3d::visualization::glsl::PointCloudRenderer.
◆ HasGeometry()
bool open3d::visualization::glsl::GeometryRenderer::HasGeometry |
( |
| ) |
const |
|
inline |
◆ IsVisible()
bool open3d::visualization::glsl::GeometryRenderer::IsVisible |
( |
| ) |
const |
|
inline |
◆ Render()
virtual bool open3d::visualization::glsl::GeometryRenderer::Render |
( |
const RenderOption & |
option, |
|
|
const ViewControl & |
view |
|
) |
| |
|
pure virtual |
◆ SetVisible()
void open3d::visualization::glsl::GeometryRenderer::SetVisible |
( |
bool |
visible | ) |
|
|
inline |
◆ UpdateGeometry()
virtual bool open3d::visualization::glsl::GeometryRenderer::UpdateGeometry |
( |
| ) |
|
|
pure virtual |
◆ geometry_ptr_
std::shared_ptr<const geometry::Geometry> open3d::visualization::glsl::GeometryRenderer::geometry_ptr_ |
|
protected |
◆ is_visible_
bool open3d::visualization::glsl::GeometryRenderer::is_visible_ = true |
|
protected |
The documentation for this class was generated from the following file: