HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_Error.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: SOP_Error.h (C++)
7  *
8  * COMMENTS:
9  * This class is used to store SOP errors or warnings.
10  *
11  */
12 
13 #ifndef __SOP_Error__
14 #define __SOP_Error__
15 
17 {
18  //
19  // Cooking errors
20 
21  SOP_ERR_INVALID_SRC = 0, // No source or source has error
22 
23  //
24  // File errors
25  SOP_ERR_FILEGEO, // File error on load/save geometry
26 
27  //
28  // Some common cooking errors
29 
30  SOP_ERR_BADGROUP, // Invalid group specification
35  SOP_GROUP_DUPLICATE_NAME, // SOP_Group error
36 
37  // Some messages for the Lsystem sop
38  SOP_LSYSTEM_STR_FIRST, // first line
39  SOP_LSYSTEM_STR_OTHERS, // other lines
40  SOP_LSYSTEM_PIC_FILE, // invalid raster file
41 
45 
46  SOP_LOAD_UNKNOWN_ASCII_FLAG, //Skipping unknown flag (%s)
47  SOP_LOAD_UNKNOWN_BINARY_FLAG, //Skipping unknown flag
48 
49  SOP_BAD_FLAG_FORMAT, //expecting sopflags = ...
50 
51  SOP_NO_NORMALS, //cannot compute normals
52 
53  SOP_BAD_DIVS, //invalid division/segment size
54 
55  SOP_BAD_OBJECT_MERGED, //Bad object in object_merge
56  SOP_BAD_SOP_MERGED, //Bad sop in object_merge
57 
58  SOP_SKELETON_VOLUMES, // Number of volumes.
59  SOP_SKELETON_POINTS, // Number of points found.
60  SOP_SKELETON_POINTS_INVALID, // Deformation point count changed
61  SOP_SKELETON_VOLUMES_INVALID, // Skeleton circle count changed
62  SOP_SKELETON_HIERARCHY_INVALID, // Ellipse hierarchy changed
63 
64  SOP_DEL_DEGENERATE, // Deletion causes degenerate prims
65 
66  SOP_UNMATCH_SOURCE, // two source have unmatch geometry
67 
68  SOP_BASIS_INVALID, // non-spline type #26
69  SOP_BASIS_SELECTION, // select one of U or V
70  SOP_BASIS_INDEX, // index exceeds primitives
71  SOP_BASIS_BASIS, // invalid basis
72  SOP_BASIS_INCOMPATIBLE, // incompatible bases, can't copy
73 
74  SOP_SWEEP_REF_NPTS, // reference path and backbone
75  // does not have same # of points
76  SOP_SWEEP_REF_NPRIMS, // reference path and backbone
77  // does not have same # of primitives
78 
79  SOP_ATTRIBUTE_INVALID, // Invalid attribute name
80 
81  SOP_DEFORM_NO_CAPT_ATR, // no capture attrib. for deformation
82  SOP_DEFORM_INVALID_REGION, // can't find a captured region
83  SOP_DEFORM_NUM_REGIONS, // number of regions found
84  SOP_DEFORM_MAX_REGIONS_PERPOINT, // max regions assigned per point
85 
86  SOP_CURVECLAY_NO_PROFILE, // no profiles on the surface
87 
88  SOP_TRIMGRAPH_NO_LOOP, // no loop can be formed from graph.
89  SOP_TRIMGRAPH_TWO_SIDES, // need exactly two xrsections on side
90 
91  SOP_CAPTURE_INVALID_PARENT, // invalid hierarchy
92  SOP_CAPTURE_INVALID_REGION, // invalid region bone hierarchy
93  SOP_CAPTURE_NO_REGIONS, // no capture regions found in hiearchy
94  SOP_CAPTURE_NO_COLOR, // capture region missing color attrib
95  SOP_CAPTURE_SURF_ERR, // error in weight from surface calc.
96  SOP_CAPTURE_NUMPTS_CHANGE, // num pts changed since capture frame
97  SOP_CAPTURE_CAPTFRAME_ERR, // couldn't cook geo at capt frame
98  SOP_CAPTURE_LOAD_ERR, // override file reading error
99  SOP_CAPTURE_FILE_ERR, // override file not found
100  SOP_CAPTURE_NPTS_MSG, // number of points captured message
101 
102  SOP_CHANNEL_INVALID_INPUT_CHOP, // couldn't cook chop
104  SOP_CHANNEL_INVALID_ATTRIBUTE, // couldnt find geo attribute
105  SOP_CHANNEL_INVALID_INDEX, // index out of range for attribute
106  SOP_CHANNEL_MISMATCHED_SCOPE, // num chans and num attrs differ
107  SOP_CHANNEL_INVALID_CHANNEL, // couldnt find channel
108 
109  SOP_SOFTLOCK_PTNUM_CHANGE, // num of points changed since softlock
110  SOP_SOFTLOCK_PROMOTED, // softlock promoted to a hardlock
111 
112  SOP_STAMP_TOKEN_IN_USE, // stamp parameter already used
113 
114  SOP_POLYPATCH_TOO_FEW_ROWCOL, // need more rows, columns or clamping
115 
116  SOP_CARVE_INVALID_RANGE, // need full ranges
117 
118  SOP_VEX_ERROR, // sop vex error
119 
120  SOP_SYNTAX_ERROR, // error parsing points list
121  SOP_CURVE_ERROR, // curve couldn't be drawn
122  SOP_POINT_DNE, // referenced point doesn't exist
123  SOP_NEED_MORE_POINTS, // not enough points specified
124 
125  SOP_CAPTURE_NO_CAPTFRAME, // missing pCaptFrame attribute
126 
127  SOP_ERR_BADNODE, // Node not found or wrong type.
128 
129  SOP_ERR_SELFMERGE, // Cannot use oneself as the source
130  // of an object merge.
131 
132  SOP_ERR_SURFACEGROUPRANGE, // Refernce to a non-existent surface
133  // group.
134 
135  SOP_ERR_CENTERMISMATCH, // Mismatch on center points.
136 
137  SOP_ERR_CENTERGROUPMISSING, // Missing center groups.
138 
139  SOP_ERR_MISMATCHBACKQUOTE, // Mismatch backquote in rule %s.
140 
141  // SOP_WireDeform errors
142  SOP_ERR_MISSING_RADIUS, // Missing radiusf primitive attribute
143  SOP_ERR_RESTDEFORM_MISMATCH, // Rest and deform geometry mismatch
144  SOP_WARN_MISSING_WCAPT_PRIMU, // Missing pCaptWirePrimU attribute
145  SOP_ERR_MISSING_WCAPT, // Missing pCaptWirePrimU attribute
146  SOP_ERR_MISSING_WCAPT_U, // Missing pCaptWireU attribute
147  SOP_ERR_MISSING_WCAPT_V, // Missing pCaptWireV attribute
148  SOP_ERR_MISMATCH_WCAPT_U, // Mismatched pCaptWireU attribute
149  SOP_ERR_MISMATCH_WCAPT_V, // Mismatched pCaptWireU attribute
150  SOP_ERR_MISSING_PRIMITIVE, // Missing primitive reference %s
151  SOP_ERR_NO_DEFORM_EFFECT, // No deformation.
152 
153  // SOP_WireCapture errors
154  SOP_WARN_NO_PTS_CAPTURED, // Warning: No points captured.
155 
156  SOP_ERR_INVALID_CREGION, // Error: Invalid cregion %s
157 
158  SOP_ERR_MISMATCH_VERTEX, // Primitives have mismatching vertex counts
159  SOP_ERR_MISMATCH_POINT, // Reference and Target have different point
160  SOP_ERR_MISMATCH_PRIMITIVE, // Reference and Target have different prim
161  SOP_ERR_MISMATCH_POINTLIST, // Target and Ref point lists must be same len
162  SOP_ERR_MISMATCH_CONNECT, // Connected piece mismatch
163  SOP_ERR_CONNECT_FAIL, // A connected piece didn't match.
164  SOP_ERR_MATCH_DUPLICATE, // Ambiguous matching.
165 
166  SOP_ERR_INVALID_ATTRIBUTE_NAME, // Invalid attribute name %s.
167  SOP_ERR_MISSING_UV, // Missing uv vertex attribute.
168 
169  SOP_UVPELT_PRIMITIVE_INDEX, // index exceeds primitives
170  SOP_UVPELT_BOUNDARY_POINTS, // no boundary points found
171 
172  // SOP_Facet errors
173  SOP_WARN_PLANAR_INCOMPLETE, // Unable to make primitive planar
174 
175  SOP_ERR_NOT_METABALL, // Input %s does not contain metaballs
176  SOP_ERR_MISSING_MCAPT, // Input %s is missing metaCapt point attribute
177  SOP_ERR_MISSING_MCAPTFRAME, // Input %s is missing metaCaptFrame attribute
178  SOP_ERR_MISSING_MCAPTGROUPS,// Input %s is missing metaCaptGroups attribute
179  SOP_WARN_MISSING_COLOR, // Input %s is missing pt/primitive Cd attribute
180  SOP_WARN_CAPTOBJ_INVALID, // Capture Object %s is invalid or won't cook
181 
182  SOP_ERR_MISSING_MCAPTDATA, // Input %s is missing metaCaptData attribute
183  SOP_ERR_MISSING_MCAPTPATHS, // Input %s is missing metaCaptPaths attribute
184  SOP_ERR_MISSING_MCAPTGROUPMAP, // Input %s misisng metaCaptGroupMap attr
185 
186  SOP_ERR_PRIM_NUMS_DIFFERENT, // Inputs contain different numbers of primitives.
187  SOP_ERR_NOT_OPEN_CURVE, // Primitives must be open curves.
188 
189  // Muscle sliding errors for Capture/Deform meta
192 
193  SOP_ERR_RENAME, // Cannot rename group '%s'
194  SOP_ERR_RENAME_DUPLICATE, // Name conflict renaming '%s' to '%s'
195  SOP_ERR_CONVERT_DUPLICATE, // Name conflict converting '%s' to '%s'
196  SOP_ERR_UNMATCHED_GROUP_PATTERN, // No groups match pattern '%s'
197 
198  // DeformMuscle errors
201  SOP_ERR_METABALL_COUNT_CHANGED, // DeformMuscle and DeformMeta
202  SOP_ERR_METABALLS_NO_GROUPS, // Capture Meta - metaballs aren't in groups.
203  SOP_ERR_BAD_MUSCLE_NAME, // Invalid muscle name specification.
204  SOP_ERR_CANNOT_REMOVE_REGION, // Error removing capture region %s.
205 
206  // Attribute transfer errors
207  SOP_ERR_MISSMATCH_GROUP_TYPE, // Specified input group is not a %s.
208 
209  // PointCloudIso error
210  SOP_ERR_MISSING_POINT_NORMALS, // Input SOP missing point normals
211 
212  // SOPZ_DopImport error
213  SOP_ERR_OBJECT_NAME_CONFLICT, // Duplicate source DOP object names.
214  SOP_ERR_NO_DOP_OBJECTS, // No DOP object names specified.
215 
216  SOP_ERR_MDD_MISMATCH_POINT, // MDD file and input have different # points
217  SOP_ERR_FILEMDD, // Please specify an MDD file
218  SOP_ERR_MDDCORRUPT, // MDD file "%s" may be corrupt
219  SOP_ERR_MDD_EXTRA_DATA, // Unknown extra data (%s) found in MDD file
220 
221  SOP_ERR_CAPT_MISMATCH_POINT, // Input and painted geometry don't have
222  // matching point counts.
223 
224  SOP_ERR_METABALL_THRESHOLDMODE_BAD_WEIGHT, // Bad weight for threshold mode
225  SOP_ERR_MANIFOLD_GEOMETRY, // Invalid Geometry
226 
227  SOP_ERR_INVALID_REGEX, // Invalid regular expression in string edit
228  SOP_ERR_CREATE_DIRECTORY_FAIL, // Could not create directory %s
229 
230  SOP_ERR_MULTIPLE_OUTPUT, // Multiple outputs with same index %s
231 
232  SOP_ERR_SCENE_STYLESHEET_ERROR, // Error parsing a scene style sheet.
233  SOP_ERR_OBJECT_STYLESHEET_ERROR, // Error parsing an object style sheet.
234 
235  // SOP_PolySplit2 errors
242 
243  // SOP_PolyFill errors
251 
252  // SOP_LidarImport errors
257 
259 };
260 
261 #endif
SOP_ErrorCodes
Definition: SOP_Error.h:16