Open3D (C++ API)
0.18.0+252c867
|
#include <FilamentRenderer.h>
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 |
Scene * | GetScene (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 |
MaterialModifier & | ModifyMaterial (const MaterialHandle &id) override |
MaterialModifier & | ModifyMaterial (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::RenderToBuffer > | CreateBufferRenderer () override |
void | ConvertToGuiScene (const SceneHandle &id) |
FilamentScene * | GetGuiScene () 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 |
open3d::visualization::rendering::FilamentRenderer::FilamentRenderer | ( | filament::Engine & | engine, |
void * | native_drawable, | ||
FilamentResourceManager & | resource_mgr | ||
) |
|
explicit |
|
override |
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
void open3d::visualization::rendering::FilamentRenderer::ConvertToGuiScene | ( | const SceneHandle & | id | ) |
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
inline |
|
inline |
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
overridevirtual |
Implements open3d::visualization::rendering::Renderer.
|
friend |