SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
otdimensions.hpp
1// This file is part of slideio project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://slideio.com/license.html.
4#pragma once
5
6#include "slideio/drivers/ome-tiff/ot_api_def.hpp"
7#include "slideio/core/dimensions.hpp"
8
9namespace slideio
10{
11 namespace ometiff
12 {
13 const std::string DimC = "C";
14 const std::string DimZ = "Z";
15 const std::string DimT = "T";
16
17 class SLIDEIO_OMETIFF_EXPORTS OTDimensions : public slideio::Dimensions<3>
18 {
19 public:
20 OTDimensions() = default;
21 OTDimensions(const std::string& dimensionOrder, int numChannels, int numZSlices, int numTFrames,
22 int samplesPerPixel);
23 void init(const std::string& dimensionOrder, int numChannels, int numZSlices, int numTFrames,
24 int samplesPerPixel);
25 };
26 }
27}
Definition: exceptions.hpp:15