VoxelFarm::ICellDataCache Class Referenceabstract

An interface for caching data. More...

#include <contour.h>

Public Member Functions

virtual bool voxelCellData (CellId cell, ContourVoxelData *data, int layerGroup)=0
 Cache a buffer of voxels. Return true if there are cached data for the cell. More...
 
virtual bool meshCellData (CellId cell, bool medium[CCellData::MEDIUM_MAX], CFastQuadrics *mesh[CCellData::MEDIUM_MAX])=0
 Cache a mesh as a CFastQuadrics by each medium. Return true if there are any cached mesh for the cell. More...
 

Detailed Description

An interface for caching data.

Definition at line 176 of file contour.h.

Member Function Documentation

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
cellID for the cached cell
mediumRequest the wanted mediums
meshReturn 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
cellID for the cached cell
dataReturn the cached data for the cell
layerGroupRequest a specific group of layers for the cell

The documentation for this class was generated from the following file: