45 #ifndef RTABMAP__vtkImageMatSource_h 46 #define RTABMAP__vtkImageMatSource_h 48 #include <opencv2/core/core.hpp> 49 #include <vtkImageAlgorithm.h> 50 #include <vtkSmartPointer.h> 68 int RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
69 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
vtkTypeMacro(vtkImageMatSource, vtkImageAlgorithm)
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetImage(cv::InputArray image)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static void copyRGBAImage(const cv::Mat &source, vtkSmartPointer< vtkImageData > output)
static void copyRGBImage(const cv::Mat &source, vtkSmartPointer< vtkImageData > output)
static void copyGrayImage(const cv::Mat &source, vtkSmartPointer< vtkImageData > output)
static vtkImageMatSource * New()
vtkSmartPointer< vtkImageData > ImageData
void operator=(const vtkImageMatSource &)