Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
MeshVS_SensitiveFace Class Reference

This class provides custom sensitive face, which will be selected if it center is in rectangle.

#include <MeshVS_SensitiveFace.hxx>

Inheritance diagram for MeshVS_SensitiveFace:
Inheritance graph
[legend]

Public Member Functions

 MeshVS_SensitiveFace (const Handle< SelectBasics_EntityOwner > &theOwner, const TColgp_Array1OfPnt &thePoints, const Select3D_TypeOfSensitivity theSensType=Select3D_TOS_INTERIOR)
virtual void Project (const Handle< Select3D_Projector > &aProjector)
 projection of the sensitive primitive in order to
get 2D boxes for the Sort Algorithm

virtual Standard_Boolean Matches (const Standard_Real XMin, const Standard_Real YMin, const Standard_Real XMax, const Standard_Real YMax, const Standard_Real aTol)
 Matches the box defined by the coordinates Xmin,
Ymin, Xmax, Ymax with the entity found at that point
within the tolerance aTol.
Xmin, YMin define the minimum point in the lower left
hand corner of the box, and XMax, YMax define the
maximum point in the upper right hand corner of the box.
You must redefine this function for every inheriting entity.
You will have to call this framework inside the redefined function.

virtual Standard_Boolean Matches (const TColgp_Array1OfPnt2d &Polyline, const Bnd_Box2d &aBox, const Standard_Real aTol)
 prevents from hiding virtual methods...

Protected Attributes

gp_Pnt myCentre
gp_Pnt2d myProjCentre

Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from Select3D_SensitiveFace.

Reimplemented from Select3D_SensitiveFace.

virtual void MeshVS_SensitiveFace::Project ( const Handle< Select3D_Projector > &  aProjector) [virtual]

Reimplemented from Select3D_SensitivePoly.


Field Documentation


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