![]() |
LuciadCPillar C# 2024.0.01
|
Public Member Functions | |
void | Destroy () |
Disposes the Renderer . More... | |
void | Dispose () |
bool | Paint () |
To be called by the host widget/component to paint. More... | |
Luciad.Cartesian.Coordinate | ProjectPointOnTerrain (Luciad.Cartesian.Coordinate mapPoint) |
Projects the given point by moving it up or down towards the terrain. More... | |
Luciad.Drawing.Image | ToImage () |
Copies the current contents of the Map to an Image . More... | |
The Map
renderer.
This class allows you to paint the Map
.
Note: all methods must be called on the render thread. See here for more details on the threading rules.
|
inline |
|
inline |
|
inline |
To be called by the host widget/component to paint.
For OpenGL you must ensure that we have a current context.
The invalidation callback mechanism (Map.MapInvalidationCallback
) provides information on when something has changed on the Map
, and a repaint is needed. This allows to only call the paint()
method when it is needed.
|
inline |
Projects the given point by moving it up or down towards the terrain.
The projection is done along the axis that runs perpendicular to the ellipsoid surface at that point. If no terrain is available, the point is projected on the ellipsoid of the map reference
.
mapPoint | a point in map coordinates |
|
inline |
Copies the current contents of the Map
to an Image
.
For OpenGL you must ensure that we have a current context. This method will not wait until all processing is done.
The image size is equal to the map
size
, multiplied by the display scale
.