<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks David, we thought that was the case. <div class=""><br class=""></div><div class="">Let me ask a somewhat parallel question. When rendering lines one typically sets a line width and sends the geometry downstream. The lines will be colored base on a variable but the line width is constant. At the same time when doing point glyphs we set the color and size based on a variable. If we wanted to vary the line width using a variable is our only choice to use a cylinder?</div><div class=""><br class=""></div><div class=""><span style="orphans: 2; widows: 2;" class="">Cheers,</span></div><div class=""><div class=""><span class="Apple-style-span" style="border-collapse: separate; line-height: normal; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><br class=""></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class="">Allen</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><br class=""></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><br class=""></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class="">Allen Sanderson</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class="">SCI Institute</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class="">University of Utah</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; " class=""><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; " class=""><a href="http://www.sci.utah.edu" class="">www.sci.utah.edu</a></font></p><br class="Apple-interchange-newline"></span></span><br class="Apple-interchange-newline"></span></span>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Feb 16, 2016, at 12:20 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com" class="">david.gobbi@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Allen,<div class=""><br class=""></div><div class="">You are correct, vtkLookupTable does not provide a way of doing this.</div><div class=""><br class=""></div><div class="">I'm not sure what work-arounds there are for geometry, but for images</div><div class="">you can map the RGB and A separately, and then combine them into</div><div class="">RGBA with vtkImageAppendComponents.</div><div class=""><br class=""></div><div class=""> - David</div><div class=""><br class=""></div><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Feb 16, 2016 at 11:48 AM, Allen Sanderson <span dir="ltr" class=""><<a href="mailto:allen@sci.utah.edu" target="_blank" class="">allen@sci.utah.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hello,<div class=""><br class=""></div><div class="">We are trying to render geometry using a lookup table for the RGB value using one scalar variable, but we want to use a secondary scalar variable for determining the opacity. Something like the following:</div><div class=""><br class=""></div><div class=""><div class="">RGB -> variable one</div><div class="">A -> variable two<br class=""></div></div><div class=""><br class=""></div><div class="">In looking through the VTK 6 documentation on mappers we have not found anything that leads us to believe this functionality is possible. But we have done an exhaustive search.</div><div class=""><br class=""></div><div class="">If it is possible we would greatly appreciate pointers. Thanks.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">
<span style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><span style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><span style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><span style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><div style="margin: 0px;" class="">Cheers,</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">Allen</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica" class="">Allen Sanderson</font></div><div style="margin: 0px;" class=""><font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica" class="">SCI Institute</font></div><div style="margin: 0px;" class=""><font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica" class="">University of Utah</font></div><div style="margin: 0px;" class=""><font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica" class=""><a href="http://www.sci.utah.edu/" target="_blank" class="">www.sci.utah.edu</a></font></div></span></span></span></span></div></div></blockquote></div><br class=""></div></div></div>
_______________________________________________<br class="">Powered by <a href="http://www.kitware.com" class="">www.kitware.com</a><br class=""><br class="">Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" class="">http://www.kitware.com/opensource/opensource.html</a><br class=""><br class="">Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" class="">http://www.vtk.org/Wiki/VTK_FAQ</a><br class=""><br class="">Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" class="">http://markmail.org/search/?q=vtkusers</a><br class=""><br class="">Follow this link to subscribe/unsubscribe:<br class=""><a href="http://public.kitware.com/mailman/listinfo/vtkusers" class="">http://public.kitware.com/mailman/listinfo/vtkusers</a><br class=""></div></blockquote></div><br class=""></div></body></html>