<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Burlen,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">There are actually numerous bugs/ feature holes in the implementation of the categorical color tables. These need to be fixed – categorical color tables is
a powerful feature. I will write up bug reports on known issues this afternoon.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Alan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> burlen [mailto:burlen.loring@gmail.com]
<br>
<b>Sent:</b> Wednesday, July 10, 2013 12:52 PM<br>
<b>To:</b> Utkarsh Ayachit<br>
<b>Cc:</b> ParaView Developers; Scott, W Alan<br>
<b>Subject:</b> [EXTERNAL] Re: [Paraview-developers] Color Scale Editor Design<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">Hi Utkarsh, <br>
<br>
Cool!! Thanks!<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="margin-left:.5in">3) limit the number of control points used by the widget. The default max number of control points used by the widget would be something reasonable like 16 but the user could increase if desired via a qt spin control. The active control points in the widget would be evenly spaced across the scale and during interaction as the user moves the visible control points the widget would handle linearly re-interpolating the position of the hidden control points automatically.<o:p></o:p></pre>
</blockquote>
<pre style="margin-left:.5in">I'm not sure I follow the need for this. With support for categorical<o:p></o:p></pre>
<pre style="margin-left:.5in">colors, some of the use-cases with large number of control points may<o:p></o:p></pre>
<pre style="margin-left:.5in">become unnecessary.<o:p></o:p></pre>
<p class="MsoNormal" style="margin-left:.5in"><br>
I tried to use it in a few ways just now but this didn't seem to work. Any docs for the new features? Here's a 256 color LUT attached. How could I use the categorical colors with this?
<br>
<br>
<img width="1264" height="576" id="_x0000_i1025" src="cid:image001.png@01CE7EF4.D8DBB340"><br>
<br>
On 07/10/2013 11:23 AM, Utkarsh Ayachit wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="margin-left:.5in">Burlen,<o:p></o:p></pre>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="margin-left:.5in">1) combine the opacity widget and the color scale widget.<o:p></o:p></pre>
</blockquote>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<pre style="margin-left:.5in">Good idea! Let me see how much effort that's going to be. Hopefully,<o:p></o:p></pre>
<pre style="margin-left:.5in">it's not too bad to add support for this.<o:p></o:p></pre>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="margin-left:.5in">I think it would also be very useful to display a histogram of the active scalar plotted using the LUT colors in the new widget.<o:p></o:p></pre>
</blockquote>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<pre style="margin-left:.5in">We have thought of this in the past. As useful that this is, it's a<o:p></o:p></pre>
<pre style="margin-left:.5in">bit tedious to implement. I'll put that as a feature request to be<o:p></o:p></pre>
<pre style="margin-left:.5in">addressed in future for now.<o:p></o:p></pre>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="margin-left:.5in">2) add a "mirror scale" option.<o:p></o:p></pre>
</blockquote>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<pre style="margin-left:.5in">Should be too hard to add.<o:p></o:p></pre>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="margin-left:.5in">Also, with the current color scale widget it's pretty difficult to interactively manipulate LUT's with many color points (eg when 256 colors are explicitly specified). The control points are too close together to select and they way it's implemented now you'd need to move surrounding control points as well.<o:p></o:p></pre>
</blockquote>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<pre style="margin-left:.5in">Burlen, for such cases you may want to look into using the newly added<o:p></o:p></pre>
<pre style="margin-left:.5in">"categorical color" support rather than adding 256 control points.<o:p></o:p></pre>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="margin-left:.5in">3) limit the number of control points used by the widget. The default max number of control points used by the widget would be something reasonable like 16 but the user could increase if desired via a qt spin control. The active control points in the widget would be evenly spaced across the scale and during interaction as the user moves the visible control points the widget would handle linearly re-interpolating the position of the hidden control points automatically.<o:p></o:p></pre>
</blockquote>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<pre style="margin-left:.5in">I'm not sure I follow the need for this. With support for categorical<o:p></o:p></pre>
<pre style="margin-left:.5in">colors, some of the use-cases with large number of control points may<o:p></o:p></pre>
<pre style="margin-left:.5in">become unnecessary.<o:p></o:p></pre>
<pre style="margin-left:.5in"><o:p> </o:p></pre>
<pre style="margin-left:.5in">Utkarsh<o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
</body>
</html>