<div dir="ltr">Hello all:<div><br></div><div>Can someone help me understand why this code works:</div><div><br></div><div><div>  vtkSmartPointer<vtkGlyph3D> glyph3D = vtkSmartPointer<vtkGlyph3D>::New();</div><div>  glyph3D->SetSourceConnection(cubeSource->GetOutputPort());<br></div><div>  glyph3D->SetInputData(polydata);</div><div>  glyph3D->Update();</div></div><div><br></div><div>And this does not (nothing displayed)?</div><div><br></div><div><div>  vtkSmartPointer<vtkGlyph3D> glyph3D =  vtkSmartPointer<vtkGlyph3D>::New();</div><div>  glyph3D->SetSourceConnection(cubeSource->GetOutputPort());<br></div><div>  glyph3D->SetInputData(reader->GetOutput());<br></div><div>  glyph3D->Update();<br></div></div><div><br></div><div>The first clip is from <a href="https://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/Glyph3D">https://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/Glyph3D</a></div><div><br></div><div>The 'reader' object is stolen from the ParticleReader example:</div><div><br></div><div><div>  vtkSmartPointer<vtkParticleReader> reader = vtkSmartPointer<vtkParticleReader>::New();</div><div>  reader->SetFileName ( filePath.c_str() );<br></div><div>  reader->SetDataByteOrderToBigEndian();<br></div><div>  reader->Update();</div><div><br></div><div>The program compiles, but no data appears. It works fine (data appears) in the context of the ParticleReader example, where it shows all the data points. But I want to see them as glyphs, not little squares. I seem to be misunderstanding something fundamental, but not seeing what it could be.</div><div><br></div><div>Many thanks,</div><div><br></div><div> -Tom</div><div>  </div></div><div><br></div></div>