/usr/include/paraview/vtkPVPLYWriter.h is in paraview-dev 5.1.2+dfsg1-2.
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 66 67 68 69 70 71 72 73 74 75 76 77 | /*=========================================================================
Program: ParaView
Module: vtkPVPLYWriter.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 vtkPVPLYWriter - provides a ParaView friendly API for vtkPLYWriter.
// .SECTION Description
// This is a facade for vtkPLYWriter that provides an API more amiable to the
// GUI shown in the ParaView application.
#ifndef vtkPVPLYWriter_h
#define vtkPVPLYWriter_h
#include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
#include "vtkNew.h" // needed for vtkNew
#include "vtkSmartPointer.h" // needed for vtkSmartPointer
#include "vtkWriter.h"
class vtkPLYWriter;
class vtkScalarsToColors;
class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkPVPLYWriter : public vtkWriter
{
public:
static vtkPVPLYWriter* New();
vtkTypeMacro(vtkPVPLYWriter, vtkWriter);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Enable coloring.
vtkSetMacro(EnableColoring, bool);
vtkGetMacro(EnableColoring, bool);
// Description:
// If the file type is binary, then the user can specify which
// byte order to use (little versus big endian).
void SetDataByteOrder(int dbo);
// Description:
// Specify file type (ASCII or BINARY) for vtk data file.
void SetFileType(int ftype);
// Description:
// Specify file name of vtk polygon data file to write.
void SetFileName(const char* fname);
// Description:
// A lookup table can be specified in order to convert data arrays to
// RGBA colors.
void SetLookupTable(vtkScalarsToColors* lut);
protected:
vtkPVPLYWriter();
~vtkPVPLYWriter();
virtual int FillInputPortInformation(int port, vtkInformation *info);
virtual void WriteData();
bool EnableColoring;
vtkNew<vtkPLYWriter> Writer;
vtkSmartPointer<vtkScalarsToColors> LookupTable;
private:
vtkPVPLYWriter(const vtkPVPLYWriter&); // Not implemented
void operator=(const vtkPVPLYWriter&); // Not implemented
};
#endif
|