Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:05

0001 // Created by: Peter KURNEV
0002 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0003 //
0004 // This file is part of Open CASCADE Technology software library.
0005 //
0006 // This library is free software; you can redistribute it and/or modify it under
0007 // the terms of the GNU Lesser General Public License version 2.1 as published
0008 // by the Free Software Foundation, with special exception defined in the file
0009 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0010 // distribution for complete text of the license and disclaimer of any warranty.
0011 //
0012 // Alternatively, this file may be used under the terms of Open CASCADE
0013 // commercial license or contractual agreement.
0014 
0015 #ifndef _BOPTest_Objects_HeaderFile
0016 #define _BOPTest_Objects_HeaderFile
0017 
0018 #include <Standard.hxx>
0019 #include <Standard_DefineAlloc.hxx>
0020 
0021 #include <BOPDS_PDS.hxx>
0022 #include <TopTools_ListOfShape.hxx>
0023 #include <BOPAlgo_PBuilder.hxx>
0024 #include <BOPAlgo_CellsBuilder.hxx>
0025 #include <BOPAlgo_GlueEnum.hxx>
0026 //
0027 class BOPAlgo_PaveFiller;
0028 class BOPAlgo_Builder;
0029 class BOPAlgo_BOP;
0030 class BOPAlgo_Section;
0031 class BOPAlgo_Splitter;
0032 
0033 
0034 class BOPTest_Objects
0035 {
0036 public:
0037 
0038   DEFINE_STANDARD_ALLOC
0039 
0040   
0041   Standard_EXPORT static BOPAlgo_PaveFiller& PaveFiller();
0042   
0043   Standard_EXPORT static void Init();
0044   
0045   Standard_EXPORT static void Clear();
0046   
0047   Standard_EXPORT static BOPDS_PDS PDS();
0048   
0049   Standard_EXPORT static BOPAlgo_Builder& Builder();
0050   
0051   Standard_EXPORT static BOPAlgo_BOP& BOP();
0052   
0053   Standard_EXPORT static BOPAlgo_Section& Section();
0054   
0055   Standard_EXPORT static BOPAlgo_CellsBuilder& CellsBuilder();
0056   
0057   Standard_EXPORT static BOPAlgo_Splitter& Splitter();
0058   
0059   Standard_EXPORT static TopTools_ListOfShape& Shapes();
0060   
0061   Standard_EXPORT static TopTools_ListOfShape& Tools();
0062   
0063   Standard_EXPORT static void SetBuilder (const BOPAlgo_PBuilder& theBuilder);
0064   
0065   Standard_EXPORT static void SetBuilderDefault();
0066 
0067   Standard_EXPORT static void SetDefaultOptions();
0068 
0069   Standard_EXPORT static void SetRunParallel (const Standard_Boolean theFlag);
0070   
0071   Standard_EXPORT static Standard_Boolean RunParallel();
0072   
0073   Standard_EXPORT static void SetFuzzyValue (const Standard_Real theValue);
0074   
0075   Standard_EXPORT static Standard_Real FuzzyValue();
0076 
0077   Standard_EXPORT static void SetNonDestructive(const Standard_Boolean theFlag);
0078 
0079   Standard_EXPORT static Standard_Boolean NonDestructive();
0080 
0081   Standard_EXPORT static void SetGlue(const BOPAlgo_GlueEnum aGlue);
0082 
0083   Standard_EXPORT static BOPAlgo_GlueEnum Glue();
0084 
0085   Standard_EXPORT static void SetDrawWarnShapes(const Standard_Boolean bDraw);
0086 
0087   Standard_EXPORT static Standard_Boolean DrawWarnShapes();
0088 
0089   Standard_EXPORT static void SetCheckInverted(const Standard_Boolean bCheck);
0090 
0091   Standard_EXPORT static Standard_Boolean CheckInverted();
0092 
0093   Standard_EXPORT static void SetUseOBB(const Standard_Boolean bUseOBB);
0094 
0095   Standard_EXPORT static Standard_Boolean UseOBB();
0096 
0097   Standard_EXPORT static void SetUnifyEdges(const Standard_Boolean bUE);
0098   Standard_EXPORT static Standard_Boolean UnifyEdges();
0099 
0100   Standard_EXPORT static void SetUnifyFaces(const Standard_Boolean bUF);
0101   Standard_EXPORT static Standard_Boolean UnifyFaces();
0102 
0103   Standard_EXPORT static void SetAngular(const Standard_Real bAngTol);
0104   Standard_EXPORT static Standard_Real Angular();
0105 
0106 protected:
0107 
0108 private:
0109 
0110 };
0111 
0112 #endif // _BOPTest_Objects_HeaderFile