Open CASCADE Technology
6.5.4
|
Sensitive Entity to make a face selectable.
In some cases this class can raise Standard_ConstructionError and
Standard_OutOfRange exceptions from its member Select3D_PointData
mypolyg.
#include <Select3D_SensitivePoly.hxx>
Public Member Functions | |
virtual void | Project (const Handle< Select3D_Projector > &aProjector) |
projection of the sensitive primitive in order to get 2D boxes for the Sort Algorithm | |
void | Areas (SelectBasics_ListOfBox2d &boxes) |
stores in <boxes> the 2D Boxes which represent the sensitive face in the selection algorithm. | |
void | Points3D (Handle< TColgp_HArray1OfPnt > &theHArrayOfPnt) |
Returns the 3D points of the array used at construction time. | |
void | Points2D (TColgp_Array1OfPnt2d &theArrayOfPnt2d) |
Returns the 2D points of the array used at construction time. | |
Protected Member Functions | |
Select3D_SensitivePoly (const Handle< SelectBasics_EntityOwner > &OwnerId, const TColgp_Array1OfPnt &ThePoints) | |
Constructs a sensitive face object defined by the owner OwnerId, the array of points ThePoints, and the sensitivity type Sensitivity. The array of points is the outer polygon of the geometric face. | |
Select3D_SensitivePoly (const Handle< SelectBasics_EntityOwner > &OwnerId, const Handle< TColgp_HArray1OfPnt > &ThePoints) | |
Constructs a sensitive face object defined by the owner OwnerId, the array of points ThePoints, and the sensitivity type Sensitivity. The array of points is the outer polygon of the geometric face. | |
Select3D_SensitivePoly (const Handle< SelectBasics_EntityOwner > &OwnerId, const Standard_Integer NbOfPoints=6) | |
Constructs the sensitive circle object defined by the owner OwnerId, the circle Circle, the Boolean FilledCircle and the number of points NbOfPoints. | |
Protected Attributes | |
Select3D_Box2d | mybox2d |
Select3D_PointData | mypolyg |
Select3D_SensitivePoly::Select3D_SensitivePoly | ( | const Handle< SelectBasics_EntityOwner > & | OwnerId, |
const TColgp_Array1OfPnt & | ThePoints | ||
) | [protected] |
Select3D_SensitivePoly::Select3D_SensitivePoly | ( | const Handle< SelectBasics_EntityOwner > & | OwnerId, |
const Handle< TColgp_HArray1OfPnt > & | ThePoints | ||
) | [protected] |
Select3D_SensitivePoly::Select3D_SensitivePoly | ( | const Handle< SelectBasics_EntityOwner > & | OwnerId, |
const Standard_Integer | NbOfPoints = 6 |
||
) | [protected] |
void Select3D_SensitivePoly::Areas | ( | SelectBasics_ListOfBox2d & | boxes | ) | [virtual] |
Implements SelectBasics_SensitiveEntity.
void Select3D_SensitivePoly::Points2D | ( | TColgp_Array1OfPnt2d & | theArrayOfPnt2d | ) |
void Select3D_SensitivePoly::Points3D | ( | Handle< TColgp_HArray1OfPnt > & | theHArrayOfPnt | ) |
virtual void Select3D_SensitivePoly::Project | ( | const Handle< Select3D_Projector > & | aProjector | ) | [virtual] |
Reimplemented from Select3D_SensitiveEntity.
Reimplemented in Select3D_SensitiveCircle, and MeshVS_SensitiveFace.
Select3D_Box2d Select3D_SensitivePoly::mybox2d [protected] |
Select3D_PointData Select3D_SensitivePoly::mypolyg [protected] |