diff --git a/docs/cxx/interface_types.md b/docs/cxx/interface_types.md index 180928593..1f1e4ba5b 100644 --- a/docs/cxx/interface_types.md +++ b/docs/cxx/interface_types.md @@ -1,6 +1,6 @@ # Interface Types -itk-wasm execution pipelines support the following [interface types](https://github.com/InsightSoftwareConsortium/ITK-Wasm/tree/main/src/core/InterfaceTypes.ts): +ITK-Wasm execution pipelines support the following [interface types](https://github.com/InsightSoftwareConsortium/ITK-Wasm/tree/main/src/core/InterfaceTypes.ts): - [TextFile](../typescript/interface_types/TextFile) - [BinaryFile](../typescript/interface_types/BinaryFile) @@ -47,11 +47,41 @@ int main(argc, char * argv[]) ```
itk::wasm::InputTextStreamitk::wasm::InputTextStreamGet().itk::wasm::OutputTextStreamGet().itk::wasm::InputBinaryStreamGet().itk::wasm::OutputBinaryStreamGet().itk::wasm::InputImage<TImage>TImage. To access the image in C++, use Get() to get a pointer to the TImage.itk::wasm::OutputImage<TImage>TImage. To set the output image in C++, use Set(image) with a pointer to the TImage.itk::wasm::InputMesh<TMesh>TMesh. To access the mesh in C++, use Get() to get a pointer to the TMesh.itk::wasm::OutputMesh<TMesh>TMesh. To set the output mesh in C++, use Set(mesh) with a pointer to the TMesh.itk::wasm::InputPointSet<TPointSet>TPointSet. To access the point set in C++, use Get() to get a pointer to the TPointSet.itk::wasm::OutputPointSet<TPointSet>TPointSet. To set the output point set in C++, use Set(pointSet) with a pointer to the TPointSet.itk::wasm::InputPolyData<TPolyData>TPolyData. To access the polydata in C++, use Get() to get a pointer to the TPolyData.itk::wasm::OutputPolyData<TPolyData>TPolyData. To set the output polydata in C++, use Set(polyData) with a pointer to the TPolyData.itk::wasm::InputTransform<TTransform>TTransform. To access the transform in C++, use Get() to get a pointer to the TTransform.itk::wasm::OutputTransform<TTransform>TTransform. To set the output transform in C++, use Set(transform) with a pointer to the TTransform.std::string (for files)INPUT_TEXT_FILE, OUTPUT_TEXT_FILE, INPUT_BINARY_FILE, or OUTPUT_BINARY_FILE. The string contains the file path that can be used with standard file I/O operations.itk::wasm::InputTextStream (for JSON)INPUT_JSON. To read the JSON data in C++, use the resulting std::istream from Get() and parse the JSON content.itk::wasm::OutputTextStream (for JSON)OUTPUT_JSON. To write JSON data in C++, use the resulting std::ostream from Get() and write the JSON content.