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

This class allows to create owners to all elements or nodes,
both hidden and shown, but these owners user cannot select "by hands"
in viewer. They means for internal application tasks, for example, receiving
all owners, both for hidden and shown entities.

#include <MeshVS_DummySensitiveEntity.hxx>

Inheritance diagram for MeshVS_DummySensitiveEntity:
Inheritance graph
[legend]

Public Member Functions

 MeshVS_DummySensitiveEntity (const Handle< SelectBasics_EntityOwner > &OwnerId)
virtual void Areas (SelectBasics_ListOfBox2d &aresult)
 to be implemented specifically by each type of
sensitive primitive .


virtual Standard_Boolean Matches (const Standard_Real X, const Standard_Real Y, const Standard_Real aTol, Standard_Real &DMin)
 returns True if the object is very close to the
sensitive areas it gave to the selector...
returns the minimum distance found if no match;

to be implemented specifically by each type of
sensitive primitive .

virtual Standard_Boolean Matches (const Standard_Real XMin, const Standard_Real YMin, const Standard_Real XMax, const Standard_Real YMax, const Standard_Real aTol)
 returns True if the box (Xmin,YMin)------(Xmax,Ymax)
contains the SensitiveEntity.
Necessary for selection using elastic boxes,or segments.

virtual Standard_Boolean Matches (const TColgp_Array1OfPnt2d &Polyline, const Bnd_Box2d &aBox, const Standard_Real aTol)
 returns True if the polyline xi,yi
contains the SensitiveEntity.
Necessary for selection using polyline selection

virtual Standard_Boolean Is3D () const
 returns True if able to give 3D information
(Depth,...). See Select3D

virtual Standard_Boolean NeedsConversion () const
virtual Standard_Integer MaxBoxes () const
 returns the max number of boxes the entity is able to give
at a time


Constructor & Destructor Documentation


Member Function Documentation


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