Hi!
I need to cast my Point Data to a vtkDoubleArray, but it fails:
vtkPointData *scaldat = input -> GetPointData();
vtkDoubleArray *scalars = vtkDoubleArray::New();
scalars = vtkDoubleArray::SafeDownCast(scaldat);
if(!scalars) vtkErrorMacro("SafeDownCast to vtkDoubleArray failed");
and everytime I run the program I get that vtkErrorMacro.
as far as I know from the input files, the PointData should be float, but
casting to vtkFloatArray fails as well. Why? and what can I do about it?
thx a lot,
NH
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview