29 namespace visualization {
73 std::function<
void(std::shared_ptr<core::Tensor>)>
callback) = 0;
87 bool srgb =
false) = 0;
89 const std::shared_ptr<geometry::Image>
image,
90 bool srgb =
false) = 0;
92 bool srgb =
false) = 0;
94 const std::shared_ptr<geometry::Image>
image,
114 std::function<
void(std::shared_ptr<geometry::Image>)> cb);
120 std::function<
void(std::shared_ptr<geometry::Image>)> cb,
121 bool z_in_view_space =
false);
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:183
std::function< void(std::shared_ptr< core::Tensor >)> callback
Definition: FilamentRenderer.cpp:182
math::float4 color
Definition: LineSetBuffers.cpp:45
The Image class stores image with customizable rows, cols, channels, dtype and device.
Definition: Image.h:29
Definition: MaterialModifier.h:107
Definition: Renderer.h:55
virtual void RemoveMaterialInstance(const MaterialInstanceHandle &id)=0
virtual void RemoveTexture(const TextureHandle &id)=0
virtual void RemoveIndirectLight(const IndirectLightHandle &id)=0
virtual TextureHandle AddTexture(const ResourceLoadRequest &request, bool srgb=false)=0
virtual SceneHandle CreateScene()=0
virtual void RequestReadPixels(int width, int height, std::function< void(std::shared_ptr< core::Tensor >)> callback)=0
virtual bool UpdateTexture(TextureHandle texture, const t::geometry::Image &image, bool srgb)=0
virtual std::shared_ptr< RenderToBuffer > CreateBufferRenderer()=0
virtual void SetClearColor(const Eigen::Vector4f &color)=0
virtual Scene * GetScene(const SceneHandle &id) const =0
virtual SkyboxHandle AddSkybox(const ResourceLoadRequest &request)=0
virtual ~Renderer()=default
virtual void RemoveSkybox(const SkyboxHandle &id)=0
virtual IndirectLightHandle AddIndirectLight(const ResourceLoadRequest &request)=0
void RenderToDepthImage(View *view, Scene *scene, std::function< void(std::shared_ptr< geometry::Image >)> cb, bool z_in_view_space=false)
Definition: Renderer.cpp:94
virtual TextureHandle AddTexture(const t::geometry::Image &image, bool srgb=false)=0
virtual bool UpdateTexture(TextureHandle texture, const std::shared_ptr< geometry::Image > image, bool srgb)=0
virtual MaterialModifier & ModifyMaterial(const MaterialHandle &id)=0
virtual void BeginFrame()=0
virtual void DestroyScene(const SceneHandle &id)=0
virtual MaterialModifier & ModifyMaterial(const MaterialInstanceHandle &id)=0
virtual void UpdateBitmapSwapChain(int width, int height)=0
virtual MaterialInstanceHandle AddMaterialInstance(const MaterialHandle &material)=0
virtual MaterialHandle AddMaterial(const ResourceLoadRequest &request)=0
virtual TextureHandle AddTexture(const std::shared_ptr< geometry::Image > image, bool srgb=false)=0
void RenderToImage(View *view, Scene *scene, std::function< void(std::shared_ptr< geometry::Image >)> cb)
Definition: Renderer.cpp:67
virtual void UpdateSwapChain()=0
virtual void SetOnAfterDraw(std::function< void()> callback)=0
virtual void EndFrame()=0
Definition: Renderer.h:36
const void * data_
Definition: Renderer.h:49
const size_t data_size_
Definition: Renderer.h:50
std::function< void(const ResourceLoadRequest &, const uint8_t, const std::string &)> ErrorCallback
Definition: Renderer.h:39
ResourceLoadRequest(const void *data, size_t data_size)
Definition: Renderer.cpp:40
ErrorCallback error_callback_
Definition: Renderer.h:52
const std::string path_
Definition: Renderer.h:51
const char const char value recording_handle imu_sample void
Definition: K4aPlugin.cpp:250
const char const char value recording_handle imu_sample recording_handle uint8_t data
Definition: K4aPlugin.cpp:269
Definition: PinholeCameraIntrinsic.cpp:16