|
EasyNav Plugins
|
The Grid class is used to store data in a cube. More...
#include <bonxai.hpp>
Public Member Functions | |
| DataT & | cell (size_t index) |
| const DataT & | cell (size_t index) const |
| Grid (const Grid &other)=delete | |
| Grid (Grid &&other) | |
| Grid (size_t log2dim) | |
| Grid (size_t log2dim, DataT *preAllocatedMemory) | |
| Bonxai::Mask & | mask () |
| const Bonxai::Mask & | mask () const |
| size_t | memUsage () const |
| Grid & | operator= (const Grid &other)=delete |
| Grid & | operator= (Grid &&other) |
| size_t | size () const |
| ~Grid () | |
The Grid class is used to store data in a cube.
The size (DIM) of the cube can only be a power of 2.
For instance, given Grid(3), DIM will be 8 and SIZE 512 (8³)
| Grid | ( | size_t | log2dim | ) |
| Grid | ( | size_t | log2dim, |
| DataT * | preAllocatedMemory ) |
|
delete |
| Grid | ( | Grid< DataT > && | other | ) |
| ~Grid | ( | ) |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |