I am new for VTK, and recently my project need it,and i have many question waiting for resolution
Here is one:
when I load my data, i used the following code:
And my data’s original size is (208, 240, 368)
When i render my data, the code is automatic do the resample to 111,which i didn’t want to.
Because i found that when i used:
volume.GetBounds()
I get :
(0.0, 157.15559297800064, 0.0, 157.66013169288635, 0.0, 100.6149368584156)
obvious that is the resample size,which i had calculated
I figured it out.
After render,the volume become physical size,it didn’t do any other opera
And i hadn’t thought that before
Thank you very much for your help