This is probably more of a VTK list issue, but if you are going to extend transformations on image data or rectilinear grids you may want to do what ITK (and other image processing systems do) and extend these datasets to include a transformation matrix (in ITK direction cosines for each axis are used). This would ensure compatibility with ITK; however some filters can be significantly impacted (derivatives for example). I think you really want to avoid massive and surprising memory bloat operations that conversion to structured grids would entail.<br>

<br><div class="gmail_quote">On Fri, Mar 5, 2010 at 6:29 PM, Moreland, Kenneth <span dir="ltr">&lt;<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">I’m clearly adding to this conversation late because I was on travel yesterday.  I was going to comment that we should change some filters to handle more types of data.  We had talked long ago about automatically running cell to point for filters that only accept point data.  I’m no longer convinced that is a great idea as that filter implicitly mangles the data.  For example, what does it mean to contour cell data?  To me, it seems the right thing to me is to extract all faces that have neighbors with cell values on the opposite sides of the contour (or at least that is the best you can do without mangling the data).<br>


<br>
Here is some other oddness I have noticed or has been brought up on the mailing list:<br>
<br>
</span></font><ul><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">There are separate gradient filters for image and unstructured data.  It would be straightforward to write a metafilter that picks the correct gradient implementation given the input.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">The transform filter only works on point data sets.  Users have wanted to use it on image data.  It would be easy and not to memory consumptive to have the transform filter convert images and rectilinear grids to structured grids.  Likewise for warp by scalar or vector.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">There are two “clean” filters, and the names don’t make sense.  I can’t believe more people haven’t complained about it.  I figure they must be too confused to ask.  At the very least the names should be more representative of what they do: “Clean Poly Data” and “Clean to Unstructured Grid”.  It might be nice if they were somehow rolled into one (poly data input would stay poly data input, all others converted to unstructured grids).  However, that might be confusing behavior.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">I’ve seen users get confused that the “Generate Surface Normals” filter only works on poly data.  This is especially confusing because unstructured grids often look like poly data and poly data is sometimes converted to unstructured grids without the user knowing (for example, if running the clip filter).  Perhaps this filter could be changed to work on unstructured grids as well (ignoring non 2D cells).  Or perhaps it could implicitly extract the external surface.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Speaking of the external surface, the filter name “Extract Surface” is stupid.  Extract what surface?  A contour is a surface.  A plane is a surface.  The filter should be named “Extract External Surface” or simply “External Surface”.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">At some point, the statistics functionality needs to be reworked (sorry, Dave).  They are hard to use even if you know what you are doing, and few people do.<br>


</span></font></li></ul><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
-Ken<div><div></div><div class="h5"><br>
<br>
On 3/4/10 8:19 AM, &quot;Utkarsh Ayachit&quot; &lt;<a href="http://utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>
<br>
</div></div></span></font><div><div></div><div class="h5"><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Autoconverting to some extent is reasonable and already planned eg.<br>
converting point data to cell data etc., but converting image data to<br>
unstructured grid (or such) can be risky due the memory bloat. Maybe<br>
when a filter is disabled, showing why it is disabled in the status<br>
bar (or something) may not be a bad idea.<br>
<br>
Utkarsh<br>
<br>
On Thu, Mar 4, 2010 at 10:15 AM, Jeff Baumes &lt;<a href="http://jeff.baumes@kitware.com" target="_blank">jeff.baumes@kitware.com</a>&gt; wrote:<br>
&gt; Along with Dave&#39;s comment, I think auto-converting would be good to<br>
&gt; help with this. For example, if you want to warp an image, can&#39;t you<br>
&gt; just implicitly convert it to geometry? The result is that many things<br>
&gt; would not be greyed out anymore.<br>
&gt;<br>
&gt; It seems that would help with the cognitive load, so people don&#39;t even<br>
&gt; need to know what all the different vtkDataObject subclasses are and<br>
&gt; how to convert between them manually.<br>
&gt;<br>
&gt; That said, making icons for the different data types in the pipeline<br>
&gt; browser would probably help too, instead of everything just being a<br>
&gt; green cube.<br>
&gt;<br>
&gt; Jeff<br>
&gt;<br>
&gt; On Thu, Mar 4, 2010 at 9:41 AM, David E DeMarle<br>
&gt; &lt;<a href="http://dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt; wrote:<br>
&gt;&gt; One thing that new users don&#39;t like is that it is hard to find out<br>
&gt;&gt; what filters do really and more frustratingly, why they are greyed out<br>
&gt;&gt; once you know what one you want.<br>
&gt;&gt;<br>
&gt;&gt; We should do a better job of documenting the input and output types of<br>
&gt;&gt; each reader/source/filter/writer, what specifically it does, and what<br>
&gt;&gt; the input restrictions (domains) are. Perhaps we can automate the<br>
&gt;&gt; collection of that from the class hierarchy, doxygen, and the xml and<br>
&gt;&gt; expose it in some intuitive manner in the UI. For example using icons<br>
&gt;&gt; to represent input data set types and presence of cell/point scalars<br>
&gt;&gt; etc.<br>
&gt;&gt;<br>
&gt;&gt; I will try to put up some mockup on the wiki page shortly.<br>
&gt;&gt;<br>
&gt;&gt; David E DeMarle<br>
&gt;&gt; Kitware, Inc.<br>
&gt;&gt; R&amp;D Engineer<br>
&gt;&gt; 28 Corporate Drive<br>
&gt;&gt; Clifton Park, NY 12065-8662<br>
&gt;&gt; Phone: 518-371-3971 x109<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Feb 27, 2010 at 11:45 AM, Moreland, Kenneth &lt;<a href="http://kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>&gt; wrote:<br>
&gt;&gt;&gt; There is lots of good stuff here.  I added a bunch of megalomaniacal<br>
&gt;&gt;&gt; comments.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -Ken<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 2/26/10 10:27 AM, &quot;Utkarsh Ayachit&quot; &lt;<a href="http://utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Folks,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Following a discussion with Berk, I&#39;ve started consolidating the ideas<br>
&gt;&gt;&gt; for the improvements on a Wiki page.<br>
&gt;&gt;&gt; Please start contributing your suggestions.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="http://www.paraview.org/ParaView3/index.php/ParaView_Usability_Improvements" target="_blank">http://www.paraview.org/ParaView3/index.php/ParaView_Usability_Improvements</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Utkarsh<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Paraview-developers mailing list<br>
&gt;&gt;&gt; <a href="http://Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
&gt;&gt;&gt; <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    ****      Kenneth Moreland<br>
&gt;&gt;&gt;     ***      Sandia National Laboratories<br>
&gt;&gt;&gt; ***********<br>
&gt;&gt;&gt; *** *** ***  email: <a href="http://kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a><br>
&gt;&gt;&gt; **  ***  **  phone: (505) 844-8919<br>
&gt;&gt;&gt;     ***      web:   <a href="http://www.cs.unm.edu/~kmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Paraview-developers mailing list<br>
&gt;&gt;&gt; <a href="http://Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
&gt;&gt;&gt; <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Paraview-developers mailing list<br>
&gt;&gt; <a href="http://Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
&gt;&gt; <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Jeff Baumes, Ph.D.<br>
&gt; R&amp;D Engineer, Kitware Inc.<br>
&gt; (518) 881-4932<br>
&gt; <a href="http://jeff.baumes@kitware.com" target="_blank">jeff.baumes@kitware.com</a><br>
&gt; _______________________________________________<br>
&gt; Paraview-developers mailing list<br>
&gt; <a href="http://Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
&gt; <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
&gt;<br>
<br>
<br>
</span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
</span></font><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
   ****      Kenneth Moreland<br>
    ***      Sandia National Laboratories<br>
***********  <br>
*** *** ***  email: <a href="http://kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a><br>
**  ***  **  phone: (505) 844-8919<br>
    ***      web:   <a href="http://www.cs.unm.edu/~kmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><br>
</span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
</span></font>
</div></div></div>


<br>_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>

<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>