[vtkusers] visualize a 3d matrix?
echinococcus Multilocularis
lintworm2 at yahoo.co.uk
Fri Dec 15 10:20:52 EST 2006
Sounds like a typical Marching Cube problem. Maybe you should look at vtkMarchingCubes: http://www.vtk.org/doc/release/4.0/html/classvtkMarchingCubes.html
Hope That Helps
sincerely, HvT
----- Original Message ----
From: TheSaint 555 <thesaint555 at hotmail.com>
To: vtkusers at vtk.org
Sent: Friday, 15 December, 2006 10:58:20 AM
Subject: [vtkusers] visualize a 3d matrix?
Im new to VTK and have a few questions before I start using it.
I have an NxNxN matrix (N typically being 15-30). Each element is in the
range [0-3]. I would like to visualize the matrix as a collection of NxNxN
little cubes each colored only if the value is non zero (and be able to
rotate it with the mouse). I would like the zero-values elements to be fully
transparent. What is the easiest way to do this in VTK? Is there already a
class that implements this?
I would like to also be able to slice the matrix arbitrarily along the axes
and view the intersection of the elements with the cross section plane.
And is there an easy way to generate postscript of these image?
_________________________________________________________________
Tried the new MSN Messenger? It’s cool! Download now.
http://messenger.msn.com/Download/Default.aspx?mkt=en-in
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
___________________________________________________________
Web email has come of age. Don't settle for less than the All New Yahoo! Mail http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061215/0f48e22a/attachment.htm>
More information about the vtkusers
mailing list