[vtkusers] Image from probe...

Marcelo de PierreAmati mar_tchelo at msn.com
Fri Jul 18 16:04:09 EDT 2003


   Hi!

   I need to create dental panoramic view from a 3d volume and show the 
cutted curve like a plane. I probe a 3d volume with a quadric using 
vtkProbeFilter. I'm trying to get scalars and create a vtkStructuredPoints, 
but the image isn't good. It seems that it overlaps part of the projection 
in the image...

I get scalars of this way...

sp = vtk.vtkStructuredPoints()
sp.SetDimensions(534,93,0)
sp.SetExtent(0,533,1,93,0,0)
sp.SetScalarType(5)
sp.GetPointData().SetScalars(probe.GetOutput().GetPointData().GetScalars())
sp.Update()

   What is wrong?

   Thank you!

   Marcelo

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com




More information about the vtkusers mailing list