CHeightmap



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(standard::windows::opengl::IOpenGL *graphics) override;
    void Render(standard::windows::opengl::IOpenGL *graphics, IRenderer *renderer, ICamera *camera) override;
public:
    // IHeightmap getters 
    bool isUseVertexNormal() override;
    float getCellWidth() override;
    float getCellHeight() override;
    float getCellDepth() override;
    String getFilename() override;
    Point getHeightmapSize() override;

    // IHeightmap setters 
    bool setUseVertexNormal(const bool value) override;
    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