[Paraview] Volume positioning
padraig
padraig.looney at gmail.com
Mon Nov 14 05:32:46 EST 2016
Dear list,
I have been having problems with the positioning of volumes using
Paraview. ITK tells me that, using,
IteratorType it2( img_input, img_input->GetLargestPossibleRegion() );
it2.GoToBegin();
ImageType::IndexType begin = it2.GetIndex();
img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p0);
it2.GoToEnd();
--it2;
img_input->TransformIndexToPhysicalPoint(it2.GetIndex(),p1);
std::cout << p0 << p1 << std::endl;
two volumes I have have the positions
[-102.536, -106.413, 30.1491][102.512, 106.414, 177.564]
and
[-102.536, -106.413, 30.1491][102.512, 106.414, -117.265]
When I load these into Paraview they occupy the same volume. In Slicer3D
the volumes are distinct as I expect above.
Thanks
Pádraig
More information about the ParaView
mailing list