[vtkusers] Re: Need Help

Darshan Pai darshanpai at gmail.com
Sat Feb 5 01:26:11 EST 2005


THe answer was GetTuple1


On Thu, 3 Feb 2005 15:35:08 -0500, Darshan Pai <darshanpai at gmail.com> wrote:
> I have an M RI image which i have read in the vtkImageData object..
> 
> Now I want to retrieve the Scalar values of the MRI data
> 
> SO i did
> 
> void *output = imageData->GetScalarPointer(0,0,z);
> 
> then memcpy writeptr, output, x*y
> 
> I am trying to read the values in writeptr and i get only zeroes and
> no intensity values
> 
> I am bugged
> 
> Help
>



More information about the vtkusers mailing list