<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Sounds like a typical Marching Cube problem. Maybe you should look at vtkMarchingCubes: <A href="http://www.vtk.org/doc/release/4.0/html/classvtkMarchingCubes.html">http://www.vtk.org/doc/release/4.0/html/classvtkMarchingCubes.html</A></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Hope That Helps</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">sincerely, HvT<BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: TheSaint 555 &lt;thesaint555@hotmail.com&gt;<BR>To: vtkusers@vtk.org<BR>Sent: Friday, 15 December, 2006 10:58:20 AM<BR>Subject: [vtkusers] visualize a 3d matrix?<BR><BR>
<DIV>Im new to VTK and have a few questions before I start using it.<BR><BR>I have an NxNxN matrix (N typically being 15-30). Each element is in the <BR>range [0-3]. I would like to visualize the matrix as a collection of NxNxN <BR>little cubes each colored only if the value is non zero (and be able to <BR>rotate it with the mouse). I would like the zero-values elements to be fully <BR>transparent. What is the easiest way to do this in VTK? Is there already a <BR>class that implements this?<BR><BR>I would like to also be able to slice the matrix arbitrarily along the axes <BR>and view the intersection of the elements with the cross section plane.<BR><BR>And is there an easy way to generate postscript of these image?<BR><BR>_________________________________________________________________<BR>Tried the new MSN Messenger? It¢s cool! Download now. <BR><A href="http://messenger.msn.com/Download/Default.aspx?mkt=en-in"
 target=_blank>http://messenger.msn.com/Download/Default.aspx?mkt=en-in</A><BR><BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: <A href="http://www.vtk.org/Wiki/VTK_FAQ" target=_blank>http://www.vtk.org/Wiki/VTK_FAQ</A><BR>Follow this link to subscribe/unsubscribe:<BR><A href="http://www.vtk.org/mailman/listinfo/vtkusers" target=_blank>http://www.vtk.org/mailman/listinfo/vtkusers</A></DIV></DIV><BR></DIV></div><br>
                <hr size=1> 
<a href="http://us.rd.yahoo.com/mail/uk/taglines/hotmail_com/nowyoucan/pc_mag/*http://us.rd.yahoo.com/evt=40566/*http://uk.docs.yahoo.com/nowyoucan.html">All new Yahoo! Mail</a> "The new Interface is stunning in its simplicity and ease of use." - PC Magazine</body></html>