
11.1 SelectRingContextl Plug-in
5 7 1
11.|
SELECTRINGCONTEXT1 PLUG-IN
The SelectRingContextl plug-in demonstrates the following.
• Creating a basic context
• Selecting an edge using the mouse
• Supporting modifier keys
• Selecting edge rings
• Using the MPxContext and MPxContextCommand classes
The selectRingContextl context is designed to select polygonal mesh edges. The
user selects an edge in a polygonal mesh and all contiguous edges opposite it are then
selected. As such, this context can automatically select a ring of edges around an
object. It works with polygonal meshes of any number of edges, although it ...