![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
See all dependencies between our libs and system libs :
See used
See Samples
Dtk_ErrorStatus EndDocument(Dtk_MainDocPtr &inoutDocument)
Close a Document.
void WriteColorPalette(Dtk_NodePtr inNode)
Definition: WriteColorPalette.cpp:5
void WriteModelDisplay(Dtk_NodePtr inNode)
Definition: WriteModelDisplay.cpp:5
uint32_t Dtk_ID
Definition: define.h:689
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
void PdfWriteEntity(Dtk_EntityPtr inEntity)
Definition: PdfWrite.cpp:173
This is a high level face class.
Definition: util_mesh_dtk.hpp:870
Dtk_string GetName() const
Retrieves the entity name.
Dtk_ErrorStatus Dtk_DumpXml_Dtk_MetadataPtr(FILE *F, const Dtk_MetaDataPtr &inObject)
Definition: util_xml_dtk.cpp:4744
Dtk_ModelDisplayPtr GetDtk_ModelDisplayPtr()
Retrieves the Dtk_Node as a Dtk_ModelDisplayPtr - if exists -.
int GetBlankedStatus() const
Retrieves the entity Blanked Status.
@ FdtType
Definition: dtk_maindoc.hpp:251
@ CatalogComponentType
Definition: dtk_maindoc.hpp:579
int GetInfiniteGeometryFlag() const
void XmlWriteMesh(const Dtk_MeshPtr &inMeshToWrite)
Definition: XmlWrite.cpp:63
void tess_set_optimize_mesh(int ival)
: Activate or not the optimization of the vertex map
@ dtkErrorFileNotExist
Definition: error_dtk.hpp:95
Dtk_bool IsNotNULL() const
Definition: util_ptr_dtk.hpp:119
void XmlInitComponent(Dtk_ComponentPtr inComponent)
Definition: XmlWrite.cpp:50
void XmlWriteDrawing(const Dtk_DrawingPtr &inDrawing)
Definition: XmlWrite.cpp:94
void XmlWriteMetaData(const Dtk_MetaDataPtr &inMetaData)
Definition: XmlWrite.cpp:130
Dtk_bool toDumpFeatures
Definition: WriteFeature.cpp:5
void WriteDtk_Mesh(const Dtk_MeshPtr &inMeshToWrite)
Definition: WriteMesh.cpp:8
void tess_set_Ratio(double tol)
: define a ratio
void XmlEndComponent()
Definition: XmlWrite.cpp:57
void XmlWriteFeature(const Dtk_FeaturePtr &inFeature)
Definition: XmlWrite.cpp:112
Dtk_ErrorStatus tess_ShellToMesh(const Dtk_ShellPtr &inShell, Dtk_MeshPtr &outMesh, Dtk_Int32 *outIsSolid)
: Make Tesselation from a Dtk_shell and create a Dtk_MeshPtr if available
void PdfWriteMetaData(Dtk_ComponentPtr inComponent)
Definition: PdfWrite.cpp:117
NodeDataTypeEnum
Definition: dtk_maindoc.hpp:246
void XmlWriteGlobalDataSet(const Dtk_GlobalDataSetPtr &inSelectionSet)
Definition: XmlWrite.cpp:124
@ ModelDisplayType
Definition: dtk_maindoc.hpp:258
void WriteDrawing(Dtk_NodePtr inNode)
Definition: WriteDrawing.cpp:4
uint32_t Dtk_UInt32
Definition: define.h:688
This is a high level string class.
Definition: dtk_string.hpp:58
Dtk_ErrorStatus WriteDocument(Dtk_MainDocPtr inDocument)
Definition: WriteDocument.cpp:12
void PdfEndInstance(Dtk_ID pdfInstID, Dtk_ID childID)
Definition: PdfWrite.cpp:108
size_t Dtk_Size_t
Definition: define.h:712
Dtk_RGB GetColor() const
Retrieves the entity color as Dtk_RGBA values.
@ KinematicsType
Definition: dtk_maindoc.hpp:253
int GetActivationFlag() const
const Dtk_tab< Dtk_UInt32 > * get_polyline_indices(Dtk_Size_t inI) const
Get inI-th polygon.
void XmlWriteConstraint(const Dtk_ConstraintPtr &inConstraint)
Definition: XmlWrite.cpp:74
Dtk_ErrorStatus Dtk_DumpXml_Dtk_NodePtr_End(FILE *F)
Definition: util_xml_dtk.cpp:4554
Dtk_ErrorStatus XmlWriteInit(Dtk_string inInputFile, const Dtk_string &inOutputFolder)
Definition: XmlWrite.cpp:22
Dtk_bool toDumpPDF
Definition: PdfWrite.cpp:14
void ActivateFeatureDump(Dtk_bool inDumpFeature)
Definition: WriteFeature.cpp:7
@ BodyType
Definition: dtk_maindoc.hpp:248
@ CameraType
Definition: dtk_maindoc.hpp:259
Dtk_ErrorStatus EndComponent(Dtk_ComponentPtr &inComponent)
EndComponent.
Dtk_ErrorStatus OpenDocument(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)
Open a Document (call EndDocument to close it)
#define DTK_FALSE
Definition: define.h:728
Dtk_CameraPtr GetDtk_CameraPtr()
Retrieves the Dtk_Node as a Dtk_CameraPtr - if exists -.
char Dtk_bool
Definition: define.h:725
FILE * OpenFile(const Dtk_string &inRights) const
File Utility : Open a file with the given rights.
Dtk_ErrorStatus WriteComponent(Dtk_ComponentPtr inComponent, const Dtk_transfo &inMatrix=Dtk_transfo())
Definition: WriteComponent.cpp:9
void PdfEndNode()
Definition: PdfWrite.cpp:168
Dtk_ErrorStatus Dtk_DumpXml_Dtk_NodePtr_Init(FILE *F, const Dtk_NodePtr &inObject)
Definition: util_xml_dtk.cpp:4457
void WriteFeature(Dtk_NodePtr inNode)
Definition: WriteFeature.cpp:13
void WritePrototype(Dtk_ComponentPtr inComponent, const Dtk_transfo &inMatrix)
Definition: WritePrototype.cpp:14
Dtk_ErrorStatus SetSchemaDir(const Dtk_string &inSchemaDir)
Set Schema Directory needed for Unigraphics, Parasolid, Solidedge, Solidworks and Jt readers.
Dtk_AxisSystemPtr GetDtk_AxisSystemPtr()
Retrieves the Dtk_Node as a Dtk_AxisSystemPtr - if exists -.
void WriteMesh(Dtk_NodePtr inNode)
Definition: WriteMesh.cpp:80
@ VirtualComponentType
Definition: dtk_maindoc.hpp:580
const Dtk_NodePtr GetChild(const Dtk_Size_t &inPos) const
Retrieves the ith Dtk_Node - read only -.
Definition: dtk_maindoc.hpp:385
Dtk_ErrorStatus Dtk_DumpXml_Dtk_NodeConnector(FILE *inFile, const Dtk_NodeConnectorPtr &inNodeConnector)
Definition: util_xml_dtk.cpp:6646
int tess_InitTesselation(Dtk_string inWorkingDirectory, double inTolerance)
Init the tesselation library.
Dtk_Size_t get_nbpolylines() const
Get the number of polylines kept in the class instance.
Dtk_LayerInfosSetPtr GetDtk_LayerInfosSetPtr()
Retrieves the Dtk_Node as a Dtk_LayerInfosSetPtr - if exists -.
void WriteConstraints(Dtk_NodePtr inNode)
Definition: WriteConstraints.cpp:5
Dtk_ErrorStatus Dtk_DumpXml_Dtk_SelectionSet(FILE *F, const Dtk_SelectionSetPtr &inSelectionSet)
Definition: util_xml_dtk.cpp:6725
void XmlWriteFdt(const Dtk_FdtPtr &inFdt)
Definition: XmlWrite.cpp:106
@ InstanceComponentType
Definition: dtk_maindoc.hpp:577
Dtk_ErrorStatus GetAssociatedEntities(Dtk_tab< Dtk_NodeConnectorPtr > &outAssociatedEntities)
Retrieves the entities associated to the Dtk_Node. They are retrieved via Dtk_NodeConnectorPtr.
Dtk_bool is_not_NULL() const
NodeDataTypeEnum GetNodeType() const
Retrieves the Dtk_Node Node Type - read only -.
Dtk_DrawingPtr GetDtk_DrawingPtr()
Retrieves the Dtk_Node as a Dtk_DrawingPtr - if exists -.
static Dtk_API * GetAPI()
Get DATAKIT API.
void WriteFdt(Dtk_NodePtr inNode)
Definition: WriteFdt.cpp:7
void WriteCamera(Dtk_NodePtr inNode)
Definition: WriteCamera.cpp:5
void EnableReaders()
Definition: EnableReaders.cpp:12
const Dtk_string & Name() const
Retrieves the Dtk_DocElement Name - read only -.
void PdfInstanceExistingPrototype(Dtk_ID ComponentIndex)
Definition: PdfWrite.cpp:138
void PdfEndWrite(const Dtk_string &inInputFile)
Definition: PdfWrite.cpp:80
void WriteKinematics(Dtk_NodePtr inNode)
Definition: WriteKinematics.cpp:5
int tess_ComputeNormalesFromSurface()
: Check value of option compute normales of vertex from real surface
Dtk_ID PdfInitNode(Dtk_NodePtr inNode)
Definition: PdfWrite.cpp:156
int32_t Dtk_Int32
Definition: define.h:687
void XmlWriteAxisSystem(const Dtk_AxisSystemPtr &inAxis)
Definition: XmlWrite.cpp:88
@ MetaDataType
Definition: dtk_maindoc.hpp:257
Dtk_ConstraintPtr GetDtk_ConstraintPtr()
Retrieves the Dtk_Node as a Dtk_ConstraintPtr - if exists -.
const Dtk_UInt32 * get_triangle_indices(Dtk_Size_t inI) const
Get pointer of triangle indices of i-th triangle.
ComponentTypeEnum
Definition: dtk_maindoc.hpp:576
FILE * Dtk_DumpXml_GetFile()
Definition: util_xml_dtk.cpp:4865
@ ConstraintType
Definition: dtk_maindoc.hpp:261
Dtk_InfoPtr GetInfos() const
Retrieves the Dtk_DocElement Dtk_InfoPtr - read only -.
Dtk_ErrorStatus XmlWriteEnd()
Definition: XmlWrite.cpp:39
static Dtk_SmartPtr< Dtk_Entity > DtkDynamicCast(const Dtk_SmartPtr< T2 > &p)
Definition: util_ptr_dtk.hpp:101
int GetLayer() const
Retrieves the entity layer.
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_bool IsNULL() const
Definition: util_ptr_dtk.hpp:118
Dtk_Size_t GetNumChildren() const
Retrieves the number of the Dtk_DocElement children - read only -.
Dtk_ErrorStatus WriteInstance(Dtk_ComponentPtr inComponent, const Dtk_transfo &inMatrix)
Definition: WriteInstance.cpp:14
Dtk_transfo CurrentMatrix
Definition: WritePrototype.cpp:11
Dtk_RenderInfosPtr GetRenderInfos() const
Retrieves the entity RenderInfos of the entity.
@ LayerInfosSetType
Definition: dtk_maindoc.hpp:255
Definition: util_ptr_dtk.hpp:37
Dtk_string dtkTypeError(Dtk_Int32 errNumero)
NodeType
Type of Specification Tree Node used into a CATPart file.
Definition: catiav5w.hpp:426
const char * c_str() const
Retrieve the ASCII conversion string.
Dtk_MetaDataPtr GetDtk_MetaDataPtr()
Retrieves the Dtk_Node as a Dtk_FdtAnnotationSetPtr - if exists -.
void XmlWriteBody(const Dtk_BodyPtr &inBody)
Definition: XmlWrite.cpp:118
Dtk_ID PdfInitInstance(Dtk_ComponentPtr inComponent)
Definition: PdfWrite.cpp:90
This is a mathematical point class.
Definition: dtk_pnt.hpp:22
type_detk
Definition: define.h:32
Dtk_tab< Dtk_ID > ComponentProcessed
Definition: WritePrototype.cpp:12
int GetTesselationStatus()
Definition: TesselationEngine.cpp:8
Dtk_Size_t get_nbtriangles() const
Get the number of simple triangles kept in the class instance.
Dtk_MeshPtr GetDtk_MeshPtr()
Retrieves the Dtk_Node as a Dtk_meshPtr - if exists -.
Dtk_ErrorStatus tess_BodyToMeshes(const Dtk_BodyPtr &inBodyToWrite, Dtk_tab< Dtk_MeshPtr > &outMeshes, Dtk_tab< Dtk_Int32 > &outIsSolid, Dtk_bool inTessWireframe=DTK_FALSE, Dtk_bool inApplyRenderInfos=DTK_FALSE)
: Make Tesselation from a Dtk_body and create a Set of Dtk_mesh if available
Dtk_ErrorStatus Dtk_DumpXml_Dtk_RenderInfos(FILE *F, const Dtk_RenderInfosPtr &inRender)
Definition: util_xml_dtk.cpp:3557
Dtk_ErrorStatus ProcessCADFile(const Dtk_string &inInputFile, const Dtk_string &inOutputFolder)
Definition: OpenDocument.cpp:18
void WriteNodeConnector(Dtk_NodePtr inNode)
Definition: WriteNodeConnector.cpp:5
int tess_ComputeBoundariesFromMesh()
: Check value of option memorize noundaries of mesh
This is a high level array class.
Definition: util_stl_dtk.hpp:85
void WriteLayerFilter(Dtk_NodePtr inNode)
Definition: WriteLayerFilter.cpp:5
Dtk_Size_t size() const
Returns the size of the array.
Definition: util_stl_dtk.hpp:502
Dtk_FdtPtr GetDtk_FdtPtr()
Retrieves the Dtk_Node as a Dtk_FdtPtr - if exists -.
void tess_set_angular(double angle)
: Set angle for cord heigh ratio method
Dtk_ErrorStatus SetSchemaDirectory(Dtk_API *inoutMyApi)
Definition: EnableReaders.cpp:78
void tess_EndTesselation()
Free the data used by tesselation library.
Dtk_ColorInfosSetPtr GetDtk_ColorInfosSetPtr()
Retrieves the Dtk_Node as a Dtk_ColorInfosSetPtr - if exists -.
@ PrototypeComponentType
Definition: dtk_maindoc.hpp:578
Dtk_FeaturePtr GetDtk_FeaturePtr()
Retrieves the Dtk_Node as a Dtk_FeaturePtr - if exists -.
@ ColorInfosSetType
Definition: dtk_maindoc.hpp:256
Dtk_bool IsXmlDumpActivated()
Definition: XmlWrite.cpp:17
@ ComponentMissing
Definition: dtk_maindoc.hpp:567
int len() const
Retrieve the length of the Dtk_string.
Dtk_ErrorStatus PdfInitWrite(const Dtk_string &inInputFileName, const Dtk_string &inOutputFolder)
Definition: PdfWrite.cpp:31
void WriteAxisSystem(Dtk_NodePtr inNode)
Definition: WriteAxisSystem.cpp:8
Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string &outVersion)
Independant method to get version of inInputFile.
void XmlWriteColorPalette(const Dtk_ColorInfosSetPtr &inColorInfos)
Definition: XmlWrite.cpp:81
@ dtkNoError
Definition: error_dtk.hpp:140
void push_back(const T &x)
Inserts an element at the end of the array.
Definition: util_stl_dtk.hpp:415
Dtk_ErrorStatus ReadComponent(const Dtk_ComponentPtr &inComponent, Dtk_NodePtr &outRootNode)
Read Component from Assembly Tree (Call EndComponent to free data allocated)
Dtk_ErrorStatus WriteNode(Dtk_NodePtr inNode)
Definition: WriteNode.cpp:16
Definition: dtk_rgb.hpp:7
@ DrawingType
Definition: dtk_maindoc.hpp:252
void WriteBody(Dtk_NodePtr inNode)
Definition: WriteBody.cpp:13
Dtk_ErrorStatus SetLogFile(const Dtk_string &inLogFile)
Set Log File.
@ AxisSystemType
Definition: dtk_maindoc.hpp:254
void XmlWriteCamera(const Dtk_CameraPtr &inCamera)
Definition: XmlWrite.cpp:100
This is a mathematical direction class.
Definition: dtk_dir.hpp:15
Dtk_bool IsPdfDumpActivated()
Definition: PdfWrite.cpp:26
type_detk GetNodeSubType() const
Retrieves the Node SubType - if relevant - - read only -.
Dtk_PreviewPtr GetPreview() const
Retrieves the Dtk_DocElement Dtk_PreviewPtr - read only -.
@ dtkErrorNullPointer
Definition: error_dtk.hpp:23
@ MeshType
Definition: dtk_maindoc.hpp:249
Dtk_BodyPtr GetDtk_BodyPtr()
Retrieves the Dtk_Node as a Dtk_BodyPtr - if exists -.
void tess_set_linear(double tol)
: Set tolerance for linear tolerance method
Definition: dtk_api.hpp:75
void PdfEndComponent()
Definition: PdfWrite.cpp:151
Dtk_ID PdfInitComponent(Dtk_ComponentPtr inComponent)
Definition: PdfWrite.cpp:143
void XmlWriteLayerFilter(const Dtk_LayerInfosSetPtr &inLayerInfos)
Definition: XmlWrite.cpp:136
Dtk_ErrorStatus Dtk_DumpXml_Dtk_ModelDisplayPtr(FILE *F, const Dtk_ModelDisplayPtr &inVal)
Definition: util_xml_dtk.cpp:3112