iVS3D v2.0.9
Loading...
Searching...
No Matches
ipreview.h
1#pragma once
2
3#include <QObject>
4
5#include "opencv2/core.hpp"
6#include "visualization.h"
7
8namespace PLUG {
9
17 uint index; // Index of the image in the sequence
18 cv::Mat image; // The image to create a preview for
19};
20
41class IPreview {
42 public:
43 virtual ~IPreview() = default;
44
56 virtual VIS::VisualizationResult generatePreview(const PreviewData& data) = 0;
57};
58
59} // namespace PLUG
60
61Q_DECLARE_INTERFACE(PLUG::IPreview, "iVS3D.IPreview")
The IPreview interface defines the contract for preview plugins in iVS3D. Plugins implementing this i...
Definition ipreview.h:41
virtual VIS::VisualizationResult generatePreview(const PreviewData &data)=0
Generates a preview visualization based on the provided data. This function is executed asynchronousl...
Plugin interface namespace containing common plugin contracts and helper types.
Struct containing data required to generate a preview. The image is resized to the working resolution...
Definition ipreview.h:16