Open CASCADE Technology  7.0.0
Data Structures | Typedefs

SelectMgr_ViewerSelector.hxx File Reference

#include <MMgt_TShared.hxx>
#include <NCollection_Handle.hxx>
#include <NCollection_DataMap.hxx>
#include <OSD_Chronometer.hxx>
#include <TColStd_SequenceOfInteger.hxx>
#include <TColStd_HArray1OfInteger.hxx>
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <SelectMgr_IndexedDataMapOfOwnerCriterion.hxx>
#include <SelectMgr_SelectingVolumeManager.hxx>
#include <SelectMgr_Selection.hxx>
#include <SelectMgr_SelectableObject.hxx>
#include <SelectMgr_SelectableObjectSet.hxx>
#include <SelectMgr_SelectableObjectTrsfPersSet.hxx>
#include <SelectMgr_StateOfSelection.hxx>
#include <Standard_OStream.hxx>
#include <SelectMgr_ViewerSelector.lxx>

Data Structures

class  SelectMgr_ToleranceMap
 An internal class for calculation of current largest tolerance value which will be applied for creation of selecting frustum by default. Each time the selection set is deactivated, maximum tolerance value will be recalculated. If a user enables custom precision using StdSelect_ViewerSelector3d::SetPixelTolerance, it will be applied to all sensitive entities without any checks. More...
 
class  SelectMgr_ViewerSelector
 A framework to define finding, sorting the sensitive primitives in a view. Services are also provided to define the return of the owners of those primitives selected. The primitives are sorted by criteria such as priority of the primitive or its depth in the view relative to that of other primitives. Note that in 3D, the inheriting framework StdSelect_ViewerSelector3d is only to be used if you do not want to use the services provided by AIS. Two tools are available to find and select objects found at a given position in the view. If you want to select the owners of all the objects detected at point x,y,z you use the Init - More - Next - Picked loop. If, on the other hand, you want to select only one object detected at that point, you use the Init - More - OnePicked loop. In this iteration, More is used to see if an object was picked and OnePicked, to get the object closest to the pick position. Viewer selectors are driven by SelectMgr_SelectionManager, and manipulate the SelectMgr_Selection objects given to them by the selection manager. More...
 

Typedefs

typedef NCollection_DataMap< Handle< SelectMgr_SelectableObject >, NCollection_Handle< SelectMgr_SensitiveEntitySet > > SelectMgr_MapOfObjectSensitives
 
typedef NCollection_DataMap< Handle< SelectMgr_SelectableObject >, NCollection_Handle< SelectMgr_SensitiveEntitySet > >::Iterator SelectMgr_MapOfObjectSensitivesIterator
 
typedef NCollection_DataMap< Handle< SelectMgr_EntityOwner >, Standard_IntegerSelectMgr_MapOfOwnerDetectedEntities
 
typedef NCollection_DataMap< Handle< SelectMgr_EntityOwner >, Standard_Integer >::Iterator SelectMgr_MapOfOwnerDetectedEntitiesIterator
 
typedef NCollection_DataMap< Standard_Integer, SelectMgr_SelectingVolumeManagerSelectMgr_FrustumCache
 

Typedef Documentation