Public Member Functions |
| StdSelect_ViewerSelector3d () |
| Constructs an empty 3D selector object.
|
| StdSelect_ViewerSelector3d (const Handle< Select3D_Projector > &aProj) |
| Constructs a 3D selector object defined by the projector aProj.
|
void | Convert (const Handle< SelectMgr_Selection > &aSelection) |
| Processes the projection of the sensitive primitives
in the active view ; to be done before the selection action...
|
void | Set (const Handle< Select3D_Projector > &aProj) |
| Sets the new projector aProj to replace the one used at construction time.
|
void | SetSensitivityMode (const StdSelect_SensitivityMode aMode) |
| Sets the selection sensitivity mode. SM_WINDOW mode
uses the specified pixel tolerance to compute the sensitivity
value, SM_VIEW mode allows to define the sensitivity manually.
|
StdSelect_SensitivityMode | SensitivityMode () const |
| Returns the selection sensitivity mode.
|
void | SetPixelTolerance (const Standard_Integer aTolerance) |
| Sets the pixel tolerance aTolerance.
|
Standard_Integer | PixelTolerance () const |
| Returns the pixel tolerance.
|
void | Pick (const Standard_Integer XPix, const Standard_Integer YPix, const Handle< V3d_View > &aView) |
| Picks the sensitive entity at the pixel coordinates of
the mouse Xpix and Ypix. The selector looks for touched areas and owners.
|
void | Pick (const Standard_Integer XPMin, const Standard_Integer YPMin, const Standard_Integer XPMax, const Standard_Integer YPMax, const Handle< V3d_View > &aView) |
| Picks the sensitive entity according to the minimum
and maximum pixel values XPMin, YPMin, XPMax
and YPMax defining a 2D area for selection in the 3D view aView.
|
void | Pick (const TColgp_Array1OfPnt2d &Polyline, const Handle< V3d_View > &aView) |
| pick action - input pixel values for polyline selection for selection.
|
const Handle_Select3D_Projector & | Projector () const |
| Returns the current Projector.
|
void | ReactivateProjector () |
| Puts back the address of the current projector in sensitive primitives...
|
void | DisplayAreas (const Handle< V3d_View > &aView) |
| Displays sensitive areas found in the view aView.
|
void | ClearAreas (const Handle< V3d_View > &aView) |
| Clears the view aView of sensitive areas found in it.
|
void | DisplaySensitive (const Handle< V3d_View > &aView) |
| Displays the selection aSel found in the view aView.
|
void | ClearSensitive (const Handle< V3d_View > &aView) |
void | DisplaySensitive (const Handle< SelectMgr_Selection > &aSel, const Handle< V3d_View > &aView, const Standard_Boolean ClearOthers=Standard_True) |
void | DisplayAreas (const Handle< SelectMgr_Selection > &aSel, const Handle< V3d_View > &aView, const Standard_Boolean ClearOthers=Standard_True) |