Open3D (C++ API)  0.17.0
Public Member Functions | Static Public Member Functions | Protected Attributes
open3d::visualization::webrtc_server::ImageCapturer Class Reference

#include <ImageCapturer.h>

Inheritance diagram for open3d::visualization::webrtc_server::ImageCapturer:

Public Member Functions

 ImageCapturer (const std::string &url_, const std::map< std::string, std::string > &opts)
 
virtual ~ImageCapturer ()
 
 ImageCapturer (const std::map< std::string, std::string > &opts)
 
virtual void AddOrUpdateSink (rtc::VideoSinkInterface< webrtc::VideoFrame > *sink, const rtc::VideoSinkWants &wants) override
 
virtual void RemoveSink (rtc::VideoSinkInterface< webrtc::VideoFrame > *sink) override
 
void OnCaptureResult (const std::shared_ptr< core::Tensor > &frame)
 

Static Public Member Functions

static ImageCapturerCreate (const std::string &url, const std::map< std::string, std::string > &opts)
 

Protected Attributes

int width_
 
int height_
 
rtc::VideoBroadcaster broadcaster_
 

Constructor & Destructor Documentation

◆ ImageCapturer() [1/2]

open3d::visualization::webrtc_server::ImageCapturer::ImageCapturer ( const std::string &  url_,
const std::map< std::string, std::string > &  opts 
)

◆ ~ImageCapturer()

open3d::visualization::webrtc_server::ImageCapturer::~ImageCapturer ( )
virtual

◆ ImageCapturer() [2/2]

open3d::visualization::webrtc_server::ImageCapturer::ImageCapturer ( const std::map< std::string, std::string > &  opts)

Member Function Documentation

◆ AddOrUpdateSink()

void open3d::visualization::webrtc_server::ImageCapturer::AddOrUpdateSink ( rtc::VideoSinkInterface< webrtc::VideoFrame > *  sink,
const rtc::VideoSinkWants &  wants 
)
overridevirtual

◆ Create()

ImageCapturer * open3d::visualization::webrtc_server::ImageCapturer::Create ( const std::string &  url,
const std::map< std::string, std::string > &  opts 
)
static

◆ OnCaptureResult()

void open3d::visualization::webrtc_server::ImageCapturer::OnCaptureResult ( const std::shared_ptr< core::Tensor > &  frame)

◆ RemoveSink()

void open3d::visualization::webrtc_server::ImageCapturer::RemoveSink ( rtc::VideoSinkInterface< webrtc::VideoFrame > *  sink)
overridevirtual

Field Documentation

◆ broadcaster_

rtc::VideoBroadcaster open3d::visualization::webrtc_server::ImageCapturer::broadcaster_
protected

◆ height_

int open3d::visualization::webrtc_server::ImageCapturer::height_
protected

◆ width_

int open3d::visualization::webrtc_server::ImageCapturer::width_
protected

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