Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpSelectAreaOOC< SelectionSet > Class Template Reference

#include <HOpSelectAreaOOC.h>

List of all members.

Public Member Functions

virtual HBaseOperatorClone ()
virtual char const * GetName ()
 HOpSelectAreaOOC (HBaseView &view)
virtual int OnLButtonDown (HEventInfo &e)
virtual int OnLButtonUp (HEventInfo &e)

Detailed Description

template<typename SelectionSet>
class HOpSelectAreaOOC< SelectionSet >

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.

Parameters:
SelectionSetThe selection set type used by HSelectionSetOOC<SelectionSet>

Constructor & Destructor Documentation

template<typename SelectionSet >
HOpSelectAreaOOC< SelectionSet >::HOpSelectAreaOOC ( HBaseView view) [inline]

Constructs an HOpSelectAreaOOC.

Parameters:
viewA reference to an HBaseView object.

Referenced by HOpSelectAreaOOC< SelectionSet >::Clone().


Member Function Documentation

template<typename SelectionSet >
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.

Returns:
A pointer to a copy of this operator.

Reimplemented from HOpSelectArea.

References HBaseOperator::GetView(), and HOpSelectAreaOOC< SelectionSet >::HOpSelectAreaOOC().

template<typename SelectionSet >
virtual char const* HOpSelectAreaOOC< SelectionSet >::GetName ( ) [inline, virtual]
Returns:
A pointer to a character string denoting the name of the operator, which is "HOpSelectAreaOOC".

Reimplemented from HOpSelectArea.

template<typename SelectionSet >
virtual int HOpSelectAreaOOC< SelectionSet >::OnLButtonDown ( HEventInfo e) [inline, virtual]

Starts to create a selection box that will select points inside it.

Parameters:
eAn HEventInfo object containing information about the current event.
Returns:
A value indicating the status of the event.

Reimplemented from HOpSelectArea.

References HEventInfo::Control().

template<typename SelectionSet >
virtual int HOpSelectAreaOOC< SelectionSet >::OnLButtonUp ( HEventInfo e) [inline, virtual]

Finalizes the selection box created by OnLButtonDown and selects points that lie inside the box.

Parameters:
eAn HEventInfo object containing information about the current event.
Returns:
A value indicating the status of the event.

Reimplemented from HOpSelectArea.

References HSelectionSetOOC< SelectionSet >::AddRectangleWindow(), HOpConstructRectangle::m_ptRectangle, and HSelectionSetOOC< SelectionSet >::SynchronizeWith().


The documentation for this class was generated from the following file: