|
Open CASCADE Technology
6.5.4
|
A viewer selection framework.
The objects defined in this framework can be passed to a selection manager.
#include <StdSelect_ViewerSelector2d.hxx>

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.. | |
| StdSelect_ViewerSelector2d::StdSelect_ViewerSelector2d | ( | const Handle< Select2D_Projector > & | aProjector | ) |
| void StdSelect_ViewerSelector2d::Convert | ( | const Handle< SelectMgr_Selection > & | aSelection | ) | [virtual] |
Reimplemented from SelectMgr_ViewerSelector.
| void StdSelect_ViewerSelector2d::DisplayAreas | ( | const Handle< V2d_View > & | aView | ) |
| void StdSelect_ViewerSelector2d::Pick | ( | const Standard_Integer | XPix, |
| const Standard_Integer | YPix, | ||
| const Handle< V2d_View > & | aView | ||
| ) |
| void StdSelect_ViewerSelector2d::Pick | ( | const Standard_Integer | XPMin, |
| const Standard_Integer | YPMin, | ||
| const Standard_Integer | XPMax, | ||
| const Standard_Integer | YPMax, | ||
| const Handle< V2d_View > & | aView | ||
| ) |
| Handle_Select2D_Projector StdSelect_ViewerSelector2d::Projector | ( | ) | const |
| void StdSelect_ViewerSelector2d::Set | ( | const Standard_Integer | aSensitivity | ) |
| void StdSelect_ViewerSelector2d::Set | ( | const Handle< Select2D_Projector > & | aProjector | ) |
1.8.0