22 void create(
int width,
int height,
int channels,
int levels = -1);
23 void create(
openslide_t* fileHandle, std::vector<ImagePyramidLevel> levels);
25 int getLevelWidth(
int level);
26 int getLevelHeight(
int level);
27 int getLevelTileWidth(
int level);
28 int getLevelTileHeight(
int level);
29 int getLevelTilesX(
int level);
30 int getLevelTilesY(
int level);
33 int getNrOfChannels()
const;
34 void setSpacing(Vector3f spacing);
35 Vector3f getSpacing()
const;
37 std::unordered_set<std::string> getDirtyPatches();
38 bool isDirtyPatch(
const std::string& tileID);
39 void setDirtyPatch(
int level,
int patchIdX,
int patchIdY);
40 void clearDirtyPatches(std::set<std::string> patches);
42 void freeAll()
override;
46 std::vector<ImagePyramidLevel> m_levels;
53 std::unordered_set<std::string> m_dirtyPatches;
55 std::mutex m_dirtyPatchMutex;
56 Vector3f m_spacing = Vector3f::Ones();