Open3D (C++ API)
Public Member Functions
open3d::visualization::Renderer Class Referenceabstract

#include <Renderer.h>

Inheritance diagram for open3d::visualization::Renderer:
open3d::visualization::FilamentRenderer

Public Member Functions

virtual ~Renderer ()=default
 
virtual SceneHandle CreateScene ()=0
 
virtual SceneGetScene (const SceneHandle &id) const =0
 
virtual void DestroyScene (const SceneHandle &id)=0
 
virtual void UpdateSwapChain ()=0
 
virtual void BeginFrame ()=0
 
virtual void Draw ()=0
 
virtual void EndFrame ()=0
 
virtual MaterialHandle AddMaterial (const ResourceLoadRequest &request)=0
 
virtual MaterialInstanceHandle AddMaterialInstance (const MaterialHandle &material)=0
 
virtual MaterialInstanceHandle AddMaterialInstance (const geometry::TriangleMesh::Material &material)=0
 
virtual MaterialModifierModifyMaterial (const MaterialHandle &id)=0
 
virtual MaterialModifierModifyMaterial (const MaterialInstanceHandle &id)=0
 
virtual void RemoveMaterialInstance (const MaterialInstanceHandle &id)=0
 
virtual TextureHandle AddTexture (const ResourceLoadRequest &request)=0
 
virtual TextureHandle AddTexture (const std::shared_ptr< geometry::Image > &image)=0
 
virtual void RemoveTexture (const TextureHandle &id)=0
 
virtual IndirectLightHandle AddIndirectLight (const ResourceLoadRequest &request)=0
 
virtual void RemoveIndirectLight (const IndirectLightHandle &id)=0
 
virtual SkyboxHandle AddSkybox (const ResourceLoadRequest &request)=0
 
virtual void RemoveSkybox (const SkyboxHandle &id)=0
 
virtual std::shared_ptr< RenderToBufferCreateBufferRenderer ()=0
 
void RenderToImage (std::size_t width, std::size_t height, View *view, Scene *scene, std::function< void(std::shared_ptr< geometry::Image >)> cb)
 

Constructor & Destructor Documentation

◆ ~Renderer()

virtual open3d::visualization::Renderer::~Renderer ( )
virtualdefault

Member Function Documentation

◆ AddIndirectLight()

virtual IndirectLightHandle open3d::visualization::Renderer::AddIndirectLight ( const ResourceLoadRequest request)
pure virtual

◆ AddMaterial()

virtual MaterialHandle open3d::visualization::Renderer::AddMaterial ( const ResourceLoadRequest request)
pure virtual

◆ AddMaterialInstance() [1/2]

virtual MaterialInstanceHandle open3d::visualization::Renderer::AddMaterialInstance ( const MaterialHandle material)
pure virtual

◆ AddMaterialInstance() [2/2]

virtual MaterialInstanceHandle open3d::visualization::Renderer::AddMaterialInstance ( const geometry::TriangleMesh::Material material)
pure virtual

◆ AddSkybox()

virtual SkyboxHandle open3d::visualization::Renderer::AddSkybox ( const ResourceLoadRequest request)
pure virtual

◆ AddTexture() [1/2]

virtual TextureHandle open3d::visualization::Renderer::AddTexture ( const ResourceLoadRequest request)
pure virtual

◆ AddTexture() [2/2]

virtual TextureHandle open3d::visualization::Renderer::AddTexture ( const std::shared_ptr< geometry::Image > &  image)
pure virtual

◆ BeginFrame()

virtual void open3d::visualization::Renderer::BeginFrame ( )
pure virtual

◆ CreateBufferRenderer()

virtual std::shared_ptr<RenderToBuffer> open3d::visualization::Renderer::CreateBufferRenderer ( )
pure virtual

◆ CreateScene()

virtual SceneHandle open3d::visualization::Renderer::CreateScene ( )
pure virtual

◆ DestroyScene()

virtual void open3d::visualization::Renderer::DestroyScene ( const SceneHandle id)
pure virtual

◆ Draw()

virtual void open3d::visualization::Renderer::Draw ( )
pure virtual

◆ EndFrame()

virtual void open3d::visualization::Renderer::EndFrame ( )
pure virtual

◆ GetScene()

virtual Scene* open3d::visualization::Renderer::GetScene ( const SceneHandle id) const
pure virtual

◆ ModifyMaterial() [1/2]

virtual MaterialModifier& open3d::visualization::Renderer::ModifyMaterial ( const MaterialHandle id)
pure virtual

◆ ModifyMaterial() [2/2]

virtual MaterialModifier& open3d::visualization::Renderer::ModifyMaterial ( const MaterialInstanceHandle id)
pure virtual

◆ RemoveIndirectLight()

virtual void open3d::visualization::Renderer::RemoveIndirectLight ( const IndirectLightHandle id)
pure virtual

◆ RemoveMaterialInstance()

virtual void open3d::visualization::Renderer::RemoveMaterialInstance ( const MaterialInstanceHandle id)
pure virtual

◆ RemoveSkybox()

virtual void open3d::visualization::Renderer::RemoveSkybox ( const SkyboxHandle id)
pure virtual

◆ RemoveTexture()

virtual void open3d::visualization::Renderer::RemoveTexture ( const TextureHandle id)
pure virtual

◆ RenderToImage()

void open3d::visualization::Renderer::RenderToImage ( std::size_t  width,
std::size_t  height,
View view,
Scene scene,
std::function< void(std::shared_ptr< geometry::Image >)>  cb 
)

◆ UpdateSwapChain()

virtual void open3d::visualization::Renderer::UpdateSwapChain ( )
pure virtual

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