Isocap

Sathya Krishnamurthy ksathya at omirf.iusd.iupui.edu
Thu Aug 5 15:35:05 EDT 1999


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.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list