<div dir="ltr">I tried to use vtkImagePlaneWidget to display cellData throught vtkXmlImageDataReader from a vti file. I got error:<div><br></div><div><div>ERROR: In /home/myaccount/vtksource/VTK/Imaging/Core/vtkAbstractImageInterpolator.cxx, line 261</div>
<div>vtkImageInterpolator (0x25a48e0): Initialize(): no image data to interpolate!</div></div><div><br></div><div style>I traced the error and found in line 2765 of vtkImageReslice.cxx, "scalars" is 0x0.</div><div style>
The "scalars" is the line 3086:</div><div style>vtkDataArray *scalars = inData[0][0]->GetPointData()->GetScalars();<br></div><div style><br></div><div style>The vti file only has cellData and no pointData.</div>
<div><br></div><div style>Does vtkImagePlaneWidget support to display cellData? </div><div style><br></div><div style>Thanks for any help/suggestion.</div><div><br></div></div>