VoxelFarm::CPeriodicTileSet Class Reference

Periodic tileset. More...

#include <TileSet.h>

Inheritance diagram for VoxelFarm::CPeriodicTileSet:
VoxelFarm::ITileSet

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
 

Detailed Description

Periodic tileset.

Definition at line 114 of file TileSet.h.


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