X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FSelect3D%2FSelect3D_InteriorSensitivePointSet.hxx;h=054e48790260dc387968801ead4dc2a66a8e1023;hb=bf3977c9f92be2172130cec3b9885dad60dd559d;hpb=2157d6ac6378bc7d9898aa5c1e8e85a9fe62ab80 diff --git a/src/Select3D/Select3D_InteriorSensitivePointSet.hxx b/src/Select3D/Select3D_InteriorSensitivePointSet.hxx index b9fd3e878c..054e487902 100644 --- a/src/Select3D/Select3D_InteriorSensitivePointSet.hxx +++ b/src/Select3D/Select3D_InteriorSensitivePointSet.hxx @@ -22,7 +22,6 @@ #include #include -#include #include #include @@ -37,7 +36,7 @@ typedef NCollection_Vector Select3D_VectorOfHPol //! This class handles the selection of arbitrary point set with internal type of sensitivity. //! The main principle is to split the point set given onto planar convex polygons and search //! for the overlap with one or more of them through traverse of BVH tree. -class Select3D_InteriorSensitivePointSet : public Select3D_ISensitivePointSet, public Select3D_SensitiveSet +class Select3D_InteriorSensitivePointSet : public Select3D_SensitiveSet { public: @@ -45,13 +44,9 @@ public: Standard_EXPORT Select3D_InteriorSensitivePointSet (const Handle(SelectBasics_EntityOwner)& theOwnerId, const TColgp_Array1OfPnt& thePoints); - //! Checks whether the point set overlaps current selecting volume - Standard_EXPORT virtual Standard_Boolean Matches (SelectBasics_SelectingVolumeManager& theMgr, - SelectBasics_PickResult& thePickResult) Standard_OVERRIDE; - //! Initializes the given array theHArrayOfPnt by 3d coordinates of vertices of the //! whole point set - Standard_EXPORT virtual void GetPoints (Handle(TColgp_HArray1OfPnt)& theHArrayOfPnt) Standard_OVERRIDE; + Standard_EXPORT virtual void GetPoints (Handle(TColgp_HArray1OfPnt)& theHArrayOfPnt); //! Returns the length of vector of planar convex polygons Standard_EXPORT virtual Standard_Integer Size() const Standard_OVERRIDE; @@ -76,12 +71,11 @@ public: //! transformation is set, it will be applied Standard_EXPORT virtual gp_Pnt CenterOfGeometry() const Standard_OVERRIDE; - //! Builds BVH tree for the point set - Standard_EXPORT virtual void BVH() Standard_OVERRIDE; - //! Returns the amount of points in set Standard_EXPORT virtual Standard_Integer NbSubElements() Standard_OVERRIDE; + DEFINE_STANDARD_RTTI(Select3D_InteriorSensitivePointSet) + protected: //! Checks whether the planar convex polygon with index theIdx @@ -106,4 +100,6 @@ protected: Select3D_BndBox3d myBndBox; //!< Bounding box of the point set }; +DEFINE_STANDARD_HANDLE(Select3D_InteriorSensitivePointSet, Select3D_SensitiveSet) + #endif // _Select3D_InteriorSensitivePointSet_HeaderFile