48 vtkSmartPointer<VtkPointsSource> point_source =
49 vtkSmartPointer<VtkPointsSource>::New();
52 vtkSmartPointer<vtkSphereSource> _glyphSource =
53 vtkSmartPointer<vtkSphereSource>::New();
56 vtkGlyph3D* glyphFilter = vtkGlyph3D::New();
57 glyphFilter->SetSourceConnection(_glyphSource->GetOutputPort());
58 glyphFilter->SetInputConnection(point_source->GetOutputPort());