4#ifndef OPENCV_slideio_svsslide_HPP
5#define OPENCV_slideio_svsslide_HPP
7#include "slideio/drivers/svs/svs_api_def.hpp"
8#include "slideio/core/cvscene.hpp"
9#include "slideio/core/cvslide.hpp"
10#include "slideio/imagetools/libtiff.hpp"
14#pragma warning( push )
15#pragma warning(disable: 4251)
33 int getNumScenes()
const override;
34 std::string getFilePath()
const override;
35 std::shared_ptr<slideio::CVScene> getScene(
int index)
const override;
36 static std::shared_ptr<SVSSlide> openFile(
const std::string& path);
37 static void closeFile(libtiff::TIFF* hfile);
38 std::shared_ptr<CVScene> getAuxImage(
const std::string& sceneName)
const override;
41 std::vector<std::shared_ptr<slideio::CVScene>> m_Scenes;
42 std::map<std::string, std::shared_ptr<slideio::CVScene>> m_auxImages;
43 std::string m_filePath;
CVSlide is an base class for representation of medical slide.
Definition: cvslide.hpp:28
Definition: exceptions.hpp:12