|
||||
File indexing completed on 2025-01-18 10:04:16
0001 // Created on: 2003-09-29 0002 // Created by: Alexander SOLOVYOV and Sergey LITONIN 0003 // Copyright (c) 2003-2014 OPEN CASCADE SAS 0004 // 0005 // This file is part of Open CASCADE Technology software library. 0006 // 0007 // This library is free software; you can redistribute it and/or modify it under 0008 // the terms of the GNU Lesser General Public License version 2.1 as published 0009 // by the Free Software Foundation, with special exception defined in the file 0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0011 // distribution for complete text of the license and disclaimer of any warranty. 0012 // 0013 // Alternatively, this file may be used under the terms of Open CASCADE 0014 // commercial license or contractual agreement. 0015 0016 #ifndef _MeshVS_SensitiveFace_HeaderFile 0017 #define _MeshVS_SensitiveFace_HeaderFile 0018 0019 #include <Standard.hxx> 0020 0021 #include <Select3D_SensitiveFace.hxx> 0022 #include <Select3D_TypeOfSensitivity.hxx> 0023 0024 //! This class provides custom sensitive face, which will be selected if it center is in rectangle. 0025 class MeshVS_SensitiveFace : public Select3D_SensitiveFace 0026 { 0027 public: 0028 0029 Standard_EXPORT MeshVS_SensitiveFace (const Handle(SelectMgr_EntityOwner)& theOwner, 0030 const TColgp_Array1OfPnt& thePoints, 0031 const Select3D_TypeOfSensitivity theSensType = Select3D_TOS_INTERIOR); 0032 0033 DEFINE_STANDARD_RTTIEXT(MeshVS_SensitiveFace,Select3D_SensitiveFace) 0034 0035 protected: 0036 0037 gp_Pnt myCenter; 0038 }; 0039 0040 DEFINE_STANDARD_HANDLE(MeshVS_SensitiveFace, Select3D_SensitiveFace) 0041 0042 #endif // _MeshVS_SensitiveFace_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |