38 #ifndef OME_FILES_TILECOVERAGE_H 39 #define OME_FILES_TILECOVERAGE_H 41 #include <ome/files/Types.h> 42 #include <ome/files/PlaneRegion.h> 94 bool coalesce =
true);
150 ome::compat::shared_ptr<Impl>
impl;
156 #endif // OME_FILES_TILECOVERAGE_H
Internal implementation details of TileCoverage.
Definition: TileCoverage.cpp:118
std::size_t dimension_size_type
Size type for image dimensions.
Definition: Types.h:59
dimension_size_type coverage(const PlaneRegion ®ion) const
Covered area within the region.
Definition: TileCoverage.cpp:320
bool insert(const PlaneRegion ®ion, bool coalesce=true)
Insert a region into the coverage cache.
Definition: TileCoverage.cpp:206
ome::compat::shared_ptr< Impl > impl
Private implementation details.
Definition: TileCoverage.h:148
virtual ~TileCoverage()
Destructor.
Definition: TileCoverage.cpp:201
TileCoverage()
Constructor.
Definition: TileCoverage.cpp:196
Tile coverage cache.
Definition: TileCoverage.h:60
dimension_size_type size() const
Get the number of separate regions in the coverage cache.
Definition: TileCoverage.cpp:308
void clear()
Clear the coverage cache of all covered regions.
Definition: TileCoverage.cpp:314
bool covered(const PlaneRegion ®ion) const
Check if a region is completely covered.
Definition: TileCoverage.cpp:341
A rectangular region.
Definition: PlaneRegion.h:56