Picking Library
Translations
There is no default translation table defined for use with the Picking Library.
You can associate a translation table with a Picking Record when you create it
by using the
XintPickingRecordCreate
function. After a Picking Record has been created you can augment, replace or
override the translations associated with a Picking Record by using the
function XintPickingRecordSetTranslations. The following translation table is an example of a
translation table that can be used with a Picking Record.
| Event Sequence | Action Name
|
|---|
| Ctrl<Btn1Down> | HorizonCreate()
|
| Ctrl<Btn3Down> | HorizonDelete()
|
| <Btn1Down> | PointInsert()
|
| <Btn2Down> | PointStartMove()
|
| <Btn2Motion> | PointMove()
|
| <Btn2Up> | PointEndMove()
|
| <Btn3Down> | PointDelete()
|
Grouped Translations
The point move actions and horizon move actions are only useful when they are
performed in sequence. Therefore, a translation table must provide translations
for all actions that need to be performed as a group. For instance, if you want
to use translations to perform a horizon move operation, you should provide
translations for HorizonStartMove(), HorizonMove() and HorizonEndMove() and the
end-user must use the corresponding event sequences in the proper order.