 |
DATAKIT API
V2025.3
|
|
Go to the documentation of this file.
4 #ifndef _DTK_STEP_READER_H_
5 #define _DTK_STEP_READER_H_
131 class StepReader_Handle;
143 int stepr_SetParseMode (const
int inModeReader);
147 int stepr_SetComponentNameMode (const
int inModeName);
151 int stepr_SetModeReadFDT(const
int inMode);
155 int stepr_SetModeProperty (const
int inMode);
159 int stepr_SetReadExtendedAsciiMode (const
int inModeExtAscii);
static Dtk_ErrorStatus SetComponentNameMode(const int inModeName)
Select Mode to give priority to specific STEP PRODUCT fields for Dtk_Component naming.
Dtk_ErrorStatus ReadAdditionalInfos(Dtk_Node &inNode, Dtk_ObjectPtr &outEntity)
static Dtk_ErrorStatus SetModeReadFDT(const int inMode)
Activates/Deactivates Reading of FDT.
Dtk_ErrorStatus ReadEntity(Dtk_Node &inNode, Dtk_EntityPtr &outEntity)
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_tab< Dtk_StreamPtr > &inArrayStream, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
static Dtk_ErrorStatus SetModeOrphanBody(const int inMode)
Set Mode to read orphan bodies (not belonging to a product), depending on the product structure of th...
Dtk_ErrorStatus EndPopulateComponentsTree()
Definition: dtk_reader.hpp:15
static Dtk_ErrorStatus SetParseMode(const int inModeReader)
Select Parsing Mode on Reading.
This is a high level string class.
Definition: dtk_string.hpp:58
static Dtk_ErrorStatus SetModeColorUnlisted(const int inMode)
Set Mode to read colors not correctly defined (that is, not in a list).
StepReader_Handle * _Private
Definition: dtk_StepReader.hpp:131
char Dtk_bool
Definition: define.h:725
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_string &inInputFile, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
Dtk_ErrorStatus GetAssociatedEntities(Dtk_Node &inNode, Dtk_tab< Dtk_NodeConnectorPtr > &outAssociatedEntities)
Dtk_ErrorStatus GetConnectorsPointingToThisComponent(Dtk_Component &inCompo, Dtk_tab< Dtk_NodeConnectorPtr > &outConnectedEntities)
Dtk_ErrorStatus ReadComponent(const Dtk_ComponentPtr &inComponent, Dtk_NodePtr &outRootNode)
Dtk_ErrorStatus ActivateReader()
static Dtk_ErrorStatus SetAllowReadInvalidFiles(const Dtk_bool inMode)
Define if we should try to process potentially corrupted file.
Dtk_ErrorStatus DesactivateReader()
SetAsDeprecated("2022.2", "Use StepReader::SetParseMode method instead.") int stepr_SetParseMode(const int inModeReader)
Dtk_ErrorStatus InitReader(const Dtk_string &inInputFile)
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
static Dtk_ErrorStatus SetLayerDescriptionMode(const Dtk_bool inMode)
Select Mode to get Description of Layer added to its name.
static Dtk_ErrorStatus SetModePropagateColor(const Dtk_bool inMode)
Set Mode to propagate colors of a body (solid, surfacic ..) to its faces.
Dtk_ErrorStatus CreateDocument(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Definition: util_ptr_dtk.hpp:37
Definition: dtk_StepReader.hpp:9
static Dtk_ErrorStatus SetReadExtendedAsciiMode(const int inMode)
Set mode to choose the code page or encoding to be used in case of non-standard ASCII characters enco...
This is a high level array class.
Definition: util_stl_dtk.hpp:85
Dtk_ErrorStatus EndComponent(Dtk_ComponentPtr &inComponent)
This is the Component Class. The Dtk_ComponentPtr object is used as element into an assembly tree....
Definition: dtk_maindoc.hpp:563
Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string &outVersion)
static Dtk_ErrorStatus SetModeProperty(const int inModeProp, const int inModeValProp=0)
Set Mode to read properties and attributes (PROPERTY_DEFINITION), and to compute Validation Propertie...