HOpSelectAreaOOC
-
template<typename
SelectionSet>
classHOpSelectAreaOOC The
HOpSelectAreaOOCclass computes a selection list for OOC points inside a rectangular area. If this class is used by anHBaseView, the view must have an HSelectionSetOOC<SelectionSet> instance for its selection set.Inherits from:
HOpSelectArea
Methods
-
template<typename
SelectionSet>HOpSelectAreaOOC<SelectionSet>::HOpSelectAreaOOC(HBaseView &view) Constructs an
HOpSelectAreaOOC.Parameters
view: A reference to anHBaseViewobject.
-
template<typename
SelectionSet>
virtual char const *HOpSelectAreaOOC<SelectionSet>::GetName() virtual
Returns
A pointer to a character string denoting the name of the operator, which is “HOpSelectAreaOOC”.
-
template<typename
SelectionSet>
virtual HBaseOperator *HOpSelectAreaOOC<SelectionSet>::Clone() 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.
Returns
A pointer to a copy of this operator.
-
template<typename
SelectionSet>
virtual intHOpSelectAreaOOC<SelectionSet>::OnLButtonDown(HEventInfo &e) virtual
Starts to create a selection box that will select points inside it.
Parameters
e: AnHEventInfoobject containing information about the current event.Returns
A value indicating the status of the event.
-
template<typename
SelectionSet>
virtual intHOpSelectAreaOOC<SelectionSet>::OnLButtonUp(HEventInfo &e) virtual
Finalizes the selection box created by OnLButtonDown and selects points that lie inside the box.
Parameters
e: AnHEventInfoobject containing information about the current event.Returns
A value indicating the status of the event.
-
template<typename
SelectionSet>
HSelectionSetOOC<SelectionSet> &HOpSelectAreaOOC<SelectionSet>::GetSelectionSet() private