The TileList class.
More...
#include <filter_radial_basis_function.hpp>
◆ TileList() [1/2]
◆ TileList() [2/2]
PIC_INLINE pic::TileList::TileList |
( |
int |
tileSize, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
TileList creates a list of tiles.
- Parameters
-
tileSize | is the width and height of a tile in pixels. |
width | is the horizontal size of the original image in pixels. |
height | is the vertical size of the original image in pixels. |
◆ ~TileList()
◆ create()
PIC_INLINE void pic::TileList::create |
( |
int |
tileSize, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
Create creates a list of tiles.
- Parameters
-
tileSize | is the width and height of a tile in pixels. |
width | is the horizontal size of the original image in pixels. |
height | is the vertical size of the original image in pixels. |
◆ getBBox()
genBBox
- Parameters
-
- Returns
◆ getNext()
getNext returns the index of the next tile to process.
- Returns
- This function returns the index of the next tile to proces.
◆ read()
PIC_INLINE bool pic::TileList::read |
( |
std::string |
name, |
|
|
bool |
flag |
|
) |
| |
read loads a TileList from a file.
- Parameters
-
name | is the file name. |
flag | is a boolean value. If it is true, this loads an Image from the tile name. Otherwise, an Image of the tile size is allocated. |
- Returns
- This function returns true if it is successfull.
◆ resetCounter()
resetCounter sets the counter to zero.
◆ size()
◆ write()
PIC_INLINE bool pic::TileList::write |
( |
std::string |
name | ) |
|
write saves a TileList into a file.
- Parameters
-
- Returns
- This function returns true if it is successfull.
◆ writeIntoMemory()
writeIntoMemory copies tiles inside an output image.
- Parameters
-
output | is the Image where tiles will be copied to. |
◆ counter
uint pic::pic::TileList::counter |
|
protected |
◆ h_tile
int pic::pic::TileList::h_tile |
◆ height
int pic::pic::TileList::height |
◆ mod_h
int pic::pic::TileList::mod_h |
◆ mod_w
int pic::pic::TileList::mod_w |
◆ mutex
std::mutex pic::pic::TileList::mutex |
|
protected |
◆ tiles
std::vector<Tile> pic::pic::TileList::tiles |
◆ w_tile
int pic::pic::TileList::w_tile |
◆ width
int pic::pic::TileList::width |
The documentation for this class was generated from the following files: