<html><body>
<p><tt>&quot;TheSaint 555&quot; &lt;thesaint555@hotmail.com&gt; wrote on 15/12/2006 22:58:20:<br>
<br>
&gt; Im new to VTK and have a few questions before I start using it.<br>
&gt; <br>
&gt; I have an NxNxN matrix (N typically being 15-30). Each element is in the <br>
&gt; range [0-3]. I would like to visualize the matrix as a collection of NxNxN <br>
&gt; little cubes each colored only if the value is non zero (and be able to <br>
&gt; rotate it with the mouse). I would like the zero-values elements to be fully <br>
&gt; transparent. What is the easiest way to do this in VTK? Is there already a <br>
&gt; class that implements this?<br>
&gt; <br>
&gt; I would like to also be able to slice the matrix arbitrarily along the axes <br>
&gt; and view the intersection of the elements with the cross section plane.<br>
&gt; <br>
&gt; And is there an easy way to generate postscript of these image?<br>
&gt; <br>
&gt; _________________________________________________________________<br>
&gt; Tried the new MSN Messenger? It’s cool! Download now. <br>
&gt; <a href="http://messenger.msn.com/Download/Default.aspx?mkt=en-in">http://messenger.msn.com/Download/Default.aspx?mkt=en-in</a><br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; This is the private VTK discussion list. <br>
&gt; Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk">http://www.vtk</a>.<br>
&gt; org/Wiki/VTK_FAQ<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</tt><br>
<tt>vtkLookupTable allows control of alpha. You can build a lookup table 'by hand' using SetNumberOfColors, SetTableValue-(one per color), Build. You would set alpha to 0 (transparent) for the appropriate scalar values and set to 1 for everything else, probably using RGB to show variation in scalars.</tt><br>
<br>
<tt>&nbsp; Dave P</tt></body></html>