|
degate 0.1.1
|
Partial template specialization for the storage policy StoragePolicy_Tile. More...
#include <Image.h>
Public Member Functions | |
| Image (unsigned int _width, unsigned int _height, unsigned int _tile_width_exp=10) | |
| Constructor for temporary virtual images. | |
| Image (unsigned int _width, unsigned int _height, std::string const &directory, bool persistent=true, unsigned int _tile_width_exp=10) | |
| Constructor for persistent virtual images. | |
| virtual | ~Image () |
| The dtor. | |
| template<typename PixelTypeDst > | |
| PixelTypeDst | get_pixel_as (unsigned int x, unsigned int y) |
| Get pixel with conversion. | |
| template<typename PixelTypeSrc > | |
| void | set_pixel_as (unsigned int x, unsigned int y, PixelTypeSrc p) |
| Set pixel with conversion. | |
Partial template specialization for the storage policy StoragePolicy_Tile.
| degate::Image< PixelPolicy, StoragePolicy_Tile >::Image | ( | unsigned int | _width, |
| unsigned int | _height, | ||
| unsigned int | _tile_width_exp = 10 |
||
| ) | [inline] |
Constructor for temporary virtual images.
Definition at line 216 of file Image.h.
:
ImageBase(_width, _height),
StoragePolicy_Tile<PixelPolicy>(_width, _height,
create_temp_directory(),
false,
_tile_width_exp) {}
| degate::Image< PixelPolicy, StoragePolicy_Tile >::Image | ( | unsigned int | _width, |
| unsigned int | _height, | ||
| std::string const & | directory, | ||
| bool | persistent = true, |
||
| unsigned int | _tile_width_exp = 10 |
||
| ) | [inline] |
Constructor for persistent virtual images.
Definition at line 229 of file Image.h.
:
ImageBase(_width, _height),
StoragePolicy_Tile<PixelPolicy>(_width, _height,
directory,
persistent,
_tile_width_exp) {}
| virtual degate::Image< PixelPolicy, StoragePolicy_Tile >::~Image | ( | ) | [inline, virtual] |
| PixelTypeDst degate::Image< PixelPolicy, StoragePolicy_Tile >::get_pixel_as | ( | unsigned int | x, |
| unsigned int | y | ||
| ) | [inline] |
| void degate::Image< PixelPolicy, StoragePolicy_Tile >::set_pixel_as | ( | unsigned int | x, |
| unsigned int | y, | ||
| PixelTypeSrc | p | ||
| ) | [inline] |
1.7.4