ITK Function Reference

(V10000.1.0.60_20160308.00)
shell_util.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 SHELL_UTIL_H
16 #define SHELL_UTIL_H
17 
18 #include <fclasses/tc_stdlib.h>
19 #include <tc/tc_startup.h>
20 #include <ae/ae.h>
21 #include <ae/libae_exports.h>
22 
29 #define COMMAND_SIZE 256
30 #define FILENAME_SIZE 64
31 
32 #define METRIC 1
33 #define ENGLISH 2
34 
35 #define NX_MAX_LEN_FILENAME 132
36 #define NX_MAX_LEN_PATHNAME 256
37 #define NX_PART_EXT "prt"
38 #define REV_ONE 1
39 
44 #define REF_NAME "UGPART"
45 #define FORM_REF_NAME "UGPART-ATTR"
46 #define FORM_NAME "UGPART-ATTR"
47 #define FORM_DESC "This is a form for UGPART"
48 #define CHECK_SCALE_PREF_NAME "TC_NX_CHECK_SCALE"
49 #define UPDATE_ATTR_PREF_NAME "TC_NX_UPDATE_ATTRIBUTES"
50 #define DEFAULT_PART_PREF_NAME "TC_NX_DEFAULT_PART"
51 #define UGPART_DATASET_FORM "TC_NX_ATTRIBUTES_FORM"
52 #define UGPART_ATTR_FORMTYPE "UGPartAttr"
53 
55 #ifdef __cplusplus
56  extern "C"{
57 #endif
58 
59 extern AE_API int NXSM_create_ugpart_form(
60  tag_t,
61  tag_t*
62  );
63 
64 extern int SHELL_change_volume(
65  tag_t dataset_tag,
66  tag_t* old_volume
67  );
68 
69 extern int SHELL_restore_volume(
70  tag_t old_volume
71  );
72 
75 #ifdef __cplusplus
76 }
77 #endif
78 
79 //For deImanization
80 #include <ae/iman_shell_util.h>
81 
82 #include <ae/libae_undef.h>
83 #endif