|
3 | 3 | A `MeshType` describes the type of an [`Mesh`](/api/Mesh). It is a JSON object with the following attributes:
|
4 | 4 |
|
5 | 5 | - `dimension`: The spatial dimension of the mesh.
|
6 |
| -- `pointComponentType`: The type of the components used to represent a point. This is one of the [`FloatTypes`](https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/src/FloatTypes.js). |
7 |
| -- `pointPixelComponentType`: The type of the components used to represent the data at a point. This is one of the [`IntTypes`](https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/src/IntTypes.js) or [`FloatTypes`](https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/src/core/FloatTypes.ts). |
8 |
| -- `pointPixelType`: The [`PixelType`](https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/src/core/PixelTypes.ts) for data associated with a point. For example, *Scalar*, *Vector*, *CovariantVector*, or *SymmetricSecondRankTensor*. |
| 6 | +- `pointComponentType`: The type of the components used to represent a point. This is one of the [`FloatTypes`]. |
| 7 | +- `pointPixelComponentType`: The type of the components used to represent the data at a point. This is one of the [`IntTypes`] or [`FloatTypes`]. |
| 8 | +- `pointPixelType`: The [`PixelType`] for data associated with a point. For example, *Scalar*, *Vector*, *CovariantVector*, or *SymmetricSecondRankTensor*. |
9 | 9 | - `pointPixelComponents`: The number of components in a point pixel. For a *Scalar* *pixelType*, this will be 1.
|
10 |
| -- `cellComponentType`: The type of the components used to represent a cell. This is one of the [`IntTypes`](https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/src/core/IntTypes.ts). |
11 |
| -- `cellPixelComponentType`: The type of the components used to represent the data at a cell. This is one of the [`IntTypes`](https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/src/IntTypes.js) or [`FloatTypes`](https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/src/core/FloatTypes.ts). |
12 |
| -- `cellPixelType`: The [`PixelType`](https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/src/core/PixelTypes.ts) for data associated with a cell. For example, *Scalar*, *Vector*, *CovariantVector*, or *SymmetricSecondRankTensor*. |
| 10 | +- `cellComponentType`: The type of the components used to represent a cell. This is one of the [`IntTypes`]. |
| 11 | +- `cellPixelComponentType`: The type of the components used to represent the data at a cell. This is one of the [`IntTypes`] or [`FloatTypes`]. |
| 12 | +- `cellPixelType`: The [`PixelType`] for data associated with a cell. For example, *Scalar*, *Vector*, *CovariantVector*, or *SymmetricSecondRankTensor*. |
13 | 13 | - `cellPixelComponents`: The number of components in a cell pixel. For a *Scalar* `pixelType`, this will be 1.
|
| 14 | + |
| 15 | +[`PixelType`]: https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/packages/core/typescript/itk-wasm/src/interface-types/pixel-types.ts |
| 16 | +[`IntTypes`]: https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/packages/core/typescript/itk-wasm/src/interface-types/int-types.ts |
| 17 | +[`FloatTypes`]: https://github.com/InsightSoftwareConsortium/ITK-Wasm/blob/main/packages/core/typescript/itk-wasm/src/interface-types/float-types.ts |
0 commit comments