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

#include <Renderer.h>

Inheritance diagram for open3d::visualization::rendering::Renderer:
open3d::visualization::rendering::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 SetClearColor (const Eigen::Vector4f &color)=0
 
virtual void SetPreserveBuffer (bool preserve)=0
 
virtual void UpdateSwapChain ()=0
 
virtual void EnableCaching (bool enable)=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 MaterialModifierModifyMaterial (const MaterialHandle &id)=0
 
virtual MaterialModifierModifyMaterial (const MaterialInstanceHandle &id)=0
 
virtual void RemoveMaterialInstance (const MaterialInstanceHandle &id)=0
 
virtual TextureHandle AddTexture (const ResourceLoadRequest &request, bool srgb=false)=0
 
virtual TextureHandle AddTexture (const std::shared_ptr< geometry::Image > &image, bool srgb=false)=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 (View *view, Scene *scene, std::function< void(std::shared_ptr< geometry::Image >)> cb)
 

Constructor & Destructor Documentation

◆ ~Renderer()

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

Member Function Documentation

◆ AddIndirectLight()

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

◆ AddMaterial()

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

◆ AddMaterialInstance()

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

◆ AddSkybox()

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

◆ AddTexture() [1/2]

virtual TextureHandle open3d::visualization::rendering::Renderer::AddTexture ( const ResourceLoadRequest request,
bool  srgb = false 
)
pure virtual

◆ AddTexture() [2/2]

virtual TextureHandle open3d::visualization::rendering::Renderer::AddTexture ( const std::shared_ptr< geometry::Image > &  image,
bool  srgb = false 
)
pure virtual

◆ BeginFrame()

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

◆ CreateBufferRenderer()

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

◆ CreateScene()

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

◆ DestroyScene()

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

◆ Draw()

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

◆ EnableCaching()

virtual void open3d::visualization::rendering::Renderer::EnableCaching ( bool  enable)
pure virtual

◆ EndFrame()

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

◆ GetScene()

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

◆ ModifyMaterial() [1/2]

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

◆ ModifyMaterial() [2/2]

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

◆ RemoveIndirectLight()

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

◆ RemoveMaterialInstance()

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

◆ RemoveSkybox()

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

◆ RemoveTexture()

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

◆ RenderToImage()

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

◆ SetClearColor()

virtual void open3d::visualization::rendering::Renderer::SetClearColor ( const Eigen::Vector4f &  color)
pure virtual

◆ SetPreserveBuffer()

virtual void open3d::visualization::rendering::Renderer::SetPreserveBuffer ( bool  preserve)
pure virtual

◆ UpdateSwapChain()

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

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