AWViz-ROS
Loading...
Searching...
No Matches
rerun::CollectionAdapter< TElement, cv::Mat > Struct Template Reference

An adaptor to be able to borrow an OpenCV matrix into Rerun images without copying. More...

#include <collection_adapter.hpp>

Public Member Functions

Collection< TElement > operator() (const cv::Mat &img)
 Borrow for non-temporary.
 
Collection< TElement > operator() (cv::Mat &&img)
 

Detailed Description

template<typename TElement>
struct rerun::CollectionAdapter< TElement, cv::Mat >

An adaptor to be able to borrow an OpenCV matrix into Rerun images without copying.

Member Function Documentation

◆ operator()() [1/2]

template<typename TElement >
Collection< TElement > rerun::CollectionAdapter< TElement, cv::Mat >::operator() ( const cv::Mat &  img)
inline

Borrow for non-temporary.

◆ operator()() [2/2]

template<typename TElement >
Collection< TElement > rerun::CollectionAdapter< TElement, cv::Mat >::operator() ( cv::Mat &&  img)
inline

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