[vtkusers] What is extent, actually?
Tanya S
tanya_lll at yahoo.com
Thu Feb 2 07:19:31 EST 2006
Hello there?
I thought extent means spacing multiply by dimension, but then I doubt it since from my vtkImageData, I get the spacing using GetSpacing() and it gives:
spacing[0] = 2
spacing[0] = 2
spacing[0] = 3.125
and GetDimensions() gives:
dimension[0] = 128
dimension[1] = 128
dimension[2] = 94
but then, GetExtent() gives:
extent[0]=0
extent[1]=127
extent[2]=0
extent[3]=127
extent[4]=0
extent[5]=93
means extent in x direction = 128, extent in y direction = 128,
and extent in x direction = 94.
And my other questions are:
What is the difference between UpdateExtent, wholeExtent, and Extent of vtkImageData?
Thx beforehand.
Best regards,
.Tanya.
---------------------------------
Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060202/262cff7e/attachment.htm>
More information about the vtkusers
mailing list