![]() |
Murl Engine API
Version 2018.3
|
The IHeightField graph node interface. More...
#include <murl_graph_i_height_field.h>
The IHeightField graph node interface.
This interface represents a generic height field, which consists of a rectangular data set representing discrete points in the XZ plane with exactly one elevation value at a given XZ coordinate.
Inherited by Murl::Graph::TerrainGeometry.
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual Real | GetFieldSizeX () const =0 |
Get the height field's extent along the X axis. More... | |
virtual Real | GetFieldSizeZ () const =0 |
Get the height field's extent along the Z axis. More... | |
virtual Real | GetFieldElevation (Real posX, Real posZ) const =0 |
Get the height field's elevation (Y coordinate) for a given XZ coordinate. More... | |
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
|
pure virtual |
Get the constant Graph::INode interface.
This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
|
pure virtual |
Get the height field's extent along the X axis.
|
pure virtual |
Get the height field's extent along the Z axis.
|
pure virtual |
Get the height field's elevation (Y coordinate) for a given XZ coordinate.
posX | The X coordinate to query. |
posZ | The Z coordinate to query. |