[vtkusers] Problem in use vtkDataArray

Jinsik Oh js21cfriend at gmail.com
Thu Feb 27 21:22:40 EST 2014


Hi, everyone

I have a problem in use vtkDataArray

I want store to data at vtkDataArray. so i try to this code


vtkSmartPointer<vtkDataArray> data_array;
data_array->New();
data_array->SetNumberOfComponents(1); # this line is error
data_array->SetNumberOfTuples(1);

error is complie error, that given exception error;

How can i solve this problem?

Is this code is wrong?

I use, vtk 5.10, VS2010, win& 64bit

Plz help to me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140228/77bdd215/attachment.html>


More information about the vtkusers mailing list