Implements Heightmap control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CHeightmap :public virtual IHeightmap, public C3DControl
{
protected:
void FreeResources(COpenGL *graphics) override;
void Render(COpenGL *graphics, IRenderer *renderer, ICamera *camera) override;
public:
// IHeightmap getters
float getCellWidth() override;
float getCellHeight() override;
float getCellDepth() override;
String getFilename() override;
Point getHeightmapSize() override;
// IHeightmap setters
bool setCellWidth(const float value) override;
bool setCellHeight(const float value) override;
bool setCellDepth(const float value) override;
bool setCellSize(const float width, const float height, const float depth) override;
bool setFilename(const String &value) override;
CHeightmap();
CHeightmap(IControl *parent);
};
Namespace: | nitisa::opengl |
Include: | OpengL/Controls/Heightmap/Heightmap.h |