Open3D (C++ API)  0.18.0+252c867
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 UpdateSwapChain () override
 
void UpdateBitmapSwapChain (int width, int height) override
 
void BeginFrame () override
 
void Draw () override
 
void RequestReadPixels (int width, int height, std::function< void(std::shared_ptr< core::Tensor >)> callback) override
 
void EndFrame () override
 
void SetOnAfterDraw (std::function< void()> callback) 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
 
TextureHandle AddTexture (const t::geometry::Image &image, bool srgb=false) override
 
bool UpdateTexture (TextureHandle texture, const std::shared_ptr< geometry::Image > image, bool srgb) override
 
bool UpdateTexture (TextureHandle texture, const t::geometry::Image &image, bool srgb) 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)
 
void RenderToDepthImage (View *view, Scene *scene, std::function< void(std::shared_ptr< geometry::Image >)> cb, bool z_in_view_space=false)
 

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/3]

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

◆ AddTexture() [2/3]

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

◆ AddTexture() [3/3]

TextureHandle open3d::visualization::rendering::FilamentRenderer::AddTexture ( const t::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

◆ 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

◆ RequestReadPixels()

void open3d::visualization::rendering::FilamentRenderer::RequestReadPixels ( int  width,
int  height,
std::function< void(std::shared_ptr< core::Tensor >)>  callback 
)
overridevirtual

◆ SetClearColor()

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

◆ SetOnAfterDraw()

void open3d::visualization::rendering::FilamentRenderer::SetOnAfterDraw ( std::function< void()>  callback)
overridevirtual

◆ UpdateBitmapSwapChain()

void open3d::visualization::rendering::FilamentRenderer::UpdateBitmapSwapChain ( int  width,
int  height 
)
overridevirtual

◆ UpdateSwapChain()

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

◆ UpdateTexture() [1/2]

bool open3d::visualization::rendering::FilamentRenderer::UpdateTexture ( TextureHandle  texture,
const std::shared_ptr< geometry::Image image,
bool  srgb 
)
overridevirtual

◆ UpdateTexture() [2/2]

bool open3d::visualization::rendering::FilamentRenderer::UpdateTexture ( TextureHandle  texture,
const t::geometry::Image image,
bool  srgb 
)
overridevirtual

Friends And Related Function Documentation

◆ FilamentRenderToBuffer

friend class FilamentRenderToBuffer
friend

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