MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLTerrainContourBaseCallbacks Class Reference
Inheritance diagram for TSLTerrainContourBaseCallbacks:

Detailed Description

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:

  • progress
  • drawTIN
Deprecated
Deprecated as of MapLink 11.1.

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 ()
 

Constructor & Destructor Documentation

◆ ~TSLTerrainContourBaseCallbacks()

virtual TSLTerrainContourBaseCallbacks::~TSLTerrainContourBaseCallbacks ( )
virtual

Member Function Documentation

◆ callbackType()

int TSLTerrainContourBaseCallbacks::callbackType ( )

Returns the type of callback class.

Principally for internal use.

◆ drawTIN()

virtual void TSLTerrainContourBaseCallbacks::drawTIN ( double x1,
double y1,
double attribute1,
double x2,
double y2,
double attribute2,
double x3,
double y3,
double attribute3,
double attribute )
virtual

This callback is invoked when a triangle needs to be rendered following a drawTIN() operation. The default implementation does nothing.

Parameters
x1X coordinate of the first point of the triangle.
y1Y coordinate of the first point of the triangle.
attribute1The value of the attribute at the location of the first point on the triangle.
x2X coordinate of the second point of the triangle.
y2Y coordinate of the second point of the triangle.
attribute2The value of the attribute at the location of the second point on the triangle.
x3X coordinate of the third point of the triangle.
y3Y coordinate of the third point of the triangle.
attribute3The value of the attribute at the location of the third point on the triangle.
attributeThe value of the attribute parameter passed to the drawTIN() method.

◆ progress()

virtual bool TSLTerrainContourBaseCallbacks::progress ( int soFar,
int total )
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.

Parameters
soFarThe number of points that have been processed so far.
totalThe total number of points that need to be processed.