#include <StdSelect_ViewerSelector2d.hxx>
Inheritance diagram for StdSelect_ViewerSelector2d:
Public Member Functions | |
Standard_EXPORT | StdSelect_ViewerSelector2d () |
Constructs an empty viewer selection framework. . | |
Standard_EXPORT | StdSelect_ViewerSelector2d (const Handle(Select2D_Projector)&aProjector) |
Constructs the viewer selection framework defined by the projector aProjector. . | |
Standard_EXPORT void | Set (const Standard_Integer aSensitivity) |
Sets a pixel tolerance for the selection. will be converted for picking in a view. . | |
Standard_EXPORT void | Set (const Handle(Select2D_Projector)&aProjector) |
Sets the new projector aProjector. . | |
Standard_EXPORT void | Convert (const Handle(SelectMgr_Selection)&aSelection) |
to be redefined if conversion is necessary for SensitiveEntities... | |
Standard_EXPORT 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. . | |
Standard_EXPORT 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. . | |
Standard_EXPORT void | DisplayAreas (const Handle(V2d_View)&aView) |
Displays the active areas in the given view; . | |
Standard_EXPORT void | ClearAreas () |
Clear the displayed sensitive areas from this framework.. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
Handle_Select2D_Projector | myprj |
Standard_Integer | mypixtol |
Handle_Graphic2d_GraphicObject | mygo |
|
|
|
|
|
|
|
Reimplemented from SelectMgr_ViewerSelector. |
|
|
|
Reimplemented from SelectMgr_ViewerSelector. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|