|
ITK Function Reference
(V10000.1.0.60_20160308.00) |
Macros | |
| #define | STEP_file_size 100 |
Typedefs | |
| typedef enum OBJIO_df_e | OBJIO_df_t |
Enumerations | |
| enum | OBJIO_df_e { OBJIO_STEP_AP203, OBJIO_STEP_AP214, OBJIO_STEP_IMAN } |
Functions | |
| STEP_API int | OBJIO_STEP_create (int operation_type, const char *path_name, tag_t *manager_tag) |
| STEP_API int | OBJIO_STEP_delete (tag_t manager_tag) |
| STEP_API int | OBJIO_STEP_exclude_relation_types (int n_type_tags, tag_t *type_tags, tag_t manager_tag) |
| STEP_API int | OBJIO_STEP_export (tag_t manager_tag, const char *filename, int n_objects, tag_t *object_tags) |
| STEP_API int | OBJIO_STEP_get_log_file_path (tag_t manager_tag, char **log_file_path) |
| STEP_API int | OBJIO_STEP_import (tag_t manager_tag, const char *filename, int *n_new_objects, tag_t **new_object_tags, int *n_modified_objects, tag_t **modified_object_tags) |
| STEP_API int | OBJIO_STEP_set_comments (tag_t manager_tag, const char *comments) |
| STEP_API int | OBJIO_STEP_set_data_format (tag_t manager_tag, OBJIO_df_t data_format) |
| STEP_API int | OBJIO_STEP_set_dataset_all_vers (tag_t manager_tag, logical ds_all_vers) |
| STEP_API int | OBJIO_STEP_set_full_assembly (tag_t manager_tag, logical full_assy) |
| int | OBJIO_STEP_set_geo_config_file (tag_t manager_tag, const char *geo_confg_file) |
| STEP_API int | OBJIO_STEP_set_log_file_path (tag_t manager_tag, const char *log_file_path) |
| #define STEP_file_size 100 |
Definition at line 28 of file objio_step.h.
| typedef enum OBJIO_df_e OBJIO_df_t |
| enum OBJIO_df_e |
| Enumerator | |
|---|---|
| OBJIO_STEP_AP203 | |
| OBJIO_STEP_AP214 | |
| OBJIO_STEP_IMAN | |
Definition at line 30 of file objio_step.h.
| STEP_API int OBJIO_STEP_create | ( | int | operation_type, |
| const char * | path_name, | ||
| tag_t * | manager_tag | ||
| ) |
Creates a new STEP manager object.
| operation_type | (I) Either OBJIO_export_type or OBJIO_import_type |
| path_name | (I) Complete directory path (to write to for OBJIO_export_type and to read from for OBJIO_import_type) |
| manager_tag | (O) Returned tag of the newly created manager object |
| STEP_API int OBJIO_STEP_delete | ( | tag_t | manager_tag | ) |
Deletes an existing STEP manager object.
| manager_tag | (I) Tag of an existing STEP manager object |
| STEP_API int OBJIO_STEP_exclude_relation_types | ( | int | n_type_tags, |
| tag_t * | type_tags, | ||
| tag_t | manager_tag | ||
| ) |
Sets the tags of excluded relation types and the number of excluded relation types during a STEP export.
| n_type_tags | (I) Number of excluded relation types |
| type_tags | (I) Tags of excluded relation types |
| manager_tag | (I) Tag of an existing STEP manager object |
| STEP_API int OBJIO_STEP_export | ( | tag_t | manager_tag, |
| const char * | filename, | ||
| int | n_objects, | ||
| tag_t * | object_tags | ||
| ) |
Exports specified objects to the specified location in the specified format.
| manager_tag | (I) Tag of an existing STEP manager object |
| filename | (I) Name of the output file (10303-21 format) with .stp extension |
| n_objects | (I) Number of exported objects |
| object_tags | (I) Tags of exported objects. In the case of datasets, we will supply an ImanRelation tag to help uniquely identify the dataset. |
| STEP_API int OBJIO_STEP_get_log_file_path | ( | tag_t | manager_tag, |
| char ** | log_file_path | ||
| ) |
| manager_tag | (I) |
| log_file_path | (O) |
| STEP_API int OBJIO_STEP_import | ( | tag_t | manager_tag, |
| const char * | filename, | ||
| int * | n_new_objects, | ||
| tag_t ** | new_object_tags, | ||
| int * | n_modified_objects, | ||
| tag_t ** | modified_object_tags | ||
| ) |
Imports data from the specified part-21 file.
| manager_tag | (I) Tag of an existing STEP manager object |
| filename | (I) Name of the input file (10303-21 format) |
| n_new_objects | (O) Number of new WorkspaceObjects created |
| new_object_tags | (OF) n_new_objects Tags of newly created WorkspaceObjects |
| n_modified_objects | (O) Number of WorkspaceObjects modified |
| modified_object_tags | (OF) n_modified_objects Tags of WorkspaceObjects modified |
| STEP_API int OBJIO_STEP_set_comments | ( | tag_t | manager_tag, |
| const char * | comments | ||
| ) |
Sets STEP data exchange comments.
| manager_tag | (I) Tag of an existing STEP manager object |
| comments | (I) Comments placed into the STEP Part 21 file FILE_DESCRIPTION section |
| STEP_API int OBJIO_STEP_set_data_format | ( | tag_t | manager_tag, |
| OBJIO_df_t | data_format | ||
| ) |
Sets the STEP data format for exported data.
| manager_tag | (I) Tag of an existing STEP manager object |
| data_format | (I) Enumeration identifying the output data format. Allowable values are: OBJIO_STEP_AP203 OBJIO_STEP_AP214 OBJIO_STEP_IMAN |
Sets whether to export all versions of a dataset.
| manager_tag | (I) Tag of an existing STEP manager object |
| ds_all_vers | (I) TRUE = export all dataset versions. FALSE = export only dataset version-0. |
Sets whether to export only the top-level or whole assembly.
| manager_tag | (I) Tag of an existing STEP manager object |
| full_assy | (I) TRUE = export entire assembly with all sub-parts/assemblies. FALSE = export only the top-level of the assembly. |
| int OBJIO_STEP_set_geo_config_file | ( | tag_t | manager_tag, |
| const char * | geo_confg_file | ||
| ) |
| manager_tag | (I) |
| geo_confg_file | (I) |
| STEP_API int OBJIO_STEP_set_log_file_path | ( | tag_t | manager_tag, |
| const char * | log_file_path | ||
| ) |
| manager_tag | (I) |
| log_file_path | (I) |