Sample Code: Custom operator – Pre-highlight Area Operator

Language: C++

This operator is based on Highlight Area Operator, but it is extended to pre-highlight the selected objects by a rectangle which is shown by the mouse drag.
The operator consists of three operators, Highlight Area Operator, Select Area Operator, and Construct Rectangle Operator. The original operator codes are found in the package, \samples\operators.

 

For the sample code and instructions, check out our forum post.