Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
StdSelect_ViewerSelector2d Class Reference

A viewer selection framework.
The objects defined in this framework can be passed to a selection manager.

#include <StdSelect_ViewerSelector2d.hxx>

Inheritance diagram for StdSelect_ViewerSelector2d:
Inheritance graph
[legend]

Public Member Functions

 StdSelect_ViewerSelector2d ()
 Constructs an empty viewer selection framework.

 StdSelect_ViewerSelector2d (const Handle< Select2D_Projector > &aProjector)
 Constructs the viewer selection framework defined by
the projector aProjector.

void Set (const Standard_Integer aSensitivity)
 Sets a pixel tolerance for the selection.
will be converted for picking in a view.

void Set (const Handle< Select2D_Projector > &aProjector)
 Sets the new projector aProjector.

void Convert (const Handle< SelectMgr_Selection > &aSelection)
 to be redefined if conversion is necessary for SensitiveEntities...

void Pick (const Standard_Integer XPix, const Standard_Integer YPix, const Handle< V2d_View > &aView)
 Returns the pixel coordinates of the mouse Xpix, Ypix
in the view aView.

void Pick (const Standard_Integer XPMin, const Standard_Integer YPMin, const Standard_Integer XPMax, const Standard_Integer YPMax, const Handle< V2d_View > &aView)
 Returns the minimum and maximum pixel coordinates
XPMin, YPMin and XPMax, YPMax defining a 2D area in the view aView.

Handle_Select2D_Projector Projector () const
 Returns the projector which defines this framework.

void DisplayAreas (const Handle< V2d_View > &aView)
 Displays the active areas in the given view;

void ClearAreas ()
 Clear the displayed sensitive areas from this framework..


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from SelectMgr_ViewerSelector.

Handle_Select2D_Projector StdSelect_ViewerSelector2d::Projector ( ) const

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