Open3D (C++ API)  0.12.0
Public Member Functions | Friends
open3d::visualization::rendering::FilamentRenderer Class Reference

#include <FilamentRenderer.h>

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

Public Member Functions

 FilamentRenderer (filament::Engine &engine, void *native_drawable, FilamentResourceManager &resource_mgr)
 
 FilamentRenderer (filament::Engine &engine, int width, int height, FilamentResourceManager &resource_mgr)
 
 ~FilamentRenderer () override
 
SceneHandle CreateScene () override
 
SceneGetScene (const SceneHandle &id) const override
 
void DestroyScene (const SceneHandle &id) override
 
virtual void SetClearColor (const Eigen::Vector4f &color) override
 
void SetPreserveBuffer (bool preserve) override
 
void UpdateSwapChain () override
 
void EnableCaching (bool enable) override
 
void BeginFrame () override
 
void Draw () override
 
void EndFrame () override
 
MaterialHandle AddMaterial (const ResourceLoadRequest &request) override
 
MaterialInstanceHandle AddMaterialInstance (const MaterialHandle &material) override
 
MaterialModifierModifyMaterial (const MaterialHandle &id) override
 
MaterialModifierModifyMaterial (const MaterialInstanceHandle &id) override
 
void RemoveMaterialInstance (const MaterialInstanceHandle &id) override
 
TextureHandle AddTexture (const ResourceLoadRequest &request, bool srgb=false) override
 
TextureHandle AddTexture (const std::shared_ptr< geometry::Image > &image, bool srgb=false) override
 
void RemoveTexture (const TextureHandle &id) override
 
IndirectLightHandle AddIndirectLight (const ResourceLoadRequest &request) override
 
void RemoveIndirectLight (const IndirectLightHandle &id) override
 
SkyboxHandle AddSkybox (const ResourceLoadRequest &request) override
 
void RemoveSkybox (const SkyboxHandle &id) override
 
std::shared_ptr< visualization::rendering::RenderToBufferCreateBufferRenderer () override
 
void ConvertToGuiScene (const SceneHandle &id)
 
FilamentSceneGetGuiScene () const
 
filament::Renderer * GetNative ()
 
- Public Member Functions inherited from open3d::visualization::rendering::Renderer
virtual ~Renderer ()=default
 
void RenderToImage (View *view, Scene *scene, std::function< void(std::shared_ptr< geometry::Image >)> cb)
 

Friends

class FilamentRenderToBuffer
 

Constructor & Destructor Documentation

◆ FilamentRenderer() [1/2]

open3d::visualization::rendering::FilamentRenderer::FilamentRenderer ( filament::Engine &  engine,
void *  native_drawable,
FilamentResourceManager resource_mgr 
)

◆ FilamentRenderer() [2/2]

open3d::visualization::rendering::FilamentRenderer::FilamentRenderer ( filament::Engine &  engine,
int  width,
int  height,
FilamentResourceManager resource_mgr 
)
explicit

◆ ~FilamentRenderer()

open3d::visualization::rendering::FilamentRenderer::~FilamentRenderer ( )
override

Member Function Documentation

◆ AddIndirectLight()

IndirectLightHandle open3d::visualization::rendering::FilamentRenderer::AddIndirectLight ( const ResourceLoadRequest request)
overridevirtual

◆ AddMaterial()

MaterialHandle open3d::visualization::rendering::FilamentRenderer::AddMaterial ( const ResourceLoadRequest request)
overridevirtual

◆ AddMaterialInstance()

MaterialInstanceHandle open3d::visualization::rendering::FilamentRenderer::AddMaterialInstance ( const MaterialHandle material)
overridevirtual

◆ AddSkybox()

SkyboxHandle open3d::visualization::rendering::FilamentRenderer::AddSkybox ( const ResourceLoadRequest request)
overridevirtual

◆ AddTexture() [1/2]

TextureHandle open3d::visualization::rendering::FilamentRenderer::AddTexture ( const ResourceLoadRequest request,
bool  srgb = false 
)
overridevirtual

◆ AddTexture() [2/2]

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

◆ BeginFrame()

void open3d::visualization::rendering::FilamentRenderer::BeginFrame ( )
overridevirtual

◆ ConvertToGuiScene()

void open3d::visualization::rendering::FilamentRenderer::ConvertToGuiScene ( const SceneHandle id)

◆ CreateBufferRenderer()

std::shared_ptr< RenderToBuffer > open3d::visualization::rendering::FilamentRenderer::CreateBufferRenderer ( )
overridevirtual

◆ CreateScene()

SceneHandle open3d::visualization::rendering::FilamentRenderer::CreateScene ( )
overridevirtual

◆ DestroyScene()

void open3d::visualization::rendering::FilamentRenderer::DestroyScene ( const SceneHandle id)
overridevirtual

◆ Draw()

void open3d::visualization::rendering::FilamentRenderer::Draw ( )
overridevirtual

◆ EnableCaching()

void open3d::visualization::rendering::FilamentRenderer::EnableCaching ( bool  enable)
overridevirtual

◆ EndFrame()

void open3d::visualization::rendering::FilamentRenderer::EndFrame ( )
overridevirtual

◆ GetGuiScene()

FilamentScene* open3d::visualization::rendering::FilamentRenderer::GetGuiScene ( ) const
inline

◆ GetNative()

filament::Renderer* open3d::visualization::rendering::FilamentRenderer::GetNative ( )
inline

◆ GetScene()

Scene * open3d::visualization::rendering::FilamentRenderer::GetScene ( const SceneHandle id) const
overridevirtual

◆ ModifyMaterial() [1/2]

MaterialModifier & open3d::visualization::rendering::FilamentRenderer::ModifyMaterial ( const MaterialHandle id)
overridevirtual

◆ ModifyMaterial() [2/2]

MaterialModifier & open3d::visualization::rendering::FilamentRenderer::ModifyMaterial ( const MaterialInstanceHandle id)
overridevirtual

◆ RemoveIndirectLight()

void open3d::visualization::rendering::FilamentRenderer::RemoveIndirectLight ( const IndirectLightHandle id)
overridevirtual

◆ RemoveMaterialInstance()

void open3d::visualization::rendering::FilamentRenderer::RemoveMaterialInstance ( const MaterialInstanceHandle id)
overridevirtual

◆ RemoveSkybox()

void open3d::visualization::rendering::FilamentRenderer::RemoveSkybox ( const SkyboxHandle id)
overridevirtual

◆ RemoveTexture()

void open3d::visualization::rendering::FilamentRenderer::RemoveTexture ( const TextureHandle id)
overridevirtual

◆ SetClearColor()

void open3d::visualization::rendering::FilamentRenderer::SetClearColor ( const Eigen::Vector4f &  color)
overridevirtual

◆ SetPreserveBuffer()

void open3d::visualization::rendering::FilamentRenderer::SetPreserveBuffer ( bool  preserve)
overridevirtual

◆ UpdateSwapChain()

void open3d::visualization::rendering::FilamentRenderer::UpdateSwapChain ( )
overridevirtual

Friends And Related Function Documentation

◆ FilamentRenderToBuffer

friend class FilamentRenderToBuffer
friend

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