This file is indexed.

/usr/share/vtk/IO/Cxx/ParticleReader.cxx is in vtk-examples 5.8.0-17.5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Author: Andrew J. P. Maclean
#include <vtkXMLPolyDataWriter.h>
#include <vtkParticleReader.h>
#include <vtkSmartPointer.h>

int main ( int argc, char* argv[] )
{
  if ( argc != 3 )
    {
    cerr << "Usage: " << argv[0] << "InputFile(csv) OutputFile(vtp)." << endl;
    return EXIT_FAILURE;
    }
 
  vtkstd::string inputFileName = argv[1];
  vtkstd::string outputFileName = argv[2];
 
  vtkSmartPointer<vtkParticleReader> reader =
    vtkSmartPointer<vtkParticleReader>::New();
  reader->SetFileName(inputFileName.c_str());
  reader->Update();
 
  vtkSmartPointer<vtkXMLPolyDataWriter> writer =
    vtkSmartPointer<vtkXMLPolyDataWriter>::New();
  writer->SetInput(reader->GetOutput());
  writer->SetFileName(outputFileName.c_str());
  writer->Write();
 
  return EXIT_SUCCESS;
}