[vtkusers] vtk.js How to read my *.vti file using vtkHttpDataSetReader?
Sebastien Jourdain
sebastien.jourdain at kitware.com
Fri Oct 5 18:31:02 EDT 2018
In the example for the HttpDataSetReader we have the following comment:
*Caution*: The example is not actually loading a vtp file but a data
structure that was coming from a vtp file. For more details please
read the vtkHttpDataSetReader
API <https://kitware.github.io/vtk-js/api/IO_Core_HttpDataSetReader.html>;
For your file format, you want to use that following reader:
https://github.com/Kitware/vtk-js/tree/master/Sources/IO/XML/XMLImageDataReader
On Fri, Oct 5, 2018 at 4:22 PM lucky via vtkusers <
vtkusers at public.kitware.com> wrote:
> I have uploaded a volume data *.vti file to my server and setting up the
> URL
> reader.setUrl(`http://xyz.com/files/test.vti`
> <http://xyz.com/files/test.vti>). It never loaded in my
> application? But when I set a URL from vtk.js samples it works fine. I
> observed there is a index.json file that needs to be loaded but couldn't
> get
> what's that and where to put in my website? Is there any documentation on
> index.json file? Or any reference or utility to create my own data file
> compatible to vtk.js loaders?
>
> Thanks.
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181005/58fdadf0/attachment.html>
More information about the vtkusers
mailing list