6#include "slideio/slideio/slideio_def.hpp"
13#pragma warning( push )
14#pragma warning(disable: 4251)
30 friend SLIDEIO_EXPORTS std::shared_ptr<Slide>
openSlide(
const std::string& path,
const std::string& driver);
34 Slide(std::shared_ptr<CVSlide> slide);
38 int getNumScenes()
const;
40 std::string getFilePath()
const;
42 std::shared_ptr<Scene> getScene(
int index)
const;
47 const std::string& getRawMetadata()
const;
51 const std::list<std::string>& getAuxImageNames()
const;
53 virtual int getNumAuxImages()
const;
58 virtual std::shared_ptr<Scene> getAuxImage(
const std::string& sceneName)
const;
60 std::shared_ptr<CVSlide> m_slide;
64#define SlidePtr std::shared_ptr<slideio::Slide>
Slide class is an interface for accessing the information on a medical slide.
Definition: slide.hpp:29
friend SLIDEIO_EXPORTS std::shared_ptr< Slide > openSlide(const std::string &path, const std::string &driver)
The function returns a smart pointer to an object of Slide class.
Definition: exceptions.hpp:12