![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class defines the base set of methods used to capture the contour data by the user.
This class should not be inherited from. You should derive your class from one of the following classes:
You may override the following methods:
Public Member Functions | |
virtual | ~TSLTerrainContourBaseCallbacks () |
virtual void | drawTIN (double x1, double y1, double attribute1, double x2, double y2, double attribute2, double x3, double y3, double attribute3, double attribute) |
virtual bool | progress (int soFar, int total) |
int | callbackType () |
|
virtual |
int TSLTerrainContourBaseCallbacks::callbackType | ( | ) |
Returns the type of callback class.
Principally for internal use.
|
virtual |
This callback is invoked when a triangle needs to be rendered following a drawTIN() operation. The default implementation does nothing.
x1 | X coordinate of the first point of the triangle. |
y1 | Y coordinate of the first point of the triangle. |
attribute1 | The value of the attribute at the location of the first point on the triangle. |
x2 | X coordinate of the second point of the triangle. |
y2 | Y coordinate of the second point of the triangle. |
attribute2 | The value of the attribute at the location of the second point on the triangle. |
x3 | X coordinate of the third point of the triangle. |
y3 | Y coordinate of the third point of the triangle. |
attribute3 | The value of the attribute at the location of the third point on the triangle. |
attribute | The value of the attribute parameter passed to the drawTIN() method. |
|
virtual |
This callback is invoked to notify the client application of the progress when processing contour lines. Return false to continue processing, or true to cancel the operation.
soFar | The number of points that have been processed so far. |
total | The total number of points that need to be processed. |