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.
<hr><font face="Arial" size="2">Indiatimes Email now powered by <b>APIC Advantage</b>. <a href="http://email.indiatimes.com/apic/">Help!</a> </font><br><DIV align=left><a target="_blank" href="http://imaround.indiatimes.com/IMaround/presencefr.mss?userid=n.sunilkumar" ><IMG alt="My Presence" border=0 src="http://203.199.93.51/IMaround/getpresence.mss?userid=n.sunilkumar" ></a><a target="_blank" href="http://email.indiatimes.com/apic/userpage.html"><FONT face="Arial" size=2>Help</font></a></DIV><DIV align=left><FONT color=#008000 face="Lucida Sans Unicode" size=1>Click on the image to chat with me</FONT></DIV><DIV align=left><a target="_blank" href="http://www.tellyourprice.indiatimes.com"><img border=0 width=300 height=30 src="http://203.199.93.43/image/footer_01.gif"></a></DIV>