#include <HOpSelectPolygonOOC.h>
Public Member Functions | |
virtual HBaseOperator * | Clone () |
virtual char const * | GetName () |
HOpSelectPolygonOOC (HBaseView &view) | |
virtual int | OnLButtonDblClk (HEventInfo &e) |
virtual int | OnLButtonDown (HEventInfo &e) |
The HSelectPolygonOOC class computes a selection list for OOC points inside a polygonal area. If this class is used by an HBaseView, the view must have an HSelectionSetOOC<SelectionSet> instance for its selection set.
SelectionSet | The selection set type used by HSelectionSetOOC<SelectionSet> |
HOpSelectPolygonOOC< SelectionSet >::HOpSelectPolygonOOC | ( | HBaseView & | view | ) | [inline] |
Constructs an HOpSelectPolygonOOC.
view | A reference to an HBaseView object. |
Referenced by HOpSelectPolygonOOC< SelectionSet >::Clone().
virtual HBaseOperator* HOpSelectPolygonOOC< SelectionSet >::Clone | ( | ) | [inline, virtual] |
Creates a new operator which is associated with the same view as the current operator. The user is responsible for deleting the newly created operator.
Reimplemented from HOpSelectPolygon.
References HBaseOperator::GetView(), and HOpSelectPolygonOOC< SelectionSet >::HOpSelectPolygonOOC().
virtual char const* HOpSelectPolygonOOC< SelectionSet >::GetName | ( | ) | [inline, virtual] |
Reimplemented from HOpSelectPolygon.
virtual int HOpSelectPolygonOOC< SelectionSet >::OnLButtonDblClk | ( | HEventInfo & | e | ) | [inline, virtual] |
Finalizes the selection lasso created by OnLButtonDown and selects points that lie inside the polygon lasso.
e | An HEventInfo object containing information about the current event. |
Reimplemented from HOpSelectPolygon.
virtual int HOpSelectPolygonOOC< SelectionSet >::OnLButtonDown | ( | HEventInfo & | e | ) | [inline, virtual] |
Starts to create a selection lasso that will select points inside it. Each time the left mouse button is pressed, a new vertex is added to the polygon lasso.
e | An HEventInfo object containing information about the current event. |
Reimplemented from HOpSelectPolygon.