Isocap

Bill Lorensen wlorens1 at nycap.rr.com
Thu Aug 5 18:21:53 EDT 1999


<x-flowed>Place a slice of zeroes as the first and last slice.

Bill

At 02:35 PM 8/5/99 -0500, Sathya Krishnamurthy wrote:
>Hello All
>
>I am trying to reconstruct from the CT data of a teeth. Following is the
>piece of code I use.
>
>vtkTIFFReader *v16 = vtkTIFFReader::New();
>   v16->SetDataByteOrderToLittleEndian();
>   v16->SetFilePrefix ("../uctc0000347_gaussS.tif");
>   v16->SetDataExtent (0,139,0,136,0,40);
>   v16->SetDataSpacing (1.96, 1.96, 2.50);
>   v16->Update ();
>
>  vtkImageMarchingCubes *skinExtractor = vtkImageMarchingCubes::New();
>     skinExtractor->DebugOn ();
>     skinExtractor->SetInput(v16->GetOutput());
>     skinExtractor->SetValue(0, 100.0);
>
>   vtkPolyDataMapper *skinMapper = vtkPolyDataMapper::New();
>     skinMapper->SetInput(skinExtractor->GetOutput());
>     skinMapper->ScalarVisibilityOn();
>
>   vtkActor *skin = vtkActor::New();
>     skin->SetMapper(skinMapper);
>
>Now I want to isocap the rendered IsoSurface with the first and last slices
>of the data set.
>Can somebody kindly help me how to do it.
>
>thanks
>
>Sincerely
>Sathya




-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------


</x-flowed>



More information about the vtkusers mailing list