[vtkusers] complex numbers and vtkImageData

Stefan Huber Huber.Ste at gmx.at
Tue Apr 22 07:01:32 EDT 2008


Hi,

i am trying to bring my complex numbers into an imagedata object. Can sombody help me please?
I set the numbers of scalar components to 2. But how can i fill the imagedata in the 2 scalar?

with 1 scalar i fill my object like this. 
ptr = (float *) img->GetScalarOinter(x,y,z);
*ptr = dat[i];

but i have no idea how i can use my object with complex numbers.

Can somebody help me please?
thanks Stefan

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger



More information about the vtkusers mailing list