vmtkCenterlinesToNumpy
Description
Takes a VTK centerlines vtkPolyData file and returns a nested python dictionary containing numpyarrays specifying vertex points, associated scalar data, and cell data yielding connectivity
Input arguments
| Argument | Variable | Type | Length | Range | Default | Description |
| id | Id | str | 1 | | 0 | script id |
| handle | Self | self | 1 | | | handle to self |
| disabled | Disabled | bool | 1 | | 0 | disable execution and piping |
| i | Centerlines | vtkPolyData | 1 | | | the input centerlines |
| ifile | CenterlinesInputFileName | str | 1 | | | filename for the default Centerlines reader |
| celltopoint | ConvertCellToPoint | bool | 1 | | 0 | convert cell data to point data |
| ofile | ArrayDictOutputFileName | str | 1 | | | filename for the default ArrayDict writer |
Output arguments
| Argument | Variable | Type | Length | Range | Default | Description |
| id | Id | str | 1 | | 0 | script id |
| handle | Self | self | 1 | | | handle to self |
| o | ArrayDict | dict | 1 | | | the output dictionary |