[vtkusers] vtk.js volumeController transferFunctions

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Sep 24 11:23:36 EDT 2018


https://github.com/Kitware/vtk-js/blob/master/Sources/Rendering/Core/ColorTransferFunction/ColorMaps.js#L25-L46

On Mon, Sep 24, 2018 at 9:21 AM Richard Frank <rickfrank at me.com> wrote:

> I do t see the methods to add presets ( sorry if I missed it, C++ guy
> still getting up to speed on JS)....
>
> Can you point me to them?
>
> Thanks,
>
> Rick
>
> Sent from my iPad
>
> On Sep 24, 2018, at 10:27 AM, Sebastien Jourdain <
> sebastien.jourdain at kitware.com> wrote:
>
> 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/4d1087c0/attachment.html>


More information about the vtkusers mailing list