4#ifndef OPENCV_slideio_VSIslide_HPP
5#define OPENCV_slideio_VSIslide_HPP
8#include "slideio/core/cvscene.hpp"
9#include "slideio/core/cvslide.hpp"
10#include "slideio/drivers/vsi/vsiscene.hpp"
11#include "slideio/drivers/vsi/vsi_api_def.hpp"
14#pragma warning( push )
15#pragma warning(disable: 4251)
26 friend class VSIImageDriver;
28 VSISlide(
const std::string& filePath);
30 int getNumScenes()
const override;
31 std::string getFilePath()
const override;
32 std::shared_ptr<slideio::CVScene> getScene(
int index)
const override;
33 std::shared_ptr<CVScene> getAuxImage(
const std::string& sceneName)
const override;
34 const std::string& getRawMetadata()
const override;
35 MetadataType getMetadataType()
const override {
return MetadataType::JSON; }
39 std::vector<std::shared_ptr<VSIScene>> m_Scenes;
40 std::map<std::string, std::shared_ptr<slideio::CVScene>> m_auxImages;
41 std::string m_filePath;
42 std::shared_ptr<vsi::VSIFile> m_vsiFile;
CVSlide is an base class for representation of medical slide.
Definition: cvslide.hpp:28
Definition: exceptions.hpp:12