|
Candy
|
A map of extremes. More...
Public Member Functions | |
| ExtremesMap (int width, int height) | |
| Initializes the map size, but not the values of the cells. More... | |
| const H3D::Vec2f & | operator() (int x, int y) const |
| Get the extremes of a specific cell. More... | |
| H3D::Vec2f & | operator() (int x, int y) |
| Get the extremes of a specific cell. More... | |
Public Attributes | |
| int | width |
| The width of the map, i e the number of cells in X-direction. More... | |
| int | height |
| The height of the map, i e the number of cells in Y-direction. More... | |
| int | cell_width |
| The width of a cell of the map. More... | |
| int | cell_height |
| The height of a cell of the map. More... | |
| std::vector< H3D::Vec2f > | extremes |
A map of extremes.
This is a flat hierarchical structure that allows smart algorithms to throw away unnecessary work.
| HVR::DepthCamera::ExtremesMap::ExtremesMap | ( | int | width, |
| int | height | ||
| ) |
Initializes the map size, but not the values of the cells.
|
inline |
Get the extremes of a specific cell.
|
inline |
Get the extremes of a specific cell.
| int HVR::DepthCamera::ExtremesMap::cell_height |
The height of a cell of the map.
Observe that the last cell of each column may be lower to fit the image.
| int HVR::DepthCamera::ExtremesMap::cell_width |
The width of a cell of the map.
Observe that the last cell of each row may be narrower to fit the image.
| int HVR::DepthCamera::ExtremesMap::height |
The height of the map, i e the number of cells in Y-direction.
| int HVR::DepthCamera::ExtremesMap::width |
The width of the map, i e the number of cells in X-direction.
1.8.6