 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
15 namespace visualization {
27 const std::uint8_t*
bytes =
nullptr;
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
std::function< void(const Buffer &)> BufferReadyCallback
Definition: RenderToBuffer.h:31
int width
Definition: FileIOFactory.cpp:142
int height
Definition: FileIOFactory.cpp:143
virtual void Configure(const View *view, Scene *scene, int width, int height, int n_channels, bool depth_image, BufferReadyCallback cb)=0
Definition: RenderToBuffer.h:23
virtual void SetDimensions(std::uint32_t width, std::uint32_t height)=0
std::function< void(RenderToBuffer *)> cleanup_callback_
Definition: RenderToBuffer.h:59
Definition: RenderToBuffer.h:21
virtual ~RenderToBuffer()=default
std::size_t height
Definition: RenderToBuffer.h:25
virtual View & GetView()=0
std::size_t width
Definition: RenderToBuffer.h:24
std::size_t size
Definition: RenderToBuffer.h:28
const std::uint8_t * bytes
Definition: RenderToBuffer.h:27
std::size_t n_channels
Definition: RenderToBuffer.h:26
void SetCleanupCallback(std::function< void(RenderToBuffer *)> cb)
Definition: RenderToBuffer.h:40