I want to get the size of a dimension of a vtkDenseArray. From the documentation it looks like it should be like this:<br><br> vtkSmartPointer<vtkDenseArray<double> > array = vtkSmartPointer<vtkDenseArray<double> >::New();<br>
array->Resize(5,6);<br><br> //why doesn't this work? error: 'class vtkDenseArray<double>' has no member named 'GetExtent'<br> vtkstd::cout << array->GetExtent(0) << vtkstd::endl;<br>
<br>Where GetExtent(0) should return 5 and GetExtent(1) should return 6. However, I just get this "no member" error as if the function doesn't even exist. Anyone know why this might be?<br><br clear="all">Thanks,<br>
<br>David<br>