#include <HOpSelectAreaOOC.h>
Public Member Functions | |
virtual HBaseOperator * | Clone () |
virtual char const * | GetName () |
HOpSelectAreaOOC (HBaseView &view) | |
virtual int | OnLButtonDown (HEventInfo &e) |
virtual int | OnLButtonUp (HEventInfo &e) |
The HOpSelectAreaOOC class computes a selection list for OOC points inside a rectangular 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> |
HOpSelectAreaOOC< SelectionSet >::HOpSelectAreaOOC | ( | HBaseView & | view | ) | [inline] |
Constructs an HOpSelectAreaOOC.
view | A reference to an HBaseView object. |
Referenced by HOpSelectAreaOOC< SelectionSet >::Clone().
virtual HBaseOperator* HOpSelectAreaOOC< 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 HOpSelectArea.
References HBaseOperator::GetView(), and HOpSelectAreaOOC< SelectionSet >::HOpSelectAreaOOC().
virtual char const* HOpSelectAreaOOC< SelectionSet >::GetName | ( | ) | [inline, virtual] |
Reimplemented from HOpSelectArea.
virtual int HOpSelectAreaOOC< SelectionSet >::OnLButtonDown | ( | HEventInfo & | e | ) | [inline, virtual] |
Starts to create a selection box that will select points inside it.
e | An HEventInfo object containing information about the current event. |
Reimplemented from HOpSelectArea.
References HEventInfo::Control().
virtual int HOpSelectAreaOOC< SelectionSet >::OnLButtonUp | ( | HEventInfo & | e | ) | [inline, virtual] |
Finalizes the selection box created by OnLButtonDown and selects points that lie inside the box.
e | An HEventInfo object containing information about the current event. |
Reimplemented from HOpSelectArea.
References HSelectionSetOOC< SelectionSet >::AddRectangleWindow(), HOpConstructRectangle::m_ptRectangle, and HSelectionSetOOC< SelectionSet >::SynchronizeWith().