| 1 | // Created on: 2000-10-31 |
| 2 | // Created by: Vladislav ROMASHKO |
| 3 | // Copyright (c) 2000-2014 OPEN CASCADE SAS |
| 4 | // |
| 5 | // This file is part of Open CASCADE Technology software library. |
| 6 | // |
| 7 | // This library is free software; you can redistribute it and/or modify it under |
| 8 | // the terms of the GNU Lesser General Public License version 2.1 as published |
| 9 | // by the Free Software Foundation, with special exception defined in the file |
| 10 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
| 11 | // distribution for complete text of the license and disclaimer of any warranty. |
| 12 | // |
| 13 | // Alternatively, this file may be used under the terms of Open CASCADE |
| 14 | // commercial license or contractual agreement. |
| 15 | |
| 16 | #ifndef _QANewBRepNaming_Limitation_HeaderFile |
| 17 | #define _QANewBRepNaming_Limitation_HeaderFile |
| 18 | |
| 19 | #include <Standard.hxx> |
| 20 | #include <Standard_DefineAlloc.hxx> |
| 21 | #include <Standard_Handle.hxx> |
| 22 | |
| 23 | #include <QANewBRepNaming_BooleanOperation.hxx> |
| 24 | class TDF_Label; |
| 25 | class QANewModTopOpe_Limitation; |
| 26 | |
| 27 | |
| 28 | |
| 29 | class QANewBRepNaming_Limitation : public QANewBRepNaming_BooleanOperation |
| 30 | { |
| 31 | public: |
| 32 | |
| 33 | DEFINE_STANDARD_ALLOC |
| 34 | |
| 35 | |
| 36 | Standard_EXPORT QANewBRepNaming_Limitation(); |
| 37 | |
| 38 | Standard_EXPORT QANewBRepNaming_Limitation(const TDF_Label& ResultLabel); |
| 39 | |
| 40 | Standard_EXPORT void Load (QANewModTopOpe_Limitation& MakeShape) const; |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | protected: |
| 46 | |
| 47 | |
| 48 | //! Loads the content of the result. |
| 49 | Standard_EXPORT void LoadContent (QANewModTopOpe_Limitation& MakeShape) const; |
| 50 | |
| 51 | //! Loads the result. |
| 52 | Standard_EXPORT void LoadResult (QANewModTopOpe_Limitation& MakeShape) const; |
| 53 | |
| 54 | //! Loads the deletion of the degenerated edges. |
| 55 | Standard_EXPORT void LoadDegenerated (QANewModTopOpe_Limitation& MakeShape) const; |
| 56 | |
| 57 | //! A default implementation for naming of a wire as an object of |
| 58 | //! a boolean operation. |
| 59 | Standard_EXPORT void LoadWire (QANewModTopOpe_Limitation& MakeShape) const; |
| 60 | |
| 61 | //! A default implementation for naming of a shell as an object of |
| 62 | //! a boolean operation. |
| 63 | Standard_EXPORT void LoadShell (QANewModTopOpe_Limitation& MakeShape) const; |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | private: |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | }; |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | #endif // _QANewBRepNaming_Limitation_HeaderFile |