You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read an image or mesh or poly data from a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob). `fileName` is a string with the file name. `mimeType` is an optional mime-type string.
22
22
@@ -121,17 +121,3 @@ Write an mesh to a an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web
121
121
*mesh*: [Mesh](./Mesh.html) instance to write
122
122
*fileName*: name that would be used for the resulting file
123
123
*mimeType*: optional mime-type for the resulting file
Read a vtk.js PolyData from a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob). `fileName` is a string with the file name. `mimeType` is an optional mime-type string.
Read a vtk.js PolyData from an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer). `fileName` is a string with the file name. `mimeType` is an optional mime-type string.
Copy file name to clipboardExpand all lines: doc/content/api/browser_pipelines.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,6 @@ Run an itk-wasm Emscripten module with Node.js.
30
30
<dt>`IOTypes.Binary`</dt><dd>A binary [Uint8Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array). To write this data type in C++, read the binary file with, e.g. [std::ofstream](http://www.cplusplus.com/reference/fstream/ofstream/) with the `std::ofstream::binary` flag to [std::ofstream::open](http://www.cplusplus.com/reference/fstream/ofstream/open/).</dd>
31
31
<dt>`IOTypes.Image`</dt><dd>An [itk/Image](./Image.html). To write this data type in C++, use the [itk::ImageFileWriter](https://itk.org/Doxygen/html/classitk_1_1ImageFileWriter.html), add `WebAssemblyInterface` module to the ITK `find_package` `COMPONENTS` in your *CMakeLists.txt*, and use `.json` for the image file name extension.</dd>
32
32
<dt>`IOTypes.Mesh`</dt><dd>An [itk/Mesh](./Mesh.html). To write this data type in C++, use the [itk::MeshFileWriter](https://itk.org/Doxygen/html/classitk_1_1MeshFileWriter.html), add `WebAssemblyInterface` module to the ITK `find_package` `COMPONENTS` in your *CMakeLists.txt*, and use `.json` for the image file name extension.</dd>
33
-
<dt>`IOTypes.vtkPolyData`</dt><dd>A vtk.js [PolyData](https://kitware.github.io/vtk-js/docs/structures_PolyData.html). To write this data type in C++, use the [vtkJSONDataSetWriter](https://vtk.org/doc/nightly/html/classvtkJSONDataSetWriter.html), and add `vtkIOExport` module to the VTK `find_package` `COMPONENTS` in your *CMakeLists.txt*</dd>
34
33
</dl>
35
34
36
35
*inputs*: A JavaScript Array containing JavaScript objects with three properties: `path`, `type`, and `data`.
Copy file name to clipboardExpand all lines: doc/content/api/node_pipelines.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,6 @@ Run an itk-wasm Emscripten module with Node.js.
25
25
<dt><b>IOTypes.Binary</b><dt><dd>A binary <ahref="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array">Uint8Array</a>. To write this data type in C++, read the binary file with, e.g. <ahref="http://www.cplusplus.com/reference/fstream/ofstream/">std::ofstream</a> with the `std::ofstream::binary` flag to <ahref="http://www.cplusplus.com/reference/fstream/ofstream/open/">std::ofstream::open</a>.</dd>
26
26
<dt><b>IOTypes.Image</b></dt><dd>An <ahref="./Image.html">Image</a>. To write this data type in C++, use the <hrefa="https://itk.org/Doxygen/html/classitk_1_1ImageFileWriter.html">itk::ImageFileWriter</a>, add `WebAssemblyInterface` module to the ITK `find_package` `COMPONENTS` in your *CMakeLists.txt*, and use `.iwi` for the image file name extension.</dd>
27
27
<dt><b>IOTypes.Mesh</b></dt><dd>An <ahref="Mesh.html">Mesh</a>. To write this data type in C++, use the <ahref="https://itk.org/Doxygen/html/classitk_1_1MeshFileWriter.html">itk::MeshFileWriter</a>, add `WebAssemblyInterface` module to the ITK `find_package` `COMPONENTS` in your *CMakeLists.txt*, and use `.json` for the image file name extension.</dd>
28
-
<dt><b>IOTypes.vtkPolyData</b><dt><dd>A vtk.js <ahref="https://kitware.github.io/vtk-js/docs/structures_PolyData.html">PolyData</a> To write this data type in C++, use the <ahref="https://vtk.org/doc/nightly/html/classvtkJSONDataSetWriter.html">vtkJSONDataSetWriter</a>, and add `vtkIOExport` module to the VTK `find_package` `COMPONENTS` in your *CMakeLists.txt*</dd>
29
28
</dl>
30
29
31
30
*inputs*: A JavaScript Array containing JavaScript objects with three properties: `path`, `type`, and `data`.
0 commit comments