Open CASCADE Technology
7.5.0
|
This class provides data and criterion for sorting candidate entities in the process of interactive selection by mouse click. More...
#include <SelectMgr_SortCriterion.hxx>
Public Member Functions | |
SelectMgr_SortCriterion () | |
Empty constructor. More... | |
bool | IsCloserDepth (const SelectMgr_SortCriterion &theOther) const |
Compare with another item by depth, priority and minDist. More... | |
bool | IsHigherPriority (const SelectMgr_SortCriterion &theOther) const |
Compare with another item using old logic (OCCT version <= 6.3.1) with priority considered preceding depth. More... | |
Data Fields | |
Handle< Select3D_SensitiveEntity > | Entity |
detected entity More... | |
gp_Pnt | Point |
3D point More... | |
Graphic3d_Vec3 | Normal |
surface normal or 0 vector if undefined More... | |
Standard_Real | Depth |
distance from the view plane to the entity More... | |
Standard_Real | MinDist |
distance from the clicked point to the entity on the view plane More... | |
Standard_Real | Tolerance |
tolerance used for selecting candidates More... | |
Standard_Integer | Priority |
selection priority More... | |
Standard_Integer | ZLayerPosition |
ZLayer rendering order index, stronger than a depth. More... | |
Standard_Integer | NbOwnerMatches |
overall number of entities collected for the same owner More... | |
This class provides data and criterion for sorting candidate entities in the process of interactive selection by mouse click.
|
inline |
Empty constructor.
|
inline |
Compare with another item by depth, priority and minDist.
|
inline |
Compare with another item using old logic (OCCT version <= 6.3.1) with priority considered preceding depth.
Standard_Real SelectMgr_SortCriterion::Depth |
distance from the view plane to the entity
Handle< Select3D_SensitiveEntity > SelectMgr_SortCriterion::Entity |
detected entity
Standard_Real SelectMgr_SortCriterion::MinDist |
distance from the clicked point to the entity on the view plane
Standard_Integer SelectMgr_SortCriterion::NbOwnerMatches |
overall number of entities collected for the same owner
Graphic3d_Vec3 SelectMgr_SortCriterion::Normal |
surface normal or 0 vector if undefined
gp_Pnt SelectMgr_SortCriterion::Point |
3D point
Standard_Integer SelectMgr_SortCriterion::Priority |
selection priority
Standard_Real SelectMgr_SortCriterion::Tolerance |
tolerance used for selecting candidates
Standard_Integer SelectMgr_SortCriterion::ZLayerPosition |
ZLayer rendering order index, stronger than a depth.