ITK Function Reference

(V10000.1.0.60_20160308.00)
dmi.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
13 /* */
14 
15 #ifndef DMI_ITK_H_INCLUDED
16 #define DMI_ITK_H_INCLUDED
17 #include <tccore/workspaceobject.h>
18 #include <dmi/dmi_const.h>
19 #include <dmi/libdmi_exports.h>
20 
30 #ifdef __cplusplus
31  extern "C"{
32 #endif
33 
45 extern DMI_API int DMI_store_image_file (
46  tag_t image,
47  const char image_file_name[DMI_file_name_size_c + 1],
48  const char path_name[DMI_path_name_size_c + 1]
49  );
50 
51 
52 extern DMI_API int DMI_store_image_file2 (
53  tag_t image,
54  const char *image_file_name,
55  const char *path_name
56  );
57 
64 extern DMI_API int DMI_fetch_image_file (
65  tag_t image,
66  const char dest_dir[DMI_path_name_size_c + 1] ,
67  char image_name[DMI_file_name_size_c + 1]
68  );
69 
73 extern DMI_API int DMI_fetch_image_file2 (
74  tag_t image,
75  const char *dest_dir ,
76  char **image_name
77  );
78 
79 
84 extern DMI_API int DMI_store_thumbnail_file (
85  tag_t image,
86  const char thumbnail_file_name[DMI_file_name_size_c + 1],
87  const char path_name[DMI_path_name_size_c + 1]
88  );
89 
90 
91 extern DMI_API int DMI_store_thumbnail_file2 (
92  tag_t image,
93  const char *thumbnail_file_name,
94  const char *path_name
95  );
96 
97 
102 extern DMI_API int DMI_fetch_thumbnail_file (
103  tag_t image,
104  const char dest_dir[DMI_path_name_size_c + 1],
105  char thumbnail_name[DMI_file_name_size_c + 1]
106  );
107 
108 
109 extern DMI_API int DMI_fetch_thumbnail_file2 (
110  tag_t image,
111  const char *dest_dir,
112  char **thumbnail_name
113  );
114 
118 extern DMI_API int DMI_ask_image_markups (
119  tag_t image,
120  tag_t markup_type,
122  int* n_markups,
123  tag_t** markups
124  );
125 
132 extern DMI_API int DMI_fetch_image_markup_files (
133  tag_t image,
134  const char dest_dir[DMI_path_name_size_c + 1],
135  int* n_files,
136  char** image_file,
137  char*** markup_files
138  );
139 
140 
141 extern DMI_API int DMI_fetch_image_markup_files2 (
142  tag_t image,
143  const char *dest_dir,
144  int* n_files,
145  char** image_file,
146  char*** markup_files
147  );
148 
149 
153 extern DMI_API int DMI_merge_image_markup_files (
154  tag_t image,
155  tag_t markup_type,
157  tag_t* new_markup
158  );
159 
163 extern DMI_API int DMI_verify_image (
164  tag_t image,
165  logical* answer
167  );
168 
172 extern DMI_API int DMI_delete_image(
173  tag_t image
174  );
175 
182 extern DMI_API int DMI_create_markup (
183  tag_t image,
184  const char markup_name[WSO_name_size_c + 1],
185  const char markup_desc[WSO_desc_size_c + 1],
186  const char markup_type[WSO_name_size_c + 1],
189  tag_t* markup
190  );
191 
192 
193 extern DMI_API int DMI_create_markup2 (
194  tag_t image,
195  const char *markup_name,
196  const char *markup_desc,
197  const char *markup_type,
200  tag_t* markup
201  );
202 
206 extern DMI_API int DMI_delete_markup (
207  tag_t markup
208  );
209 
213 extern DMI_API int DMI_update_markup (
214  tag_t markup
215  );
216 
223 extern DMI_API int DMI_fetch_markup_file (
224  tag_t markup,
225  const char dest_dir[DMI_path_name_size_c + 1],
226  char** image_file,
227  char** markup_file
228  );
229 
230 
231 extern DMI_API int DMI_fetch_markup_file2 (
232  tag_t markup,
233  const char *dest_dir,
234  char** image_file,
235  char** markup_file
236  );
237 
238 
245 extern DMI_API int DMI_store_markup_file (
246  tag_t markup,
247  const char markup_file_name[DMI_file_name_size_c + 1],
248  const char path_name[DMI_path_name_size_c + 1]
249  );
250 
251 
252 extern DMI_API int DMI_store_markup_file2 (
253  tag_t markup,
254  const char *markup_file_name,
255  const char *path_name
256  );
257 
264 extern DMI_API int DMI_revise_image (
265  tag_t image,
266  const char image_file_name [DMI_file_name_size_c + 1],
267  const char path_name [DMI_path_name_size_c + 1],
268  tag_t* new_image_rev
269  );
270 
271 
272 extern DMI_API int DMI_revise_image2 (
273  tag_t image,
274  const char *image_file_name ,
275  const char *path_name ,
276  tag_t* new_image_rev
277  );
278 
279 
284 extern DMI_API int DMI_revise_thumbnail (
285  tag_t image,
286  const char thumbnail_file_name [DMI_file_name_size_c + 1],
287  const char path_name [DMI_path_name_size_c + 1],
288  tag_t* new_image_rev
289  );
290 
291 
292 extern DMI_API int DMI_revise_thumbnail2 (
293  tag_t image,
294  const char *thumbnail_file_name ,
295  const char *path_name ,
296  tag_t* new_image_rev
297  );
298 
305 extern DMI_API int DMI_revise_markup (
306  tag_t markup,
307  const char markup_file_name [DMI_file_name_size_c + 1],
308  const char path_name [DMI_path_name_size_c + 1],
309  tag_t* new_markup_rev
310  );
311 
312 
313 extern DMI_API int DMI_revise_markup2 (
314  tag_t markup,
315  const char *markup_file_name ,
316  const char *path_name ,
317  tag_t* new_markup_rev
318  );
319 
323 extern DMI_API int DMI_delete_image_named_ref (
324  tag_t image
325  );
326 
330 extern DMI_API int DMI_delete_markup_named_ref (
331  tag_t markup
332  );
333 
334 extern DMI_API int DMI_delete_thumbnail_named_ref (
335  tag_t image
336  );
337 
344 extern DMI_API int DMI_ask_markup_types (
345  const char image_type_name[WSO_name_size_c + 1],
346  int* markuptypes_count,
347  char*** markuptypes_names
348  );
349 
350 
351 extern DMI_API int DMI_ask_markup_types2 (
352  const char *image_type_name,
353  int* markuptypes_count,
354  char*** markuptypes_names
355  );
356 
357 
364 extern DMI_API int DMI_ask_tempmarkup_type (
365  const char markup_type_name[WSO_name_size_c + 1],
366  char** tempmarkup_type_name
367  );
368 
369 
370 extern DMI_API int DMI_ask_tempmarkup_type2 (
371  const char *markup_type_name,
372  char** tempmarkup_type_name
373  );
374 
378 extern DMI_API int DMI_ask_mapping_types_count (
379  int* count
380  );
381 
382 extern DMI_API int DMI_ask_dataset_ref (
383  tag_t dataset,
384  char** named_ref
385  );
386 
391 extern DMI_API int DMI_init_module (void);
392 
395 #ifdef __cplusplus
396 }
397 #endif
398 
399 #include <dmi/libdmi_undef.h>
400 #endif