SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
zviimagedriver.hpp
1// This file is part of slideio project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://slideio.com/license.html.
4#pragma once
5
6#include "slideio/drivers/zvi/zvi_api_def.hpp"
7#include "slideio/core/imagedriver.hpp"
8#include "slideio/core/cvslide.hpp"
9#include <opencv2/core.hpp>
10#include <string>
11
12#if defined(_MSC_VER)
13#pragma warning( push )
14#pragma warning(disable: 4251)
15#endif
16
17namespace slideio
18{
19 class SLIDEIO_ZVI_EXPORTS ZVIImageDriver : public slideio::ImageDriver
20 {
21 public:
22 ZVIImageDriver();
23 ~ZVIImageDriver();
24 std::string getID() const override;
25 std::shared_ptr<CVSlide> openFile(const std::string& filePath) override;
26 std::string getFileSpecs() const override;
27 };
28}
29
30#if defined(_MSC_VER)
31#pragma warning( pop )
32#endif
Definition: exceptions.hpp:15