5#include "slideio/core/cvscene.hpp"
6#include "transformer_def.hpp"
10#pragma warning(disable: 4251)
17 class SLIDEIO_TRANSFORMER_EXPORTS TransformerScene :
public CVScene
20 TransformerScene(std::shared_ptr<CVScene> originScene,
const std::list<std::shared_ptr<Transformation>>& list);
22 std::string getFilePath()
const override;
23 std::string getName()
const override;
24 cv::Rect getRect()
const override;
25 int getNumChannels()
const override;
26 DataType getChannelDataType(
int channel)
const override;
27 Resolution getResolution()
const override;
28 double getMagnification()
const override;
30 int getNumZSlices()
const override;
31 int getNumTFrames()
const override;
32 std::string getChannelName(
int channel)
const override;
33 double getZSliceResolution()
const override;
34 double getTFrameResolution()
const override;
35 std::string getRawMetadata()
const override;
36 void readResampledBlockChannelsEx(
const cv::Rect& blockRect,
const cv::Size& blockSize,
37 const std::vector<int>& componentIndices,
int zSliceIndex,
int tFrameIndex,
38 cv::OutputArray output)
override;
39 std::shared_ptr<CVScene> getOriginScene()
const {
44 void computeInflationValue();
46 std::shared_ptr<CVScene> m_originScene;
47 std::list<std::shared_ptr<Transformation>> m_transformations;
48 std::vector<DataType> m_channelDataTypes;
Definition: exceptions.hpp:12
Compression
raster data compression enum
Definition: slideio_enums.hpp:12