![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
Go to the documentation of this file. 1 #ifndef _UTIL_PROER_READER_HPP_
2 #define _UTIL_PROER_READER_HPP_
7 void proer_allowFileSwap();
13 void proer_SetCreateConicEdges( const
Dtk_bool inCreateConicEdges );
16 void proer_SetSurfaciqueMode( const
Dtk_bool inSurfaciqueMode );
21 class proerReader_Handle;
22 proerReader_Handle * _Private;
Dtk_ErrorStatus ActivateReader()
Dtk_ErrorStatus EndPopulateComponentsTree()
Dtk_ErrorStatus ReadComponentGraphic(const Dtk_ComponentPtr &inComponent, Dtk_GraphicalDataPtr &outGraphicalData)
static void GetDetailledMetadata(Dtk_bool inStatus)
Dtk_ErrorStatus ReadComponent(const Dtk_ComponentPtr &inComponent, Dtk_NodePtr &outRootNode)
Definition: dtk_reader.hpp:15
Dtk_ErrorStatus GetConnectorsPointingToThisComponent(Dtk_Component &inCompo, Dtk_tab< Dtk_NodeConnectorPtr > &outConnectedEntities)
Dtk_ErrorStatus GetAssociatedEntities(Dtk_Node &inNode, Dtk_tab< Dtk_NodeConnectorPtr > &outAssociatedEntities)
This is a high level string class.
Definition: dtk_string.hpp:58
static void SetCreateConicEdges(const Dtk_bool inCreateConicEdges)
Set the config to create or not conic on edge curves if possible.
static Dtk_bool GetFileSwapStatus()
static void SetAssemblyLvlGeomConfig(const Dtk_bool inStatus)
Set the config to retreive the final geometry of the component with assembly level feature (but only ...
char Dtk_bool
Definition: define.h:725
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_tab< Dtk_StreamPtr > &inArrayStream, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
Definition: dtk_proerReader.hpp:19
Dtk_ErrorStatus EndComponent(Dtk_ComponentPtr &inComponent)
static void GetAllMetadata(Dtk_bool inStatus)
This is the Node Class The Dtk_Node object is used to retrieve informations in a Dtk_ComponentPtr obj...
Definition: dtk_maindoc.hpp:230
int32_t Dtk_Int32
Definition: define.h:687
Dtk_ErrorStatus DesactivateReader()
static void SetDisable2dProjectionForShadedView(const Dtk_bool inDisableProjection)
Set the config to disable projection on shaded 2D view (allowing you to shade body by yourself)
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
static void SetFileSwapStatus(const Dtk_bool inFileSwap)
Set the config to Use file swap instead memory (usefull for large files)
Definition: util_ptr_dtk.hpp:37
Dtk_ErrorStatus ReadAdditionalInfos(Dtk_Node &inNode, Dtk_ObjectPtr &outEntity)
Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string &outVersion)
Dtk_ErrorStatus ReadEntity(Dtk_Node &inNode, Dtk_EntityPtr &outEntity)
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_string &inInputFile, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
static ProeReader * GetInstance()
This is a high level array class.
Definition: util_stl_dtk.hpp:85
SetAsDeprecated("2022.2", "Use ProeReader::SetFileSwap method instead.") void proer_allowFileSwap()
Dtk_ErrorStatus GetFilePreview(const Dtk_string &inInputFile, Dtk_PreviewPtr &outPreview)
static void SetSurfaciqueMode(const Dtk_bool inSurfaciqueMode)
This is the Component Class. The Dtk_ComponentPtr object is used as element into an assembly tree....
Definition: dtk_maindoc.hpp:563
Dtk_ErrorStatus CreateDocument(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)
Dtk_ErrorStatus CreateDocumentGraphical(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)