Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpSelectPolygonOOC< SelectionSet > Class Template Reference

#include <HOpSelectPolygonOOC.h>

List of all members.

Public Member Functions

virtual HBaseOperatorClone ()
virtual char const * GetName ()
 HOpSelectPolygonOOC (HBaseView &view)
virtual int OnLButtonDblClk (HEventInfo &e)
virtual int OnLButtonDown (HEventInfo &e)

Detailed Description

template<typename SelectionSet>
class HOpSelectPolygonOOC< SelectionSet >

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.

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

Constructor & Destructor Documentation

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

Constructs an HOpSelectPolygonOOC.

Parameters:
viewA reference to an HBaseView object.

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


Member Function Documentation

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

Returns:
A pointer to a copy of this operator.

Reimplemented from HOpSelectPolygon.

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

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

Reimplemented from HOpSelectPolygon.

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

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

Reimplemented from HOpSelectPolygon.

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

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

Reimplemented from HOpSelectPolygon.


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