rasdaman API
|
#include <tiling.hh>
Public Member Functions | |
r_Dimension_Tiling (r_Dimension dim, r_Bytes ts=RMInit::clientTileSize) | |
Constructor for this object (Takes dim (no of dimension) and tile size as parameter) More... | |
virtual | ~r_Dimension_Tiling () |
does not do anything More... | |
r_Dimension | get_dimension () const |
Gets the current dimension. More... | |
virtual void | print_status (std::ostream &os) const |
Prints the current status of the object. More... | |
virtual bool | is_compatible (const r_Minterval &obj_domain, r_Bytes cellTypeSize) const |
returns true if the cellTypeSize is smaller or equal to the tile size and obj_domain has more than 0 dimensions More... | |
virtual std::vector < r_Minterval > * | compute_tiles (const r_Minterval &obj_domain, r_Bytes cellTypeSize) const =0 throw (r_Error) |
returns true if the cellTypeSize is smaller or equal to the tile size and the dimension fits the obj_domain More... | |
virtual r_Tiling * | clone () const =0 |
Clones this object. More... | |
![]() | |
r_Size_Tiling (const char *encoded) throw (r_Error) | |
Constructor that reads everything from a string e.g."100". More... | |
r_Size_Tiling (r_Bytes ts=RMInit::clientTileSize) | |
Constructor for this object (Takes tile size as parameter) More... | |
virtual | ~r_Size_Tiling () |
does not do anything More... | |
r_Bytes | get_tile_size () const |
Gets the current tile size. More... | |
virtual r_Tiling_Scheme | get_tiling_scheme () const |
![]() | |
virtual | ~r_Tiling () |
does not do anything More... | |
Protected Attributes | |
r_Dimension | dimension |
dimension the mdd must have More... | |
![]() | |
r_Bytes | tile_size |
Tile size. More... | |
Additional Inherited Members | |
![]() | |
static const char * | description |
![]() | |
static const char * | ASTERIX |
static const char * | TCOLON |
static const char * | TCOMMA |
static const char * | LSQRBRA |
static const char * | RSQRBRA |
static const long | DefaultBase |
r_Dimension_Tiling::r_Dimension_Tiling | ( | r_Dimension | dim, |
r_Bytes | ts = RMInit::clientTileSize |
||
) |
Constructor for this object (Takes dim (no of dimension) and tile size as parameter)
|
virtual |
does not do anything
|
pure virtual |
Clones this object.
This method provides the core funcionality of this class. All derived classes must implement it. As input parameters it takes the big object to be decomposed and returns a set of tiles that compose the big object. This method throws an exeception when the dimension specified, extend or the cell_size are incompatible with the current tiling. You can check compatibility by invoking is_compatible.
Reimplemented from r_Size_Tiling.
Implemented in r_Stat_Tiling, r_Aligned_Tiling, r_Interest_Tiling, and r_Dir_Tiling.
|
pure virtual |
returns true if the cellTypeSize is smaller or equal to the tile size and the dimension fits the obj_domain
Reimplemented from r_Size_Tiling.
Implemented in r_Stat_Tiling, r_Aligned_Tiling, r_Interest_Tiling, and r_Dir_Tiling.
r_Dimension r_Dimension_Tiling::get_dimension | ( | ) | const |
Gets the current dimension.
|
virtual |
returns true if the cellTypeSize is smaller or equal to the tile size and obj_domain has more than 0 dimensions
Reimplemented from r_Size_Tiling.
Reimplemented in r_Dir_Tiling.
|
virtual |
Prints the current status of the object.
Reimplemented from r_Size_Tiling.
Reimplemented in r_Stat_Tiling, r_Aligned_Tiling, r_Interest_Tiling, and r_Dir_Tiling.
|
protected |
dimension the mdd must have