3D Structured Data to Texture Mapped Plane

Erik Sobel erik.sobel at alphatech.com
Fri Apr 21 13:58:03 EDT 2000


Can anyone point me to example tcl code for the TEXTURE mapping approach 
suggested by the 3D Medical Imaging application in Chap 13 p512 (it is 
exercise 13.2) of the VTK book.  (please don't point me to the much 
ballyhooed "Solutions to VTK exercises page" - it has hardly any solutions 
and is really just another (elaborately html styled) list of excercises - 
in keeping with the VTK tradition of Obfuscation Oriented Programming.

By the way (FLAME ON) why do people include "exercises" without solutions 
in books that are supposed to provide instruction?  Who came up with this 
concept of text-book-as-inscrutable-zen-master?  The next time you try to 
replace a headlight on your car or set the time on your VCR imagine the 
instructions having 10 or 12 "exercises" like "Design a clock interface 
that a one handed person might be able to operate" - or  - "Disassemble and 
reassemble your catalytic converter, How might you re-design it if you 
lived in zero-gravity?"  I hate "exercises" without solutions they are not 
helpful.  (FLAME OFF).

Specifically I am trying to extract planes of data from a structured data 
set and, use the planes of data as textures which are mapped onto a plane 
source.  If I extract the x=0 plane (using vtkExtractVOI) I get an error 
about using a 3D texture.  If I permute the extracted VOI I can view it in 
a vtkImageViewer window but, I get more errors when I use the permuted, 
extracted VOI as a texture source any suggestions.

Thanks,
Erik

I think somebody didn't have his coffee this morning...


---------------------------------------------------------------------------- 
------------------------------
Erik Sobel
esobel at alphatech.com
erik.sobel at alphatech.com
---------------------------------------------------------------------------- 
------------------------------
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list