MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
User Operations

Detailed Description

Classes

class  TSLEchoCoord
 
class  TSLUserOperation
 
class  TSLUserOperationRequest
 

Enumerations

enum  TSLDynamicEchoType {
  TSLDynamicEchoNone = 0 , TSLDynamicEchoSegments = 1 , TSLDynamicEchoRectangle = 2 , TSLDynamicEchoCorners = 3 ,
  TSLDynamicEchoScale = 4 , TSLDynamicEchoParallel = 5 , TSLDynamicEchoRay = 6 , TSLDynamicEchoPerpendicular = 7
}
 
enum  TSLEchoCoordType { TSLEchoCoordFixed = 0 , TSLEchoCoordMoving = 1 , TSLEchoCoordConstrained = 2 }
 
enum  TSLFixedEchoType { TSLFixedEchoNone = 0 , TSLFixedEchoPoint = 1 , TSLFixedEchoLine = 2 }
 
enum  TSLOperationType { TSLOperationManipulation , TSLOperationPrimitive , TSLOperationAttribute }
 

Enumeration Type Documentation

◆ TSLDynamicEchoType

This enumeration specifies the various dynamic echo styles. These generally move with some point(s) relative to the locator position.

Enumerator
TSLDynamicEchoNone 

No echo is drawn. No TSLEchoCoords should be specified. No anchor point should be specified.

TSLDynamicEchoSegments 

N Line segments are drawn. N*2 TSLEchoCoords are specified. These coords may be fixed, moving or constrained. For example, a simple rubber-banded line may be created by passing a fixed TSLEchoCoord specifying the fixed end of the line and a moving TSLEchoCoord with offset 0,0. If the moving end of the line may need to be constrained to some value (eg. a movepoint operation), then a fixed TSLEchoCoord and a constrained TSLEchoCoord should be specified. The position passed in the constrained TSLEchoCoord should be the values that will be applied during a constraint. Optionally, an anchor point may be specified to give an offset from the locator for constrained values.

TSLDynamicEchoRectangle 

A rectangle is drawn. 2 TSLEchoCoords are specified. These may be fixed, moving or constrained. An anchor point may be specified if constrained TSLEchoCoords are used.

TSLDynamicEchoCorners 

The corners of a rectangle are drawn. 2 TSLEchoCoords are specified. These may be fixed, moving or constrained. An anchor point may be specified if constrained TSLEchoCoords are used.

TSLDynamicEchoScale 

An equal scaling rectangle is drawn. 2 fixed TSLEchoCoords are specified. These should be the rectangle that is to be scaled. An anchor point must be specified to indicate the scaling origin.

TSLDynamicEchoParallel 

An echo line parallel to the specified line is drawn. The intersection of the perpendicular from the locator position to the line segment is calculated. If the intersection is within the line segment, then the echo is a parallel line passing through the locator position, whose endpoints are perpendicular to the line segment endpoints. If the intersection is outside the line segment, then the echo is a parallel line whose endpoints are the current locator position and a perpendicular to the farthest end of the line segment. 2 fixed TSLEchoCoords are specified. No anchor point is required.

TSLDynamicEchoRay 

An echo line extending from either end of the specified segment. The intersection of the perpendicular from the locator position to the line containing the specified segment is calculated. If the intersection is within the specified line segment, then no echo is drawn. Otherwise the echo is drawn from the intersection to the nearest endpoint of the segment. 2 fixed TSLEchoCoords are specified, describing the line segment. No anchor point is required.

TSLDynamicEchoPerpendicular 

An echo line is drawn from the current locator position to the intersection of the perpendicular from the locator position to the line containing the line segment. 2 (Fixed) TSLEchoCoords are specified. No anchor point is required.

◆ TSLEchoCoordType

This enumerated type indicates how the editor should interpret a TSLEcho Coord for dynamic echo.

A coordinate of type TSLEchoCoordFixed is always fixed at the specified TMC position.

A coordinate of type TSLEchoCoordMoving will move with the locator. The position is an offset from the locator position.

A coordinate of type TSLEchoCoordConstrained will move with the locator, but may have the X or Y coordinate fixed, dependent upon the current constraint mode. An anchor point may be supplied to provide an offset from the locator. The anchor point position is subtracted from the TSLEchoCoord position to determine the offset. If no anchor point is supplied, then the coordinate is fixed to the locator with no offset.

Enumerator
TSLEchoCoordFixed 
TSLEchoCoordMoving 
TSLEchoCoordConstrained 

◆ TSLFixedEchoType

This enumeration specifies the various fixed echo styles.

These are generally temporary primitives rendered into the data layer.

TSLFixedEchoNone - There is no primitive echo

TSLFixedEchoPoint - Symbols are placed at each location in the point array. The attributes of these symbols are specified in the configuration file.

TSLFixedEchoLine - A single polyline is drawn connecting the points specified in the point array. The attributes of this line is specified in the configuration file.

Enumerator
TSLFixedEchoNone 
TSLFixedEchoPoint 
TSLFixedEchoLine 

◆ TSLOperationType

This enumerated type specifies the basic type of a user operation.

Valid values are

TSLOperationManipulation - These operations are meant to manipulate objects on the select list. The current operation is deactivated.

TSLOperationPrimitive - These operations are meant to create objects for the select list. The current operation is deactivated and the select list is cleared before the operation is activated.

TSLOperationAttribute - These are transient operations which do not affect the select list itself. The current operation is left active.

Enumerator
TSLOperationManipulation 
TSLOperationPrimitive 
TSLOperationAttribute