The LuciadCPillar API offers a raster model base class. It’s impossible to implement this base class directly, but you can create instances of it in a couple of ways:

These tutorials shows how you can provide your own raster data:

This tutorial shows you how to query height data from an elevation model: How to retrieve elevation data using a RasterModelHeightProviderRasterModelHeightProviderRasterModelHeightProvider