Inheritance diagram for StepReader:Public Types | |
| enum | FDTRepresentation { FDTRepresentation::GraphicalOnly = 0, FDTRepresentation::SemanticWithFrozenGraphicPriority = 1, FDTRepresentation::SemanticWithPlaceholderPriority = 2 } | 
Static Public Member Functions | |
| static Dtk_bool | Enable () | 
| static Dtk_ErrorStatus | SetAllowReadInvalidFiles (const Dtk_bool inMode) | 
| Define if we should try to process potentially corrupted file.  More... | |
| static Dtk_ErrorStatus | SetComponentNameMode (const int inModeName) | 
| Select Mode to give priority to specific STEP PRODUCT fields for Dtk_Component naming.  More... | |
| static Dtk_ErrorStatus | SetLayerDescriptionMode (const Dtk_bool inMode) | 
| Select Mode to get Description of Layer added to its name.  More... | |
| static Dtk_ErrorStatus | SetModeColorUnlisted (const int inMode) | 
| Set Mode to read colors not correctly defined (that is, not in a list).  More... | |
| static Dtk_ErrorStatus | SetModeFDTRepresentation (FDTRepresentation) | 
| Choose a representation mode for FDT. See FDTRepresentation enum for more details.  More... | |
| static Dtk_ErrorStatus | SetModeOrphanBody (const int inMode) | 
| Set Mode to read orphan bodies (not belonging to a product), depending on the product structure of the STEP file.  More... | |
| static Dtk_ErrorStatus | SetModePropagateColor (const Dtk_bool inMode) | 
| Set Mode to propagate colors of a body (solid, surfacic ..) to its faces.  More... | |
| static Dtk_ErrorStatus | SetModeProperty (const int inModeProp, const int inModeValProp=0) | 
| Set Mode to read properties and attributes (PROPERTY_DEFINITION), and to compute Validation Properties when present (result in the log file).  More... | |
| static Dtk_ErrorStatus | SetParseMode (const int inModeReader) | 
| Select Parsing Mode on Reading.  More... | |
| 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 encountered.  More... | |
Protected Member Functions | |
| void | _Init () | 
| void | _Reset () | 
| Dtk_ErrorStatus | _WriteInventoryInLogFile (Dtk_ID inID, int inNum, int *inCount, char **inEntitiesName) | 
| Dtk_ErrorStatus | InitReader (const Dtk_string &inInputFile) | 
Protected Attributes | |
| Dtk_string | _InputFile | 
| FILE * | _InputFilePtr | 
| StepReader_Handle * | _Private | 
      
  | 
  strong | 
| Enumerator | |
|---|---|
| GraphicalOnly | |
| SemanticWithFrozenGraphicPriority | |
| SemanticWithPlaceholderPriority | |
| StepReader::StepReader | ( | ) | 
      
  | 
  virtual | 
      
  | 
  protected | 
      
  | 
  virtualinherited | 
Reimplemented in GltfReader.
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  virtualinherited | 
Reimplemented in ProeReader, and GltfReader.
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  static | 
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  virtual | 
Reimplemented from Dtk_Reader.
      
  | 
  virtual | 
Reimplemented from Dtk_Reader.
      
  | 
  virtualinherited | 
Reimplemented in SolidEdgeReader, ProeReader, and _3dmReader.
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  protected | 
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  virtualinherited | 
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  virtualinherited | 
Reimplemented in StlReader, ProeReader, GltfReader, FbxReader, and CreoviewReader.
      
  | 
  virtual | 
Implements Dtk_Reader.
      
  | 
  static | 
Define if we should try to process potentially corrupted file.
| [in] | inMode | DTK_TRUE to allow invalid file reading, DTK_FALSE otherwise. | 
| StepReader::SetAsDeprecated | ( | "2025.4" | , | 
| "Use StepReader::SetModeFDTRepresentation method instead." | |||
| ) | const | 
Activates/Deactivates Reading of FDT.
| [in] | inMode | : 1 to read only FDT graphical information, 2 to read fully semantic FDT, and give priorirty to "frozen" graphics (3D tessellation, polylines), 3 to read fully semantic and give priorirty to the "placeholder" graphics | 
      
  | 
  static | 
Select Mode to give priority to specific STEP PRODUCT fields for Dtk_Component naming.
| [in] | inModeReader | : 0 to consider only PRODUCT.ID, 1 to give priority to PRODUCT.ID, over PRODUCT.NAME (if not empty), 2 to give priority to PRODUCT.NAME, over PRODUCT.ID (if not empty), 3 to concatenate PRODUCT.ID and PRODUCT.NAME (if different) | 
      
  | 
  static | 
Select Mode to get Description of Layer added to its name.
| [in] | inModeLayerName | : DTK_FALSE to deactivate this mode, DTK_TRUE otherwise. | 
      
  | 
  static | 
Set Mode to read colors not correctly defined (that is, not in a list).
| [in] | inMode | : 0 to ignore them, 1 to ignore them only if some colors are correctly defined, 2 to read them all. | 
      
  | 
  static | 
Choose a representation mode for FDT. See FDTRepresentation enum for more details.
| The | desired FDTRepresentation | 
      
  | 
  static | 
Set Mode to read orphan bodies (not belonging to a product), depending on the product structure of the STEP file.
| [in] | inMode | : 0 to ingore them , 1 to ignore them only if no product is defined, 2 to ignore them only if no product is defined, or several products are defined but no assembly, 3 to read them all. | 
      
  | 
  static | 
Set Mode to propagate colors of a body (solid, surfacic ..) to its faces.
| [in] | inMode | : DTK_TRUE to allow propagation, DTK_FALSE otherwise. | 
      
  | 
  static | 
Set Mode to read properties and attributes (PROPERTY_DEFINITION), and to compute Validation Properties when present (result in the log file).
| [in] | inModeProp | : 0 to deactivate properties reading (default), 1 to read properties and record them in Dtk_Info, 2 to also read properties concerning Dtk_Component and record them as Dtk_Metadata, 3 to also read properties concerning Dtk_Component and record them both in Dtk_Info and as Dtk_Metadata | 
| [in] | inModeValProp | optional : 0 to deactivate validation properties computation (default), 1 to compute only light validation properties (counts), 2 to compute also geometry-based validation properties (volume, area, center), 3 to compute cloud-of-points-based validation properties. | 
      
  | 
  static | 
Select Parsing Mode on Reading.
| [in] | inModeReader | : 1 to use Datakit parser with full computation, 2 to use Datakit parser with light computation. | 
      
  | 
  static | 
Set mode to choose the code page or encoding to be used in case of non-standard ASCII characters encountered.
| [in] | inModeExtAscii | : 0 to use UTF-8, 1 to use code page 936 (Microsfot Windows, simplified chinese), 2 to use code page 855 (Cyrillic). | 
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  protected |