An interface for caching data.
More...
#include <contour.h>
An interface for caching data.
Definition at line 176 of file contour.h.
| virtual bool VoxelFarm::ICellDataCache::meshCellData |
( |
CellId |
cell, |
|
|
bool |
medium[CCellData::MEDIUM_MAX], |
|
|
CFastQuadrics * |
mesh[CCellData::MEDIUM_MAX] |
|
) |
| |
|
pure virtual |
Cache a mesh as a CFastQuadrics by each medium. Return true if there are any cached mesh for the cell.
- Parameters
-
| cell | ID for the cached cell |
| medium | Request the wanted mediums |
| mesh | Return data for the requested mediums |
| virtual bool VoxelFarm::ICellDataCache::voxelCellData |
( |
CellId |
cell, |
|
|
ContourVoxelData * |
data, |
|
|
int |
layerGroup |
|
) |
| |
|
pure virtual |
Cache a buffer of voxels. Return true if there are cached data for the cell.
- Parameters
-
| cell | ID for the cached cell |
| data | Return the cached data for the cell |
| layerGroup | Request a specific group of layers for the cell |
The documentation for this class was generated from the following file: