DATAKIT API  V2025.1
dtk_api.hpp
Go to the documentation of this file.
1 #ifndef _UTIL_API_DTK_HPP_
2 #define _UTIL_API_DTK_HPP_
3 
4 #include "def/define.h"
5 #include "dtk_maindoc.hpp"
6 #include "dtk_maindoc_ptr.hpp"
7 #include "error_dtk.hpp"
10 #include "util_ptr_dtk.hpp"
11 #include "util_stl_dtk.hpp"
12 #include <cstdio>
13 
14 class Dtk_Config;
15 class Dtk_ColorTable;
16 class Dtk_Reader;
17 class Dtk_Log;
19 class Dtk_Preview;
21 class Dtk_GraphicalData;
23 
25 {
26  DTK_BODYMODE_NOPREFERENCE = 0, //no preference (faster)
27  DTK_BODYMODE_UVSURFACIC, //Prepare data to get UV boundaries (Needed for Tesselation Lib)
28  DTK_BODYMODE_COMPLETETOPOLOGY, //default : Prepare data to get 3D and corresponding UV boundaries
29  DTK_BODYMODE_3DTOPOLOGY //Prepare data to get 3D boundaries
30 };
31 
32 
34 {
35 public:
37  {
38 
39  };
41  {
42 
43  };
44 
46  {
50  };
52  {
59  };
60 
61  enum Status
62  {
63  Enable = 0,
65  };
66 
67 private:
68 
69 };
70 
71 
72 
73 
74 class Dtk_API
75 {
76 protected:
77  class Dtk_Handle; // Not defined here
78  Dtk_Handle *_Private; // Handle
80 
127 
128  Dtk_ErrorStatus _InitData(const Dtk_string& inTemporyDirectory,const Dtk_string &inClientCode);
129  void _Init();
130  void _Reset();
132  virtual ~Dtk_API();
133 
134 private :
135  friend class Dtk_Node;
136  friend class Dtk_Component;
137  friend class Dtk_APIContext;
138  friend class Dtk_MainDocWrapper;
139 
140  friend class CatiaV5Reader;
141  friend class CatiaV6Reader;
142  friend class VdaReader;
143  friend class InvReader;
144  friend class CatiaV4Reader;
145  friend class IgesReader;
146  friend class UgReader;
147  friend class XmtReader;
148  friend class SwReader;
149  friend class SeReader;
150  friend class ProeReader;
151  friend class JtReader;
152  friend class StepReader;
153  friend class PsReader;
154  friend class AcisReader;
155  friend class CgrReader;
156  friend class CaddsReader;
157  friend class ProCeraReader;
158  friend class CerconReader;
159  friend class CerecReader;
160  friend class XmlReader;
161  friend class DcmReader;
162  friend class DxfReader;
163  friend class PlmXmlReader;
164  friend class LavaReader;
165  friend class RnXmlReader;
166  friend class _3dmReader;
167  friend class DwgReader;
168  friend class ObjReader;
169  friend class IfcReader;
170  friend class SolidEdgeReader;
171  friend class BRepOccReader;
172  friend class RevitReader;
173  friend class CreoviewReader;
174  friend class StlReader;
175  friend class FbxReader;
176  friend class SdnfReader;
177  friend class CgmReader;
178  friend class ArtReader;
179  friend class SmgReader;
180  friend class PrcReader;
181  friend class F3dReader;
182  friend class GltfReader;
183  friend class DstvReader;
184  friend class NavisReader;
185  friend class QifReader;
186  friend class DwgDtkReader;
187  friend class Zw3dReader;
188 
189  Dtk_ErrorStatus _ActivateReader();
190  Dtk_ErrorStatus _DesactivateReader();
191 
192  void _WriteTimeLog();
193  virtual void InitLog();
194 
195 public:
203  static Dtk_API* StartAPI(const Dtk_string& inTemporyDirectory,Dtk_ErrorStatus &outErrorCode, const Dtk_string& inCustomerID=Dtk_string());
204 
207  static void StopAPI(Dtk_API*& inAPI, Dtk_bool inWriteTimeInLog = 1);
210  static Dtk_API* GetAPI();
211 
213  // avoid license check for unlimited customer
214  static void DeactivateFlexlmCall();
215 
216 
221 
222  void BreakApi();
224 
225  Dtk_Config *GetConfig();
226  Dtk_ColorTable *GetColorTable();
227 
228  const Dtk_LogPtr& GetLog();
229 
230 
231 
233  Dtk_ID AddMaterialInTable(const Dtk_RenderInfosPtr &inNewRenderInfos);
237 
238 
242 
246 
247 
251 
255 
260 
269  const Dtk_string & GetLogFile() const ;
270  const Dtk_string & GetSchemaDir()const;
271  const Dtk_string & GetWorkingDir()const;
272 
273 
275  Dtk_ErrorStatus WriteInLogFile(const char *inString);
276 
278 
280  Dtk_ErrorStatus LoadConfigFile(FILE *inConfigFile);
281 
286 
291  Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string& outVersion);
292 
297  Dtk_ErrorStatus GetFilePreview(const Dtk_string &inInputFile, Dtk_PreviewPtr& outPreview);
298 
303  Dtk_ErrorStatus OpenDocument(const Dtk_string& inInputFile, Dtk_MainDocPtr& outDocument);
308  Dtk_ErrorStatus OpenDocumentGraphic( const Dtk_string& inInputFile, Dtk_MainDocPtr& outDocument );
309 
314 
320  const Dtk_ComponentPtr& inComponent,
321  Dtk_NodePtr& outRootNode);
322 
328  const Dtk_ComponentPtr& inComponent,
329  Dtk_GraphicalDataPtr& outGraphicalData );
330 
335 
345 
351 
352 
356 
357 
363 
364 
373 
377 
379  const Dtk_string& inInputFile,
380  Dtk_MainDocPtr& inoutDocument,
381  Dtk_ComponentPtr& outRootComponent);
382 
385 
386 
390 
394 
398 
399 
401  // DTK_BODYMODE_UVSURFACIC, //Prepare data to get UV boundaries
402  // DTK_BODYMODE_COMPLETETOPOLOGY, //default : Prepare data to get 3D and corresponding UV boundaries
403  // DTK_BODYMODE_3DTOPOLOGY //Prepare data to get 3D boundaries
406 
410 
411 
413  // only available on following readers :Unigraphics, Solidworks, Solidedge, Parasolid, Acis, Inventor
415 
417  // only available on following readers :Unigraphics, Solidworks, Solidedge, Parasolid
419 
421  // only available on following readers :Unigraphics, Solidworks, Solidedge, Parasolid
423 
425  // only available on following readers :Unigraphics, Solidworks, Solidedge, Parasolid, Jt
426  // if inRead == DTK_TRUE, force reading custumers attributs
428 
430  // only available on following readers :Unigraphics, Solidedge
431  // default DTK_FALSE
432  // if inForceFeatureData==DTK_TRUE , force name entity from name feature
433  void ActivateFeaturesRead( Dtk_Int32 inForceFeatureData =DTK_FALSE);
434 
436  // only available on following readers :Unigraphics
438 
440  // default DTK_TRUE
441  void SetLocalPathSearchFlag( Dtk_bool inActivationFlag );
442 
444  // default DTK_TRUE
445  void SetInternalReadPathSearchFlag( Dtk_bool inActivationFlag );
446 
448  // default DTK_TRUE
449  void SetAdditionnalPathSearchFlag(Dtk_bool inActivationFlag);
450 
452  // default DTK_FALSE
453  void SetRelativePathSearchFlag(Dtk_bool inActivationFlag);
454 
456  // default DTK_FALSE
457  void SetBelowPathSearchFlag(Dtk_bool inActivationFlag);
458 
460  // default DTK_FALSE
461  void SetAbovePathSearchFlag(Dtk_bool inActivationFlag);
462 
463 
466 
472 
476 
477 
480 
481  //temporaire
483 
484 };
485 
488 
490 int dtkDumpTypeError( Dtk_Int32 errNumero, Dtk_string inMyDumpFile );
491 
492 
493 #endif
494 
Dtk_API::_AcisReader
static Dtk_Reader * _AcisReader
Definition: dtk_api.hpp:94
IsDtkApiStarted
Dtk_bool IsDtkApiStarted()
Dtk_SearchFileEnum::ReadPathSearch
@ ReadPathSearch
Definition: dtk_api.hpp:54
Dtk_API::_CgmReader
static Dtk_Reader * _CgmReader
Definition: dtk_api.hpp:116
Dtk_API::EndDocument
Dtk_ErrorStatus EndDocument(Dtk_MainDocPtr &inoutDocument)
Close a Document.
DTK_BODYMODE_NOPREFERENCE
@ DTK_BODYMODE_NOPREFERENCE
Definition: dtk_api.hpp:26
Dtk_API::_ProCeraReader
static Dtk_Reader * _ProCeraReader
Definition: dtk_api.hpp:97
Dtk_API::_ProeReader
static Dtk_Reader * _ProeReader
Definition: dtk_api.hpp:91
F3dReader
Definition: dtk_F3dReader.hpp:6
Dtk_API::ActivateReversedRevolution
void ActivateReversedRevolution()
From V66 Use old way to read Revolution Surface.
Dtk_ID
uint32_t Dtk_ID
Definition: define.h:689
RnXmlReader
Definition: dtk_RnXmlReader.hpp:14
Dtk_API::_CerconReader
static Dtk_Reader * _CerconReader
Definition: dtk_api.hpp:98
Dtk_API::SetBelowPathSearchFlag
void SetBelowPathSearchFlag(Dtk_bool inActivationFlag)
Allow Below Search for files of assembly.
Dtk_API::IsBroken
Dtk_bool IsBroken()
Dtk_API::GetNumColorInTable
Dtk_Size_t GetNumColorInTable() const
Get Number of Colors in API Lut
CgmReader
Definition: dtk_CgmReader.hpp:7
Dtk_API::AddRenderInfosInTable
Dtk_ID AddRenderInfosInTable(const Dtk_RenderInfosPtr &inNewRenderInfos)
Dtk_API::_SeReader
static Dtk_Reader * _SeReader
Definition: dtk_api.hpp:90
Dtk_API::GetNumCurveLineTypeDefinitionsInTable
Dtk_Size_t GetNumCurveLineTypeDefinitionsInTable() const
Dtk_API::ReadConnectedEntity
Dtk_ErrorStatus ReadConnectedEntity(const Dtk_MainDocPtr &inDoc, const Dtk_NodeConnectorPtr &inConnector, Dtk_tab< Dtk_EntityPtr > &outEntity)
Internal Use.
Dtk_API::GetLogFile
const Dtk_string & GetLogFile() const
Dtk_SearchFileEnum::Dtk_SearchFileEnum
Dtk_SearchFileEnum()
Definition: dtk_api.hpp:36
Dtk_Log
Definition: dtk_log.hpp:170
Dtk_API::ClearSearchPathForFonts
Dtk_ErrorStatus ClearSearchPathForFonts()
Clear Search Path initialised with AddSearchPathForFonts.
XmlReader
Definition: dtk_XmlReader.hpp:6
Dtk_API::_3dmReader
static Dtk_Reader * _3dmReader
Definition: dtk_api.hpp:106
Dtk_API::DwgDtkReader
friend class DwgDtkReader
Definition: dtk_api.hpp:186
Dtk_API::AddSearchPath
Dtk_ErrorStatus AddSearchPath(const Dtk_SearchFileEnum::RecursivityEnum &inRecursivityEnum, const Dtk_string &inPath)
Add search path to find missing files.
DTK_BODYMODE_3DTOPOLOGY
@ DTK_BODYMODE_3DTOPOLOGY
Definition: dtk_api.hpp:29
Dtk_SearchFileEnum::RootFolderFirstRecursivity
@ RootFolderFirstRecursivity
Definition: dtk_api.hpp:48
Dtk_API::_InitData
Dtk_ErrorStatus _InitData(const Dtk_string &inTemporyDirectory, const Dtk_string &inClientCode)
LavaReader
Definition: dtk_Lava3mReader.hpp:5
Dtk_API::_CerecReader
static Dtk_Reader * _CerecReader
Definition: dtk_api.hpp:100
Dtk_API::GetConfig
Dtk_Config * GetConfig()
Dtk_SearchFileEnum::Disable
@ Disable
Definition: dtk_api.hpp:64
Dtk_API::SetBodyModePreference
void SetBodyModePreference(dtk_BodyMode inMode)
Set Body Topology Preference.
Dtk_API::IsExtraControlEnable
Dtk_bool IsExtraControlEnable()
Dtk_API::AddCurveLineTypeDefinitionInTable
Dtk_ID AddCurveLineTypeDefinitionInTable(const Dtk_LineTypeDefinitionPtr &inNewLineTypeDefinition)
NavisReader
Definition: dtk_NavisReader.hpp:7
Dtk_API::GetSearchPathForAssembly
Dtk_ErrorStatus GetSearchPathForAssembly(Dtk_tab< Dtk_string > &outPathArray, Dtk_tab< Dtk_bool > &outRecursiveFlagArray) const
DcmReader
Definition: dtk_DcmReader.hpp:20
UgReader
Definition: dtk_ugrReader.hpp:5
SwReader
Definition: dtk_swrReader.hpp:5
CreoviewReader
Definition: dtk_CreoviewReader.hpp:7
Dtk_API::_IgesReader
static Dtk_Reader * _IgesReader
Definition: dtk_api.hpp:85
Dtk_Reader
Definition: dtk_reader.hpp:15
Dtk_API::StartAPI
static Dtk_API * StartAPI(const Dtk_string &inTemporyDirectory, Dtk_ErrorStatus &outErrorCode, const Dtk_string &inCustomerID=Dtk_string())
Start DATAKIT API.
Dtk_API::_Zw3dReader
static Dtk_Reader * _Zw3dReader
Definition: dtk_api.hpp:126
CatiaV6Reader
Definition: dtk_Catiav6Reader.hpp:8
Dtk_API::_Lava3mReader
static Dtk_Reader * _Lava3mReader
Definition: dtk_api.hpp:104
StlReader
Definition: dtk_StlReader.hpp:13
Dtk_API::AddSearchPathForAssembly
Dtk_ErrorStatus AddSearchPathForAssembly(Dtk_string &inPath, Dtk_bool inRecursiveFlag)
Add search path to find missing files of assemblies.
Dtk_API::GetFileReaderType
DtkReaderType GetFileReaderType(const Dtk_string &inFileName)
Independant method to get DtkReaderType associated to inFileName.
Dtk_API::SetAbovePathSearchFlag
void SetAbovePathSearchFlag(Dtk_bool inActivationFlag)
Allow Above Search for files of assembly.
Dtk_API::GetNumMaterialInTable
Dtk_Size_t GetNumMaterialInTable() const
Dtk_API::GetMaterialInTable
Dtk_RenderInfosPtr GetMaterialInTable(Dtk_ID inId) const
Dtk_string
This is a high level string class.
Definition: dtk_string.hpp:58
Dtk_API::GetPhysicalMaterialInfosInTable
Dtk_PhysicalMaterialInfosPtr GetPhysicalMaterialInfosInTable(Dtk_ID inId) const
DwgReader
Definition: dtk_DwgReader.hpp:13
Dtk_API::AddSearchPathForFonts
Dtk_ErrorStatus AddSearchPathForFonts(const Dtk_string &inPath)
Add search path to find fonts.
Dtk_API::DxfReader
friend class DxfReader
Definition: dtk_api.hpp:162
Dtk_Size_t
size_t Dtk_Size_t
Definition: define.h:712
dtk_BodyMode
dtk_BodyMode
Definition: dtk_api.hpp:25
Dtk_API::_RnXmlReader
static Dtk_Reader * _RnXmlReader
Definition: dtk_api.hpp:105
ProCeraReader
Definition: dtk_proceraReader.hpp:11
Dtk_API::_SmgReader
static Dtk_Reader * _SmgReader
Definition: dtk_api.hpp:118
SeReader
Definition: dtk_ugrReader.hpp:60
Dtk_API::_PlmXmlReader
static Dtk_Reader * _PlmXmlReader
Definition: dtk_api.hpp:103
Dtk_API::GetInvalidLicenseList
Dtk_ErrorStatus GetInvalidLicenseList(Dtk_tab< Dtk_string > &outList)
Returns List of Failed Licence ever checked.
Dtk_API::_CgrReader
static Dtk_Reader * _CgrReader
Definition: dtk_api.hpp:95
dtkDumpTypeError
int dtkDumpTypeError(Dtk_Int32 errNumero, Dtk_string inMyDumpFile)
Dtk_API::EndComponent
Dtk_ErrorStatus EndComponent(Dtk_ComponentPtr &inComponent)
EndComponent.
Dtk_API::_CurrentAPI
static Dtk_API * _CurrentAPI
Definition: dtk_api.hpp:79
Dtk_LogPtr
Dtk_SmartPtr< Dtk_Log > Dtk_LogPtr
Definition: dtk_api.hpp:17
Dtk_API::OpenDocument
Dtk_ErrorStatus OpenDocument(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)
Open a Document (call EndDocument to close it)
DTK_FALSE
#define DTK_FALSE
Definition: define.h:728
Dtk_bool
char Dtk_bool
Definition: define.h:725
Dtk_API::GetWorkingDir
const Dtk_string & GetWorkingDir() const
Dtk_API::_DstvReader
static Dtk_Reader * _DstvReader
Definition: dtk_api.hpp:122
Dtk_API::PrcReader
friend class PrcReader
Definition: dtk_api.hpp:180
PlmXmlReader
Definition: dtk_PlmXmlReader.hpp:5
Dtk_API::ActivateSplitForPeriodicFaces
void ActivateSplitForPeriodicFaces()
Split Periodic Faces when we read a model.
IfcReader
Definition: dtk_IfcReader.hpp:5
Dtk_API::_Init
void _Init()
Dtk_API::_PrcReader
static Dtk_Reader * _PrcReader
Definition: dtk_api.hpp:119
Dtk_API::SetSchemaDir
Dtk_ErrorStatus SetSchemaDir(const Dtk_string &inSchemaDir)
Set Schema Directory needed for Unigraphics, Parasolid, Solidedge, Solidworks and Jt readers.
Dtk_API::ActivateSearchFileEngine
void ActivateSearchFileEngine()
Dtk_API::ClearSearchPathForAssembly
Dtk_ErrorStatus ClearSearchPathForAssembly()
Clear Search Path initialised with AddSearchPathForAssembly.
DtkReaderType
DtkReaderType
Definition: dtk_maindoc.hpp:29
ProeReader
Definition: dtk_proerReader.hpp:19
PsReader
Definition: dtk_PsReader.hpp:10
Dtk_SearchFileEnum::RecursivityEnum
RecursivityEnum
Definition: dtk_api.hpp:46
Dtk_API::LoadConfigFile
Dtk_ErrorStatus LoadConfigFile(const Dtk_string &inConfigFile)
Dtk_API::AddMaterialInTable
Dtk_ID AddMaterialInTable(const Dtk_RenderInfosPtr &inNewRenderInfos)
RevitReader
Definition: dtk_RevitReader.hpp:8
Dtk_API::_DcmReader
static Dtk_Reader * _DcmReader
Definition: dtk_api.hpp:99
Dtk_API::OpenDocumentGraphic
Dtk_ErrorStatus OpenDocumentGraphic(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)
Open a Document for graphical representation(call EndDocument to close it)
Dtk_API::DstvReader
friend class DstvReader
Definition: dtk_api.hpp:183
Dtk_API::GetSchemaDir
const Dtk_string & GetSchemaDir() const
BRepOccReader
Definition: dtk_BRepOccReader.hpp:10
Dtk_API::GetLog
const Dtk_LogPtr & GetLog()
Dtk_API::_Private
Dtk_Handle * _Private
Definition: dtk_api.hpp:77
Dtk_API::_V5Reader
static Dtk_Reader * _V5Reader
Definition: dtk_api.hpp:82
Dtk_API::IsNewFdtReadActivated
Dtk_bool IsNewFdtReadActivated()
Dtk_API::Dtk_MainDocWrapper
friend class Dtk_MainDocWrapper
Definition: dtk_api.hpp:138
Dtk_API::ArtReader
friend class ArtReader
Definition: dtk_api.hpp:178
Dtk_API::_QifReader
static Dtk_Reader * _QifReader
Definition: dtk_api.hpp:124
Dtk_API::ManageSearchFile
void ManageSearchFile(Dtk_SearchFileEnum::Status inStatus)
Dtk_API::GetAPI
static Dtk_API * GetAPI()
Get DATAKIT API.
Dtk_API::_IfcReader
static Dtk_Reader * _IfcReader
Definition: dtk_api.hpp:109
DTK_BODYMODE_UVSURFACIC
@ DTK_BODYMODE_UVSURFACIC
Definition: dtk_api.hpp:27
Dtk_GraphicalDataPtr
Dtk_SmartPtr< Dtk_GraphicalData > Dtk_GraphicalDataPtr
Definition: dtk_api.hpp:21
Dtk_API::_StlReader
static Dtk_Reader * _StlReader
Definition: dtk_api.hpp:113
Dtk_PreviewPtr
Dtk_SmartPtr< Dtk_Preview > Dtk_PreviewPtr
Definition: dtk_api.hpp:19
Dtk_API::GetSearchPathForFonts
Dtk_ErrorStatus GetSearchPathForFonts(Dtk_tab< Dtk_string > &outPathArray) const
CerecReader
Definition: dtk_CerecReader.hpp:5
XmtReader
Definition: dtk_ugrReader.hpp:52
Dtk_API::_UgReader
static Dtk_Reader * _UgReader
Definition: dtk_api.hpp:87
Dtk_API::PopulateComponentsTree
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_string &inInputFile, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
Dtk_API::SetWorkingDir
Dtk_ErrorStatus SetWorkingDir(const Dtk_string &inWorkingDir)
Change TemporyDirectory.
Dtk_API::_Reset
void _Reset()
Dtk_API::ActivateDialogBox
void ActivateDialogBox()
VdaReader
Definition: dtk_VdaReader.hpp:10
Dtk_API::_ArtReader
static Dtk_Reader * _ArtReader
Definition: dtk_api.hpp:117
Dtk_SearchFileEnum::Status
Status
Definition: dtk_api.hpp:62
Dtk_Node
This is the Node Class The Dtk_Node object is used to retrieve informations in a Dtk_ComponentPtr obj...
Definition: dtk_maindoc.hpp:230
Dtk_Int32
int32_t Dtk_Int32
Definition: define.h:687
dtk_maindoc_ptr.hpp
_3dmReader
Definition: dtk_3dmreader.hpp:10
Dtk_Preview
This is the Dtk_Preview class.
Definition: util_ent_dtk.hpp:688
Dtk_API::AddBuildingMaterialInTable
Dtk_ID AddBuildingMaterialInTable(const Dtk_BuildingMaterialPtr &inNewBuildingMaterial)
Dtk_API::BreakApi
void BreakApi()
Dtk_API::WriteInLogFile
Dtk_ErrorStatus WriteInLogFile(const char *inString)
CerconReader
Definition: dtk_cerconReader.hpp:11
Dtk_SearchFileEnum::AdditionalPathSearch
@ AdditionalPathSearch
Definition: dtk_api.hpp:55
Dtk_API::GetColorInTable
Dtk_ErrorStatus GetColorInTable(const Dtk_Int32 inIndex, Dtk_RGB &outColor)
GetColor in API Lut form index.
JtReader
Definition: dtk_JtReader.hpp:8
Dtk_API::_NavisReader
static Dtk_Reader * _NavisReader
Definition: dtk_api.hpp:123
error_dtk.hpp
Dtk_API::DesactivateDrawingRead
void DesactivateDrawingRead()
Desactivate Drawing read.
Dtk_API::Zw3dReader
friend class Zw3dReader
Definition: dtk_api.hpp:187
Dtk_API::ActivateNewFdtRead
void ActivateNewFdtRead()
From V73 Activate New Fdt read (One Dtk_Node per FDT)
Dtk_ErrorStatus
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_API::GetVersion
Dtk_string GetVersion() const
GetVersion of DatakitLibs.
Dtk_API::Dtk_APIContext
friend class Dtk_APIContext
Definition: dtk_api.hpp:137
Dtk_API::Dtk_API
Dtk_API()
Dtk_API::_DwgDtkReader
static Dtk_Reader * _DwgDtkReader
Definition: dtk_api.hpp:125
Dtk_API::SetSearchPositionMode
Dtk_ErrorStatus SetSearchPositionMode(Dtk_Int32 inPosition, Dtk_SearchFileEnum::PriorityModeEnum inSearchEnum)
Set Search Position.
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
dtk_maindoc.hpp
dtkTypeError
Dtk_string dtkTypeError(Dtk_Int32 errNumero)
Dtk_SearchFileEnum::LocalSearch
@ LocalSearch
Definition: dtk_api.hpp:53
Dtk_API::GetBodyModePreference
dtk_BodyMode GetBodyModePreference()
Dtk_API::GetBuildingMaterialInTable
Dtk_BuildingMaterialPtr GetBuildingMaterialInTable(Dtk_ID inId) const
Dtk_API::ForceUpdateAssembly
void ForceUpdateAssembly()
Force to update the intern assembly definition by extern definition.
Dtk_API::IsReversedRevolutionActivated
Dtk_bool IsReversedRevolutionActivated()
Dtk_API::WriteInLogFile
Dtk_ErrorStatus WriteInLogFile(const Dtk_string &inString)
CatiaV5Reader
Definition: dtk_Catiav5Reader.hpp:8
Dtk_API::SetInternalReadPathSearchFlag
void SetInternalReadPathSearchFlag(Dtk_bool inActivationFlag)
Allow Internal Read Path Search for files of assembly.
ObjReader
Definition: dtk_objreader.hpp:10
Dtk_GraphicalData
This is the Dtk_GraphicalData Class. The Dtk_GraphicalDataPtr object is used to store preview data It...
Definition: dtk_graphical.hpp:27
Dtk_API::GetNumPhysicalMaterialInfosInTable
Dtk_Size_t GetNumPhysicalMaterialInfosInTable() const
Dtk_API::_FbxReader
static Dtk_Reader * _FbxReader
Definition: dtk_api.hpp:114
Dtk_API::_XmtReader
static Dtk_Reader * _XmtReader
Definition: dtk_api.hpp:88
Dtk_SearchFileEnum::PriorityModeEnum
PriorityModeEnum
Definition: dtk_api.hpp:52
Dtk_SearchFileEnum::AbovePathSearch
@ AbovePathSearch
Definition: dtk_api.hpp:58
Dtk_SearchFileEnum::NoRecursivity
@ NoRecursivity
Definition: dtk_api.hpp:47
Dtk_API::SdnfReader
friend class SdnfReader
Definition: dtk_api.hpp:176
Dtk_API::ActivateFeaturesRead
void ActivateFeaturesRead(Dtk_Int32 inForceFeatureData=DTK_FALSE)
Activate Features read.
Dtk_API::SetControlOnExtraModule
void SetControlOnExtraModule(Dtk_bool inControl)
Disable/Enable Control for extra module.
Dtk_API::_V4Reader
static Dtk_Reader * _V4Reader
Definition: dtk_api.hpp:86
InvReader
Definition: dtk_invrReader.hpp:13
Dtk_API::_XmlReader
static Dtk_Reader * _XmlReader
Definition: dtk_api.hpp:101
Dtk_SearchFileEnum::BelowPathSearch
@ BelowPathSearch
Definition: dtk_api.hpp:57
Dtk_API::GetCurveLineTypeDefinitionInTable
Dtk_LineTypeDefinitionPtr GetCurveLineTypeDefinitionInTable(const Dtk_ID inId) const
Dtk_API::_InvReader
static Dtk_Reader * _InvReader
Definition: dtk_api.hpp:84
util_stl_dtk.hpp
Dtk_API::IsDialogBoxActivated
Dtk_bool IsDialogBoxActivated()
IgesReader
Definition: dtk_IgesReader.hpp:14
util_ptr_dtk.hpp
DTK_BODYMODE_COMPLETETOPOLOGY
@ DTK_BODYMODE_COMPLETETOPOLOGY
Definition: dtk_api.hpp:28
define.h
Dtk_API::_DxfReader
static Dtk_Reader * _DxfReader
Definition: dtk_api.hpp:102
StepReader
Definition: dtk_StepReader.hpp:9
Dtk_API::AddEvaluationID
Dtk_ErrorStatus AddEvaluationID(Dtk_string inEvaluationID)
Add customer Id for evaluation.
Dtk_API::_ObjReader
static Dtk_Reader * _ObjReader
Definition: dtk_api.hpp:108
Dtk_API::GetRenderInfosInTable
Dtk_RenderInfosPtr GetRenderInfosInTable(Dtk_ID inId) const
Dtk_SearchFileEnum::RelativePathSearch
@ RelativePathSearch
Definition: dtk_api.hpp:56
FbxReader
Definition: dtk_FbxReader.hpp:14
SmgReader
Definition: dtk_SmgReader.hpp:7
Dtk_tab< Dtk_string >
Dtk_API::ActivateKeepKernelData
void ActivateKeepKernelData()
Keep Kernel Data option (see "How to use KeepKernelData option")
Dtk_SearchFileEnum::Enable
@ Enable
Definition: dtk_api.hpp:63
Dtk_API::_BRepOccReader
static Dtk_Reader * _BRepOccReader
Definition: dtk_api.hpp:110
Dtk_API::ClearSearchPriority
Dtk_ErrorStatus ClearSearchPriority()
Clear Search Priority.
Dtk_API::_VdaReader
static Dtk_Reader * _VdaReader
Definition: dtk_api.hpp:81
Dtk_API::SetAdditionnalPathSearchFlag
void SetAdditionnalPathSearchFlag(Dtk_bool inActivationFlag)
Allow Additionnal Path Search for files of assembly.
Dtk_API::GetNumRenderInfosInTable
Dtk_Size_t GetNumRenderInfosInTable() const
Dtk_SearchFileEnum
Definition: dtk_api.hpp:34
Dtk_SearchFileEnum::SubFolderFirstRecursivity
@ SubFolderFirstRecursivity
Definition: dtk_api.hpp:49
Dtk_API::StopAPI
static void StopAPI(Dtk_API *&inAPI, Dtk_bool inWriteTimeInLog=1)
Stop DATAKIT API.
Dtk_API::_SwReader
static Dtk_Reader * _SwReader
Definition: dtk_api.hpp:89
Dtk_API::_StepReader
static Dtk_Reader * _StepReader
Definition: dtk_api.hpp:93
Dtk_API::ReadComponentGraphic
Dtk_ErrorStatus ReadComponentGraphic(const Dtk_ComponentPtr &inComponent, Dtk_GraphicalDataPtr &outGraphicalData)
Read graphical data from Component (Call EndComponent to free data allocated)
Dtk_API::SetRelativePathSearchFlag
void SetRelativePathSearchFlag(Dtk_bool inActivationFlag)
Allow Relative Search for files of assembly.
IsDtkApiBroken
Dtk_bool IsDtkApiBroken()
Dtk_API::_DwgReader
static Dtk_Reader * _DwgReader
Definition: dtk_api.hpp:107
Dtk_API::_F3dReader
static Dtk_Reader * _F3dReader
Definition: dtk_api.hpp:120
Dtk_API::IsSearchFileEngineActivated
Dtk_bool IsSearchFileEngineActivated()
Dtk_Component
This is the Component Class. The Dtk_ComponentPtr object is used as element into an assembly tree....
Definition: dtk_maindoc.hpp:563
CaddsReader
Definition: dtk_CaddsReader.hpp:14
dtk_string.hpp
Dtk_API::_V6Reader
static Dtk_Reader * _V6Reader
Definition: dtk_api.hpp:83
Dtk_API::GetFilePreview
Dtk_ErrorStatus GetFilePreview(const Dtk_string &inInputFile, Dtk_PreviewPtr &outPreview)
Independant method to get preview of inInputFile.
Dtk_API::GetFileVersion
Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string &outVersion)
Independant method to get version of inInputFile.
Dtk_API::_RevitReader
static Dtk_Reader * _RevitReader
Definition: dtk_api.hpp:111
Dtk_API::_GltfReader
static Dtk_Reader * _GltfReader
Definition: dtk_api.hpp:121
Dtk_API::DeactivateFlexlmCall
static void DeactivateFlexlmCall()
Deactivate FlexlmCall.
Dtk_API::DeactivateSearchFileEngine
void DeactivateSearchFileEngine()
Dtk_API::_SdnfReader
static Dtk_Reader * _SdnfReader
Definition: dtk_api.hpp:115
Dtk_API::AddPhysicalMaterialInfosInTable
Dtk_ID AddPhysicalMaterialInfosInTable(const Dtk_PhysicalMaterialInfosPtr &inNewMaterialInfos)
Dtk_API::ActivateSplitForMultiTurnsFaces
void ActivateSplitForMultiTurnsFaces()
Split Multi Turns Faces when we read a model.
Dtk_API::~Dtk_API
virtual ~Dtk_API()
dtk_rgb.hpp
Dtk_API::ReadComponent
Dtk_ErrorStatus ReadComponent(const Dtk_ComponentPtr &inComponent, Dtk_NodePtr &outRootNode)
Read Component from Assembly Tree (Call EndComponent to free data allocated)
Dtk_API::WriteInDebugFile
Dtk_ErrorStatus WriteInDebugFile(const Dtk_string &inString)
Dtk_RGB
Definition: dtk_rgb.hpp:7
CatiaV4Reader
Definition: dtk_Catiav4Reader.hpp:10
SolidEdgeReader
Definition: dtk_sereader.hpp:5
Dtk_API::GetNumBuildingMaterialInTable
Dtk_Size_t GetNumBuildingMaterialInTable() const
Dtk_API::SetLogFile
Dtk_ErrorStatus SetLogFile(const Dtk_string &inLogFile)
Set Log File.
Dtk_SearchFileEnum::~Dtk_SearchFileEnum
~Dtk_SearchFileEnum()
Definition: dtk_api.hpp:40
CgrReader
Definition: dtk_cgrrReader.hpp:5
Dtk_API::SetReadCustomAttribut
void SetReadCustomAttribut(Dtk_bool bRead)
read customers attribut
Dtk_API::_CreoviewReader
static Dtk_Reader * _CreoviewReader
Definition: dtk_api.hpp:112
GltfReader
Definition: dtk_GltfReader.hpp:6
Dtk_API::_CaddsReader
static Dtk_Reader * _CaddsReader
Definition: dtk_api.hpp:96
Dtk_API::LoadConfigFile
Dtk_ErrorStatus LoadConfigFile(FILE *inConfigFile)
AcisReader
Definition: dtk_sabrReader.hpp:9
QifReader
Definition: dtk_QifReader.hpp:7
Dtk_API
Definition: dtk_api.hpp:75
Dtk_API::_JtReader
static Dtk_Reader * _JtReader
Definition: dtk_api.hpp:92
Dtk_API::GetColorTable
Dtk_ColorTable * GetColorTable()
Dtk_API::SetLocalPathSearchFlag
void SetLocalPathSearchFlag(Dtk_bool inActivationFlag)
Allow Local Path Search for files of assembly.