4#ifndef OPENCV_slideio_svsscene_HPP
5#define OPENCV_slideio_svsscene_HPP
7#include "slideio/drivers/svs/svs_api_def.hpp"
8#include "slideio/core/cvscene.hpp"
9#include "slideio/imagetools/tiffkeeper.hpp"
10#include "slideio/imagetools/tifftools.hpp"
13#pragma warning( push )
14#pragma warning(disable: 4251)
19 class SLIDEIO_SVS_EXPORTS SVSScene :
public CVScene
28 SVSScene(
const std::string& filePath,
const std::string& name);
29 SVSScene(
const std::string& filePath, libtiff::TIFF* hFile,
const std::string& name);
32 void makeSureFileIsOpened();
34 std::string getFilePath()
const override {
37 std::string getName()
const override {
43 slideio::Resolution getResolution()
const override{
46 double getMagnification()
const override{
47 return m_magnification;
49 DataType getChannelDataType(
int)
const override{
52 libtiff::TIFF* getFileHandle();
55 std::string m_filePath;
58 Resolution m_resolution;
59 double m_magnification;
60 slideio::DataType m_dataType;
62 TIFFKeeper m_tiffKeeper;
Definition: exceptions.hpp:12
Compression
raster data compression enum
Definition: slideio_enums.hpp:12