/usr/include/paraview/vtkPVImageReader.h is in paraview-dev 5.0.1+dfsg1-4.
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | /*=========================================================================
Program: ParaView
Module: vtkPVImageReader.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkPVImageReader - ImageReader that automatically switch between
// vtkMPIImageReader or vtkImageReader based on the build setup.
#ifndef vtkPVImageReader_h
#define vtkPVImageReader_h
#include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
#include "vtkPVConfig.h" // for PARAVIEW_USE_MPI
#ifdef PARAVIEW_USE_MPI
#include "vtkMPIImageReader.h" // For MPI-enabled builds
#else
#include "vtkImageReader.h" // For non-MPI builds
#endif
class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkPVImageReader : public
#ifdef PARAVIEW_USE_MPI
vtkMPIImageReader
#else
vtkImageReader
#endif
{
public:
static vtkPVImageReader* New();
#ifdef PARAVIEW_USE_MPI
vtkTypeMacro(vtkPVImageReader, vtkMPIImageReader);
#else
vtkTypeMacro(vtkPVImageReader, vtkImageReader);
#endif
virtual int CanReadFile(const char*)
{
return 1;
}
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
protected:
vtkPVImageReader();
~vtkPVImageReader();
private:
vtkPVImageReader(const vtkPVImageReader&); // Not implemented.
void operator=(const vtkPVImageReader&); // Not implemented.
//ETX
};
#endif
// VTK-HeaderTest-Exclude: vtkPVImageReader.h
|