Open CASCADE Technology  7.1.0.beta
Public Member Functions | Data Fields

SelectMgr_SortCriterion Class Reference

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 operator> (const SelectMgr_SortCriterion &theOther) const
 Comparison operator. More...
 
bool operator< (const SelectMgr_SortCriterion &theOther) const
 Comparison operator. More...
 
bool IsGreater (const SelectMgr_SortCriterion &theOther) const
 Compare with another item. More...
 
bool IsLower (const SelectMgr_SortCriterion &theOther) const
 Compare with another item. More...
 

Data Fields

Handle< SelectBasics_SensitiveEntityEntity
 detected entity More...
 
gp_Pnt Point
 3D point 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_Boolean ToPreferClosest
 whether closest object is preferred even if has less priority More...
 

Detailed Description

This class provides data and criterion for sorting candidate entities in the process of interactive selection by mouse click.

Constructor & Destructor Documentation

SelectMgr_SortCriterion::SelectMgr_SortCriterion ( )
inline

Empty constructor.

Member Function Documentation

bool SelectMgr_SortCriterion::IsGreater ( const SelectMgr_SortCriterion theOther) const
inline

Compare with another item.

bool SelectMgr_SortCriterion::IsLower ( const SelectMgr_SortCriterion theOther) const
inline

Compare with another item.

bool SelectMgr_SortCriterion::operator< ( const SelectMgr_SortCriterion theOther) const
inline

Comparison operator.

bool SelectMgr_SortCriterion::operator> ( const SelectMgr_SortCriterion theOther) const
inline

Comparison operator.

Field Documentation

Standard_Real SelectMgr_SortCriterion::Depth

distance from the view plane to the entity

Handle< SelectBasics_SensitiveEntity > SelectMgr_SortCriterion::Entity

detected entity

Standard_Real SelectMgr_SortCriterion::MinDist

distance from the clicked point to the entity on the view plane

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_Boolean SelectMgr_SortCriterion::ToPreferClosest

whether closest object is preferred even if has less priority

Standard_Integer SelectMgr_SortCriterion::ZLayerPosition

ZLayer rendering order index, stronger than a depth.


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