24 #ifndef _R_ALIGNEDTILING_HH_
25 #define _R_ALIGNEDTILING_HH_
The r_Aligned_Tiling class is used to express the options for aligned tiling of r_Marray objects.
Definition: alignedtiling.hh:100
r_Aligned_Tiling(r_Dimension dim, r_Bytes ts=r_Tiling::defaultTileSize)
dimension and tile size.
const r_Minterval & get_tile_config() const
returns the current value for the tile configuration option
r_Aligned_Tiling(const r_Minterval &tc, r_Bytes ts=r_Tiling::defaultTileSize)
tile configuration and tile size.
virtual ~r_Aligned_Tiling()=default
r_Aligned_Tiling(const char *encoded)
read everything from encoded string (e.g.
r_Minterval compute_tile_domain(const r_Minterval &dom, r_Bytes cell_size) const
determines the individual tiles domains
std::vector< r_Minterval > compute_tiles(const r_Minterval &obj_domain, r_Bytes cell_size) const
Decompose an object in tiles.
std::string get_string_representation() const
void print_status(std::ostream &s) const
The string representation delivered by this method is allocated using malloc() and has to be freed u...
r_Bytes get_min_opt_tile_size() const
virtual r_Tiling_Scheme get_tiling_scheme() const
This method is similar to a copy constructor, this is, is returns a copy of the current object.
r_Minterval tile_config
Determines the individual tiles domains for aligned tiling, using the options expressed in this objec...
Definition: alignedtiling.hh:157
virtual r_Tiling * clone() const
This method provides the core funcionality of this class.
r_Minterval get_opt_size(const r_Minterval &tile_domain, r_Bytes cell_size) const
static const char * description
Definition: alignedtiling.hh:102
Definition: tiling.hh:169
The spatial domain of an MDD is represented by an object of class r_Minterval.
Definition: minterval.hh:226
The r_Tiling class is used to specify in which way the tiling is done by the system.
Definition: tiling.hh:53
static const r_Bytes defaultTileSize
Definition: tiling.hh:92
std::uint32_t r_Dimension
number of dimensions in r_Point and r_Minterval.
Definition: mddtypes.hh:56
size_t r_Bytes
number of bytes in an tile or mdd or type.
Definition: mddtypes.hh:43
r_Tiling_Scheme
Tiling of the object:
Definition: mddtypes.hh:317