[vtkusers] what's wrong with this?

32sthide 32sthide at gmail.com
Mon Aug 20 10:01:52 EDT 2012


hi, i can't manage to make this work in C++.

double* sx, double* sy, double* sz=bmp->GetOutput()->GetSpacing();

I want to get something like this code in python:

xMin, xMax, yMin, yMax, zMin, zMax = v16.GetOutput().GetWholeExtent()

spacing = v16.GetOutput().GetSpacing()
sx, sy, sz = spacing

origin = v16.GetOutput().GetOrigin()
ox, oy, oz = origin




--
View this message in context: http://vtk.1045678.n5.nabble.com/what-s-wrong-with-this-tp5715424.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list