<div dir="ltr">Yes but I think it will still be too late. That's why having an option to refresh that list in the UI will be needed. Unless we compute it at instantiation time.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 24, 2018 at 9:30 AM Richard Frank <<a href="mailto:rickfrank@me.com">rickfrank@me.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Ah I see, and I will have to add my presets before the volume corner loads them, it would seem, is that correct?<div><br></div><div>Thanks</div><div><br></div><div>Rick<br><br><div id="m_3268423696125923649AppleMailSignature">Sent from my iPad</div><div><br>On Sep 24, 2018, at 11:23 AM, Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div dir="ltr"><a href="https://github.com/Kitware/vtk-js/blob/master/Sources/Rendering/Core/ColorTransferFunction/ColorMaps.js#L25-L46" target="_blank">https://github.com/Kitware/vtk-js/blob/master/Sources/Rendering/Core/ColorTransferFunction/ColorMaps.js#L25-L46</a><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 24, 2018 at 9:21 AM Richard Frank <<a href="mailto:rickfrank@me.com" target="_blank">rickfrank@me.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">I do t see the methods to add presets ( sorry if I missed it, C++ guy still getting up to speed on JS)....<div><br></div><div>Can you point me to them? </div><div><br></div><div>Thanks,</div><div><br></div><div>Rick</div><div><br><div id="m_3268423696125923649m_4143708766997380647AppleMailSignature">Sent from my iPad</div><div><br>On Sep 24, 2018, at 10:27 AM, Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div dir="ltr">I'm guessing you are talking about the LookupTable preset which are used here to fill that list only once.<div><a href="https://github.com/Kitware/vtk-js/blob/master/Sources/Interaction/UI/VolumeController/index.js#L15" target="_blank">https://github.com/Kitware/vtk-js/blob/master/Sources/Interaction/UI/VolumeController/index.js#L15</a><br></div><div><br></div><div>To adjust its content just create an alias in you application to override the imported file to be what you want.</div><div><br></div><div>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.</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Sep 23, 2018 at 4:16 PM Richard Frank via vtkusers <<a href="mailto:vtkusers@public.kitware.com" target="_blank">vtkusers@public.kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi,</div><div><br></div><div>Is there a way to modify the list of transfer functions in the volumeController?</div><div><br></div><div>We'd like to at least add our own to the list...</div><div><br></div><div>Thanks</div><div><br></div><div>Rick</div><div><br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div>
</div></blockquote></div></div></blockquote></div>
</div></blockquote></div></div></blockquote></div>