#include <virtual_texture.hpp>
|
| | VirtualTexture ()=default |
| |
| | VirtualTexture (glm::ivec2 shape, glm::vec4 bbox, glm::ivec2 tile_shape, int halo, int channels, std::unique_ptr< TileStorage > storage_proto) |
| |
| | VirtualTexture (glm::ivec2 shape, glm::vec4 bbox, glm::ivec2 tile_shape, int halo, int channels, StorageMode storage_mode) |
| |
| | VirtualTexture (glm::ivec2 shape, glm::ivec2 tile_shape, int halo, int channels, StorageMode storage_mode) |
| |
| void | copy_from (VirtualTexture &src, const ComputeMode &cm) |
| |
| int | channels () const |
| |
| VirtualArray & | channel (int c) |
| |
| const VirtualArray & | channel (int c) const |
| |
| std::vector< VirtualArray * > | channels_ptr () |
| |
| std::vector< const VirtualArray * > | channels_ptr () const |
| |
| std::vector< VirtualArray > & | get_arrays () |
| |
| void | fill (float value, const ComputeMode &cm) |
| |
| void | fill (int c, float value, const ComputeMode &cm) |
| |
| void | from_arrays (const std::vector< const Array * > &p_arrays, const ComputeMode &cm) |
| |
| std::vector< uint8_t > | to_img_8bit (const glm::ivec2 &img_shape, const ComputeMode &c, bool flip_y=false) const |
| |
| void | to_png (const glm::ivec2 &array_shape, const std::string &fname, const ComputeMode &cm, int depth=CV_8U) const |
| |
| void | to_png (const std::string &fname, const ComputeMode &cm, int depth=CV_8U) const |
| |
| Tensor | to_tensor (const glm::ivec2 &img_shape, const ComputeMode &cm) const |
| |
◆ VirtualTexture() [1/4]
| hmap::VirtualTexture::VirtualTexture |
( |
| ) |
|
|
default |
◆ VirtualTexture() [2/4]
| hmap::VirtualTexture::VirtualTexture |
( |
glm::ivec2 |
shape, |
|
|
glm::vec4 |
bbox, |
|
|
glm::ivec2 |
tile_shape, |
|
|
int |
halo, |
|
|
int |
channels, |
|
|
std::unique_ptr< TileStorage > |
storage_proto |
|
) |
| |
◆ VirtualTexture() [3/4]
| hmap::VirtualTexture::VirtualTexture |
( |
glm::ivec2 |
shape, |
|
|
glm::vec4 |
bbox, |
|
|
glm::ivec2 |
tile_shape, |
|
|
int |
halo, |
|
|
int |
channels, |
|
|
StorageMode |
storage_mode |
|
) |
| |
◆ VirtualTexture() [4/4]
| hmap::VirtualTexture::VirtualTexture |
( |
glm::ivec2 |
shape, |
|
|
glm::ivec2 |
tile_shape, |
|
|
int |
halo, |
|
|
int |
channels, |
|
|
StorageMode |
storage_mode |
|
) |
| |
◆ copy_from()
◆ channels()
| int hmap::VirtualTexture::channels |
( |
| ) |
const |
◆ channel() [1/2]
◆ channel() [2/2]
| const VirtualArray & hmap::VirtualTexture::channel |
( |
int |
c | ) |
const |
◆ channels_ptr() [1/2]
| std::vector< VirtualArray * > hmap::VirtualTexture::channels_ptr |
( |
| ) |
|
◆ channels_ptr() [2/2]
| std::vector< const VirtualArray * > hmap::VirtualTexture::channels_ptr |
( |
| ) |
const |
◆ get_arrays()
| std::vector< VirtualArray > & hmap::VirtualTexture::get_arrays |
( |
| ) |
|
◆ fill() [1/2]
| void hmap::VirtualTexture::fill |
( |
float |
value, |
|
|
const ComputeMode & |
cm |
|
) |
| |
◆ fill() [2/2]
| void hmap::VirtualTexture::fill |
( |
int |
c, |
|
|
float |
value, |
|
|
const ComputeMode & |
cm |
|
) |
| |
◆ from_arrays()
| void hmap::VirtualTexture::from_arrays |
( |
const std::vector< const Array * > & |
p_arrays, |
|
|
const ComputeMode & |
cm |
|
) |
| |
◆ to_img_8bit()
| std::vector< uint8_t > hmap::VirtualTexture::to_img_8bit |
( |
const glm::ivec2 & |
img_shape, |
|
|
const ComputeMode & |
c, |
|
|
bool |
flip_y = false |
|
) |
| const |
◆ to_png() [1/2]
| void hmap::VirtualTexture::to_png |
( |
const glm::ivec2 & |
array_shape, |
|
|
const std::string & |
fname, |
|
|
const ComputeMode & |
cm, |
|
|
int |
depth = CV_8U |
|
) |
| const |
◆ to_png() [2/2]
| void hmap::VirtualTexture::to_png |
( |
const std::string & |
fname, |
|
|
const ComputeMode & |
cm, |
|
|
int |
depth = CV_8U |
|
) |
| const |
◆ to_tensor()
| Tensor hmap::VirtualTexture::to_tensor |
( |
const glm::ivec2 & |
img_shape, |
|
|
const ComputeMode & |
cm |
|
) |
| const |
◆ shape
| glm::ivec2 hmap::VirtualTexture::shape |
◆ bbox
| glm::vec4 hmap::VirtualTexture::bbox |
◆ tile_shape
| glm::ivec2 hmap::VirtualTexture::tile_shape |
◆ halo
| int hmap::VirtualTexture::halo |
The documentation for this class was generated from the following files: