[vtkusers] VTK-JS VolumeMapper
Cristina Oyarzun
coyarzunlaura at googlemail.com
Thu Jun 1 12:14:36 EDT 2017
Thank you very much Sebastien! It worked!
On Thu, Jun 1, 2017 at 5:03 PM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:
> We created an utility command line that use ParaView to do that
> conversion.
> The command line helper can be used by installing globally vtk.js (npm
> install vtk.js -g). Then you should be able to run "vtkDataConverter" for
> more help on how to use it.
>
> On Thu, Jun 1, 2017 at 7:34 AM, Cristina Oyarzun <
> coyarzunlaura at googlemail.com> wrote:
>
>> Dear Sebastien,
>>
>> thank you for your help!
>>
>> I can visualize the first volume now. I am now wondering how can I
>> visualize my own model. I tried to visualize a Mesh that I saved as vtk
>> file. However, it seems that an index.json file is required to visialize
>> the model. How do you create your models so that they are divided into a
>> .json file and a data file? Ist there anyway with vtk to save the data that
>> way?
>>
>> Thank you very much!
>>
>> Cristina
>>
>>
>> On Mon, May 29, 2017 at 4:56 PM, Sebastien Jourdain <
>> sebastien.jourdain at kitware.com> wrote:
>>
>>> Did you created all the pieces highlighted in the following examples? (
>>> vtkPiecewiseFunction/vtkVolumeMapper/vtkVolume)
>>>
>>> https://kitware.github.io/vtk-js/examples/ZipHttpReader.html
>>> https://kitware.github.io/vtk-js/examples/VolumeMapper.html
>>>
>>> On Mon, May 29, 2017 at 6:11 AM, Cristina Oyarzun via vtkusers <
>>> vtkusers at vtk.org> wrote:
>>>
>>>> Dear all,
>>>>
>>>> I am new using VTK-JS. I followed the information given in the webpage
>>>> to build a project and it worked nicely.
>>>>
>>>> https://kitware.github.io/vtk-js/docs/intro_vtk_as_es6_dependency.html
>>>>
>>>> The problem came when I tried to exchange the cone example with the
>>>> VolumeMapper example:
>>>>
>>>> https://kitware.github.io/vtk-js/examples/VolumeMapper.html#Source
>>>>
>>>> To do this I built an new project like the previous time, with the
>>>> difference that I did not create any controller.html, since it seems not to
>>>> be required for that example. I copied the volume of that example in the
>>>> new project folder at: /Data/volume/LIDC2.vti
>>>>
>>>> After building this project the only thing I get is a black screen...
>>>>
>>>> It would be great if someone could give me any idea how to proceed...
>>>>
>>>> Thank you!!!
>>>>
>>>> Cristina
>>>>
>>>> _______________________________________________
>>>> 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:
>>>> http://public.kitware.com/mailman/listinfo/vtkusers
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170601/2126bb37/attachment.html>
More information about the vtkusers
mailing list