6#include "slideio/drivers/pke/pke_api_def.hpp"
7#include "slideio/core/cvscene.hpp"
8#include "slideio/imagetools/tiffkeeper.hpp"
9#include "slideio/imagetools/tifftools.hpp"
12#pragma warning( push )
13#pragma warning(disable: 4251)
18 class SLIDEIO_PKE_EXPORTS PKEScene :
public CVScene
27 PKEScene(
const std::string& filePath,
int sceneIndex,
const std::string& driverId,
const std::string& name);
28 PKEScene(
const std::string& filePath,
int sceneIndex,
const std::string& driverId, libtiff::TIFF* hFile,
const std::string& name);
31 void makeSureFileIsOpened();
33 std::string getFilePath()
const override {
36 int getSceneIndex()
const override {
39 const std::string& getDriverId()
const override {
42 std::string getName()
const override {
48 slideio::Resolution getResolution()
const override{
51 double getMagnification()
const override{
52 return m_magnification;
54 DataType getChannelDataType(
int)
const override{
57 libtiff::TIFF* getFileHandle();
60 std::string m_filePath;
61 std::string m_driverId;
64 Resolution m_resolution;
65 double m_magnification;
69 TIFFKeeper m_tiffKeeper;
Definition: exceptions.hpp:15
Compression
raster data compression enum
Definition: slideio_enums.hpp:12