[vtkusers] vtk.js volumeController transferFunctions

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Sep 24 10:27:01 EDT 2018


I'm guessing you are talking about the LookupTable preset which are used
here to fill that list only once.
https://github.com/Kitware/vtk-js/blob/master/Sources/Interaction/UI/VolumeController/index.js#L15

To adjust its content just create an alias in you application to override
the imported file to be what you want.

Or add methods do allow dynamic re-computation of that list (on the UI
side) since we already have methods to add or remove presets.

On Sun, Sep 23, 2018 at 4:16 PM Richard Frank via vtkusers <
vtkusers at public.kitware.com> wrote:

> Hi,
>
> Is there a way to modify the list of transfer functions in the
> volumeController?
>
> We'd like to at least add our own to the list...
>
> Thanks
>
> Rick
>
> _______________________________________________
> 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/20180924/80bd03bc/attachment.html>


More information about the vtkusers mailing list