Open3D (C++ API)  0.18.0+fcf98ee
Data Structures | Public Types | Public Member Functions | Protected Attributes
open3d::visualization::rendering::RenderToBuffer Class Referenceabstract

#include <RenderToBuffer.h>

Inheritance diagram for open3d::visualization::rendering::RenderToBuffer:

Data Structures

struct  Buffer

Public Types

using BufferReadyCallback = std::function< void(const Buffer &)>

Public Member Functions

virtual ~RenderToBuffer ()=default
void SetCleanupCallback (std::function< void(RenderToBuffer *)> cb)
virtual void Configure (const View *view, Scene *scene, int width, int height, int n_channels, bool depth_image, BufferReadyCallback cb)=0
virtual void SetDimensions (std::uint32_t width, std::uint32_t height)=0
virtual ViewGetView ()=0
virtual void Render ()=0

Protected Attributes

std::function< void(RenderToBuffer *)> cleanup_callback_

Member Typedef Documentation

◆ BufferReadyCallback

Constructor & Destructor Documentation

◆ ~RenderToBuffer()

virtual open3d::visualization::rendering::RenderToBuffer::~RenderToBuffer ( )

Member Function Documentation

◆ Configure()

virtual void open3d::visualization::rendering::RenderToBuffer::Configure ( const View view,
Scene scene,
int  width,
int  height,
int  n_channels,
bool  depth_image,
BufferReadyCallback  cb 
pure virtual

◆ GetView()

virtual View& open3d::visualization::rendering::RenderToBuffer::GetView ( )
pure virtual

◆ Render()

virtual void open3d::visualization::rendering::RenderToBuffer::Render ( )
pure virtual

◆ SetCleanupCallback()

void open3d::visualization::rendering::RenderToBuffer::SetCleanupCallback ( std::function< void(RenderToBuffer *)>  cb)

◆ SetDimensions()

virtual void open3d::visualization::rendering::RenderToBuffer::SetDimensions ( std::uint32_t  width,
std::uint32_t  height 
pure virtual

Field Documentation

◆ cleanup_callback_

std::function<void(RenderToBuffer*)> open3d::visualization::rendering::RenderToBuffer::cleanup_callback_

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