# Visualization
TKV3d
StdSelect

# StdSelect_ViewerSelector3d Class Reference

Selector Usable by Viewers from V3d
.

`#include <StdSelect_ViewerSelector3d.hxx>`

Inheritance diagram for StdSelect_ViewerSelector3d:

[legend]

## 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

## Constructor & Destructor Documentation

Standard_EXPORT StdSelect_ViewerSelector3d::StdSelect_ViewerSelector3d | ( |  | ) |

Standard_EXPORT StdSelect_ViewerSelector3d::StdSelect_ViewerSelector3d | ( | const Select3D_Projector & | aProj | ) |

## Member Function Documentation

Standard_EXPORT void StdSelect_ViewerSelector3d::ClearAreas | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT void StdSelect_ViewerSelector3d::ClearSensitive | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT void StdSelect_ViewerSelector3d::ComputeAreasPrs | ( | const Handle(SelectMgr_Selection)& | aSel | ) | `[private]`

Standard_EXPORT void StdSelect_ViewerSelector3d::ComputeSensitivePrs | ( | const Handle(SelectMgr_Selection)& | aSel | ) | `[private]`

Standard_EXPORT void StdSelect_ViewerSelector3d::Convert | ( | const Handle(SelectMgr_Selection)& | aSelection | ) | `[virtual]`

| Reimplemented from SelectMgr_ViewerSelector.

Standard_EXPORT void StdSelect_ViewerSelector3d::DisplayAreas | ( | const Handle(SelectMgr_Selection)& | aSel,
|  | const Handle(V3d_View)& | aView,
|  | const Standard_Boolean | ClearOthers = `Standard_True`
| ) |

Standard_EXPORT void StdSelect_ViewerSelector3d::DisplayAreas | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT void StdSelect_ViewerSelector3d::DisplaySensitive | ( | const Handle(SelectMgr_Selection)& | aSel,
|  | const Handle(V3d_View)& | aView,
|  | const Standard_Boolean | ClearOthers = `Standard_True`
| ) |

Standard_EXPORT void StdSelect_ViewerSelector3d::DisplaySensitive | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT const StdSelect_ViewerSelector3d::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from SelectMgr_ViewerSelector.

Standard_EXPORT void StdSelect_ViewerSelector3d::InitProj | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT void StdSelect_ViewerSelector3d::Pick | ( | const TColgp_Array1OfPnt2d & | Polyline,
|  | const Handle(V3d_View)& | aView
| ) |

Standard_EXPORT void StdSelect_ViewerSelector3d::Pick | ( | const Standard_Integer | XPMin,
|  | const Standard_Integer | YPMin,
|  | const Standard_Integer | XPMax,
|  | const Standard_Integer | YPMax,
|  | const Handle(V3d_View)& | aView
| ) |

Standard_EXPORT void StdSelect_ViewerSelector3d::Pick | ( | const Standard_Integer | XPix,
|  | const Standard_Integer | YPix,
|  | const Handle(V3d_View)& | aView
| ) |

const Select3D_Projector & StdSelect_ViewerSelector3d::Projector | ( |  | ) | const`[inline]`

Standard_EXPORT void StdSelect_ViewerSelector3d::ReactivateProjector | ( |  | ) |

Standard_EXPORT void StdSelect_ViewerSelector3d::Set | ( | const Select3D_Projector & | aProj | ) |

Standard_EXPORT void StdSelect_ViewerSelector3d::Set | ( | const Standard_Integer | aSensitivity | ) |

Standard_EXPORT Standard_Boolean StdSelect_ViewerSelector3d::UpdateProj | ( | const Handle(V3d_View)& | aView | ) | `[private]`

## Field Documentation

Handle_Graphic3d_Group StdSelect_ViewerSelector3d::myareagroup `[private]`

Standard_Real StdSelect_ViewerSelector3d::mycenter[2]`[private]`

Standard_Real StdSelect_ViewerSelector3d::mycoeff[14]`[private]`

Handle_V3d_View StdSelect_ViewerSelector3d::mylastview `[private]`

Standard_Integer StdSelect_ViewerSelector3d::mypixtol `[private]`

Standard_Real StdSelect_ViewerSelector3d::myprevcenter[2]`[private]`

Standard_Real StdSelect_ViewerSelector3d::myprevcoeff[14]`[private]`

Select3D_Projector StdSelect_ViewerSelector3d::myprj `[private]`

Handle_Graphic3d_Group StdSelect_ViewerSelector3d::mysensgroup `[private]`

Handle_Graphic3d_Structure StdSelect_ViewerSelector3d::mystruct `[private]`

Standard_Boolean StdSelect_ViewerSelector3d::myupdatetol `[private]`

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

- StdSelect_ViewerSelector3d.hxx
- StdSelect_ViewerSelector3d.lxx