Public Member Functions | |
HeightmapProcessor (AssetGroup *parent) | |
Constructor. | |
~HeightmapProcessor () | |
Deconstructor. | |
IReadFile * | getHeightMap (const std::string &fileName) |
Gets the heightmap with the given filename. | |
bool | reloadAsset (const std::string &fileName) |
Reloads the asset with the given filename. | |
void | reloadAssets () |
Reloads all assets. | |
bool | removeAsset (const std::string &fileName) |
Removes the asset with the given filename. | |
void | removeAssets () |
Removes all assets. | |
Static Public Member Functions | |
static AssetProcessor * | createProcessor (AssetGroup *parent) |
Creates a new HeightmapProcessor. | |
Protected Member Functions | |
bool | loadAsset (const std::string &fileName) |
Loads the asset with the given filename. | |
void | loadAssets () |
Loads all assets. |
Definition at line 30 of file HeightmapProcessor.h.
HeightmapProcessor::HeightmapProcessor | ( | AssetGroup * | parent | ) |
HeightmapProcessor::~HeightmapProcessor | ( | ) |
AssetProcessor * HeightmapProcessor::createProcessor | ( | AssetGroup * | parent | ) | [static] |
Creates a new HeightmapProcessor.
Definition at line 245 of file HeightmapProcessor.cpp.
IReadFile * HeightmapProcessor::getHeightMap | ( | const std::string & | fileName | ) |
Gets the heightmap with the given filename.
fileName | Filename of the heightmap. |
Definition at line 35 of file HeightmapProcessor.cpp.
bool HeightmapProcessor::loadAsset | ( | const std::string & | fileName | ) | [protected, virtual] |
Loads the asset with the given filename.
fileName | Filename of the asset. |
Reimplemented from AssetProcessor.
Definition at line 53 of file HeightmapProcessor.cpp.
void HeightmapProcessor::loadAssets | ( | ) | [protected, virtual] |
Loads all assets.
Reimplemented from AssetProcessor.
Definition at line 103 of file HeightmapProcessor.cpp.
bool HeightmapProcessor::reloadAsset | ( | const std::string & | fileName | ) | [virtual] |
Reloads the asset with the given filename.
fileName | Filename of the asset. |
Reimplemented from AssetProcessor.
Definition at line 165 of file HeightmapProcessor.cpp.
void HeightmapProcessor::reloadAssets | ( | ) | [virtual] |
Reloads all assets.
Reimplemented from AssetProcessor.
Definition at line 178 of file HeightmapProcessor.cpp.
bool HeightmapProcessor::removeAsset | ( | const std::string & | fileName | ) | [virtual] |
Removes the asset with the given filename.
fileName | Filename of the asset. |
Reimplemented from AssetProcessor.
Definition at line 189 of file HeightmapProcessor.cpp.
void HeightmapProcessor::removeAssets | ( | ) | [virtual] |
Removes all assets.
Reimplemented from AssetProcessor.
Definition at line 219 of file HeightmapProcessor.cpp.