Changeset 1558
- Timestamp:
- Jul 28, 2009 4:01:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/Command.cpp
r1546 r1558 1209 1209 fflush(stdout); 1210 1210 std::stringstream fdata; 1211 fdata.write(nBytes + 5, bytes - 5); 1212 volPtr = load_volume_stream3(err, tag, fdata); 1211 fdata.write(nBytes - 5, bytes + 5); 1212 Rappture::Outcome context; 1213 volPtr = load_volume_stream3(context, tag, fdata); 1213 1214 if (volPtr == NULL) { 1214 Tcl_AppendResult(interp, err.remark(), (char*)NULL);1215 Tcl_AppendResult(interp, context.remark(), (char*)NULL); 1215 1216 return TCL_ERROR; 1216 1217 } 1217 1218 #endif /*__TEST_CODE__*/ 1218 1219 } else if ((nBytes > 5) && (strncmp(bytes, "<ODX>", 5) == 0)) { 1219 /* 1220 Rappture::Outcome err; 1221 1222 printf("Loading DX using OpenDX library...\n"); 1220 printf("Loading DX using OpenDX library...\n"); 1223 1221 fflush(stdout); 1224 volPtr = load_volume_stream_odx(err, n, buf.bytes()+5, buf.size()-5); 1222 Rappture::Outcome context; 1223 volPtr = load_volume_stream_odx(context, tag, bytes + 5, nBytes -5); 1225 1224 if (volPtr == NULL) { 1226 Tcl_AppendResult(interp, err.remark(), (char*)NULL);1225 Tcl_AppendResult(interp, context.remark(), (char*)NULL); 1227 1226 return TCL_ERROR; 1228 1227 } 1229 */1230 1228 } else { 1231 1229 printf("OpenDX loading...\n");
Note: See TracChangeset
for help on using the changeset viewer.