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

A framework to define what all sensitive 2D entities have in common.
This framework can be used to create new 2D sensitive entities.

#include <Select2D_SensitiveEntity.hxx>

Inheritance diagram for Select2D_SensitiveEntity:
Inheritance graph
[legend]

Public Member Functions

virtual Standard_Boolean NeedsConversion () const
 returns Standard_False unless if redefined...

virtual void Convert (const Handle< Select2D_Projector > &aProjector)
 Processes the projection of the sensitive primitives in
the active view. This must be performed before the selection action.
This function must be implemented in daughter classes.

virtual Standard_Integer MaxBoxes () const
 Returns the maximum number of boxes.

void SetOwnTolerance (const Standard_Real aValue)
 Sets and stores a tolerance value in the argument
aTol of the function Matches inherited from SelectBasics_SensitiveEntity.

void UnsetOwnTolerance ()
 Removes the in the argument aTol of the function
Matches inherited from SelectBasics_SensitiveEntity.

Standard_Boolean HasOwnTolerance () const
 Returns true if the entity has a setting for the
argument aTol of the function Matches inherited
from SelectBasics_SensitiveEntity.

Standard_Real OwnTolerance () const
 Returns the tolerance value in the argument aTol of
the function Matches inherited from SelectBasics_SensitiveEntity.

Standard_Boolean Is3D () const
 Returns true if this object can provide 3D information.

virtual Standard_Boolean Matches (const TColgp_Array1OfPnt2d &Polyline, const Bnd_Box2d &aBox, const Standard_Real aTol)
 Free contur selection for 2d is not defined

Protected Member Functions

 Select2D_SensitiveEntity (const Handle< SelectBasics_EntityOwner > &anOwnerId)

Protected Attributes

Standard_Real myOwnTolerance

Constructor & Destructor Documentation


Member Function Documentation

virtual void Select2D_SensitiveEntity::Convert ( const Handle< Select2D_Projector > &  aProjector) [virtual]

Reimplemented in StdSelect_SensitiveText2d.


Field Documentation


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