DATAKIT API  V2025.1
Dtk_SdkOcc.hpp
Go to the documentation of this file.
1 /*
3  Datakit -January 2019
4  Gateway from Datakit CrossCADWare to on OpenCascade public version
5  It works with the library LibSdkOcc, calling the converter embedded in library LibUtilOCC
6  These items are aimed to work with a default target version of OpenCascade
7  They declare and contain :
8 - class DKOC_Body2OC , which is a wrapping of Datakit-OCC converter for a target version of OCC
9 - module DKOC_Body2OCCBRep , which performs a copy (based on class DKOC_Body2OC)
10  from LibUtilOCC (internal version of OCC embedded in LibUtilOCC) to the target OCC version of the caller
11 
12  The target OCC version is defined in
13 - the include path of compilation, to include that of target OCC version
14 - the path and list of external libraries, to include those of target OCC version
15 - the variant of library LibSdkOcc : there is one per target OCC version and per configuration (32b/64b, Debut MD/Release MD ..)
16 
17  Include file to be declared in the source file in LAST
18  (in particular, after includes of OpenCascade classes, they apply for the target version)
19 
20  Setting DTK_LIB_OCC is mandatory here and may not be removed
21  Setting TARGET_NS designates the namespace of the target OCC version
22  It is defaulted to empty. It can be changed but IT IS MANDATORY AT THAT PLACE
23 */
24 #include <map>
25 #include "util/util_type_dtk.hpp"
26 #define DTK_LIB_OCC
27 #include <DKOC/DKOC_Body2OC.hpp>
28 #define TARGET_NS
30 
DKOC_Body2OC.hpp
util_type_dtk.hpp
DKOC_Body2OCCBRep.hpp