|
Public Member Functions |
| Standard_EXPORT | StdSelect_ViewerSelector3d () |
| | Constructs an empty 3D selector object.
.
|
| Standard_EXPORT | StdSelect_ViewerSelector3d (const Select3D_Projector &aProj) |
| | Constructs a 3D selector object defined by the projector aProj.
.
|
| Standard_EXPORT void | InitProj (const Handle(V3d_View)&aView) |
| | Initializes the projector in the view aView.
.
|
| Standard_EXPORT 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...
.
|
| Standard_EXPORT void | Set (const Standard_Integer aSensitivity) |
| | Sets the sensitivity aSensitivity.
.
|
| Standard_EXPORT void | Set (const Select3D_Projector &aProj) |
| | Sets the new projector aProj to replace the one used at construction time.
.
|
| Standard_EXPORT 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.
.
|
| Standard_EXPORT 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.
.
|
| Standard_EXPORT void | Pick (const TColgp_Array1OfPnt2d &Polyline, const Handle(V3d_View)&aView) |
| | pick action - input pixel values for polyline selection for selection.
|
| const Select3D_Projector & | Projector () const |
| | Returns the current Projector.
.
|
| Standard_EXPORT void | ReactivateProjector () |
| | Puts back the address of the current projector in sensitive primitives...
.
|
| Standard_EXPORT void | DisplayAreas (const Handle(V3d_View)&aView) |
| | Displays sensitive areas found in the view aView.
.
|
| Standard_EXPORT void | ClearAreas (const Handle(V3d_View)&aView) |
| | Clears the view aView of sensitive areas found in it.
.
|
| Standard_EXPORT void | DisplaySensitive (const Handle(V3d_View)&aView) |
| | Displays the selection aSel found in the view aView.
.
|
| Standard_EXPORT void | ClearSensitive (const Handle(V3d_View)&aView) |
| Standard_EXPORT void | DisplaySensitive (const Handle(SelectMgr_Selection)&aSel, const Handle(V3d_View)&aView, const Standard_Boolean ClearOthers=Standard_True) |
| Standard_EXPORT void | DisplayAreas (const Handle(SelectMgr_Selection)&aSel, const Handle(V3d_View)&aView, const Standard_Boolean ClearOthers=Standard_True) |
| Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Member Functions |
| Standard_EXPORT Standard_Boolean | UpdateProj (const Handle(V3d_View)&aView) |
| Standard_EXPORT void | ComputeSensitivePrs (const Handle(SelectMgr_Selection)&aSel) |
| Standard_EXPORT void | ComputeAreasPrs (const Handle(SelectMgr_Selection)&aSel) |
Private Attributes |
| Select3D_Projector | myprj |
| Standard_Real | mycoeff [14] |
| Standard_Real | myprevcoeff [14] |
| Standard_Real | mycenter [2] |
| Standard_Real | myprevcenter [2] |
| Handle_V3d_View | mylastview |
| Standard_Integer | mypixtol |
| Standard_Boolean | myupdatetol |
| Handle_Graphic3d_Group | myareagroup |
| Handle_Graphic3d_Group | mysensgroup |
| Handle_Graphic3d_Structure | mystruct |