<div dir="ltr">Hi, everyone<div><br></div><div>I have a problem in use vtkDataArray</div><div><br></div><div>I want store to data at vtkDataArray. so i try to this code</div><div><br></div><div><br></div><div>vtkSmartPointer<vtkDataArray> data_array;</div>
<div>data_array->New();<br></div><div>data_array->SetNumberOfComponents(1); # this line is error<br></div><div>data_array->SetNumberOfTuples(1);<br></div><div><br></div><div>error is complie error, that given exception error;</div>
<div><br></div><div>How can i solve this problem?</div><div><br></div><div>Is this code is wrong?</div><div><br></div><div>I use, vtk 5.10, VS2010, win& 64bit</div><div><br></div><div>Plz help to me</div></div>