[vtkusers] Problem with vtkDataArray::SetVoidArray

n.sunilkumar n.sunilkumar at indiatimes.com
Tue Jul 13 01:47:33 EDT 2004


hi vtkusers,

The problem....

I am passing a big array into vtk using vtkDataArray::SetVoidArray method from cpp and then utilizing this in vtkImageData which will be passed to filter say Median.

I am able make a vtkImageData in the above mentioned way but unable to see any effect of fitler on the data. It remains unchanged when filter::Update is called.

In order to realise that the data is imported properly i tried making a local copy of the 
VtkImageData by using vtkImageData::CopyAndCastFrom method....This is generating an error which sayas GetScalarPointer xxxxx not in memory....

any help would be appreciated

with regards
Sunil.
Indiatimes Email now powered by APIC Advantage. Help! 
HelpClick on the image to chat with me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040713/6f80e368/attachment.htm>


More information about the vtkusers mailing list