Periodic tileset. More...
#include <TileSet.h>
Public Member Functions | |
| CPeriodicTileSet (int filterFreq) | |
| bool | load (const char *filename, int size) |
| Loads from disk. | |
| bool | load (VoxelFarm::IInputStream *reader, int size) |
| Loads from stream. | |
| virtual unsigned int | getValue (int x, int y) override |
| Get value for a specific location. | |
| virtual double | getValue (double x, double y) override |
| Get value for a specific location with floating point input. | |
| virtual double | getValue (double x, double y, double &filteredMinValue, double &filteredMaxValue) override |
| Get value for a specific location with floating point input. It also returns filtered minimum and maximum values. | |
| virtual void | tileCoords (double x, double y, unsigned int &xi, unsigned int &yi, unsigned int &sizeX, unsigned int &sizeY) override |
Additional Inherited Members | |
Public Types inherited from VoxelFarm::ITileSet | |
| typedef unsigned short | HeightData |