4#ifndef OPENCV_slideio_afislide_HPP
5#define OPENCV_slideio_afislide_HPP
7#include "slideio/drivers/afi/afi_api_def.hpp"
8#include "slideio/core/cvscene.hpp"
9#include "slideio/core/cvslide.hpp"
12#pragma warning( push )
13#pragma warning(disable: 4251)
23 using Scenes = std::vector<std::shared_ptr<slideio::CVScene>>;
24 using Slides = std::vector<std::shared_ptr<slideio::CVSlide>>;
25 using SlidesScenes = std::pair<Slides, Scenes>;
27 int getNumScenes()
const override;
28 std::string getFilePath()
const override;
29 std::shared_ptr<slideio::CVScene> getScene(
int index)
const override;
30 static std::shared_ptr<AFISlide> openFile(
const std::string& path);
31 static std::vector<std::string> getFileList(std::string xmlString);
32 static SlidesScenes getSlidesScenesFromFiles(
const std::vector<std::string>& files, std::string mainFile);
36 std::string m_filePath;
CVSlide is an base class for representation of medical slide.
Definition: cvslide.hpp:28
Definition: exceptions.hpp:12