# itk-vtk-viewer - CLI - Data types

**URL:** https://discourse.vtk.org/t/itk-vtk-viewer-cli-data-types/10865
**Category:** Support
**Created:** [March 2, 2023, 4:57pm UTC](https://discourse.vtk.org/t/itk-vtk-viewer-cli-data-types/10865 "2023-03-02T16:57:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Kevin\_Sweeney](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kevin_sweeney/32/3935_2.png) [@Kevin\_Sweeney](https://discourse.vtk.org/u/Kevin_Sweeney)
#### Post date: [March 2, 2023, 4:57pm UTC](https://discourse.vtk.org/t/itk-vtk-viewer-cli-data-types/10865/1 "2023-03-02T16:57:21Z")

</div>

If I run `itk-vtk-viewer` from the command line (as per [Command Line Interface | itk-vtk-viewer](https://kitware.github.io/itk-vtk-viewer/docs/cli.html)) I can drag data sources in and visualise.

This is a two part question

1. What are the data types that can be dragged and dropped here. Have tried `.nrrd` and `.vti` as examples and they work. Is there a full list?

2. In an application, I am visualising data currently using `itkwidgets` which uses `itk-vtk-viewer` to visualise `vtk.vtkGlyph3D()`  
i.e. along the lines of

```python
glyphs = vtk.vtkGlyph3D()
glyphs.ScalingOff()
glyphs.SetSourceConnection(vtk.vtkSphereSource().GetOutputPort())
glyphs.SetInputData(data) # Data is of type polydata
glyphs.Update()
glyphs.GetOutput()

itkwidgets.view(geometries=glyphs.GetOutput())

```

How can I save this data so that I can drag it into this CLI version of the `itk-vtk-viewer` similarly to how I can drag in an `.rnnd` file?

Thanks
