/usr/include/paraview/vtkImageCompressor.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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110  | /*=========================================================================
  Program:   Visualization Toolkit
  Module:    vtkImageCompressor.h
  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
  All rights reserved.
  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 vtkImageCompressor - Superclass for image compressor/decompressor
// used by Composite Managers.
//
// .SECTION Description
// vtkImageCompressor is an abstract superclass for the helper object
// used to compress images by the vtkParallelManager subclasses.
// Compressors must implement Compress,Decomperss methods, which respect
// the LossLessMode ivar, which is used by the composite manager to force
// loss less compression during a still render. Additionally compressors
// must be able to seriealize and restore their setting from a stream.
#ifndef vtkImageCompressor_h
#define vtkImageCompressor_h
#include "vtkObject.h"
#include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
class vtkUnsignedCharArray;
class vtkMultiProcessStream;
class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkImageCompressor : public vtkObject
{
public:
  vtkTypeMacro(vtkImageCompressor, vtkObject);
  void PrintSelf(ostream& os, vtkIndent indent);
  // Description:
  // Get/Set the input to this compressor. 
  void SetInput(vtkUnsignedCharArray* input);
  vtkGetObjectMacro(Input, vtkUnsignedCharArray);
  // Description:
  // Get/Set the output of the compressor.
  vtkGetObjectMacro(Output, vtkUnsignedCharArray);
  void SetOutput(vtkUnsignedCharArray*);
  // Description:
  // When set the implementation must use loss-less compression, otherwise
  // implemnetation should user provided settings.
  vtkSetMacro(LossLessMode,int);
  vtkGetMacro(LossLessMode,int);
  // Description:
  // Call this method to compress the input and generate the compressed
  // data.
  virtual int Compress()=0;
  // Description:
  // Decompresses and geenartes the decompressed data as output.
  // Input must be compressed data.
  virtual int Decompress()=0;
  //BTX
  // Description:
  // Serialize compressor configuration (but not the data) into the stream.
  virtual void SaveConfiguration(vtkMultiProcessStream *stream);
  // Description:
  // Restore state from the stream. The stream format for all image compressor
  // is: [ClassName, LossLessMode, [Derived Class Stream]].
  virtual bool RestoreConfiguration(vtkMultiProcessStream* stream);
  //ETX
  // Description:
  // Serialize compressor configuration (but not the data) into the stream.
  // A pointer to the internally managed stream is returned (ie do not free it!).
  virtual const char *SaveConfiguration();
  // Description:
  // Restore state from the stream, The stream format for all image compressor
  // is: [ClassName, LossLessMode, [Derived Class Stream]].
  // Upon success the stream is returned otherwise 0 is returned indicating
  // an error.
  virtual const char *RestoreConfiguration(const char *stream);
protected:
  // Description:
  // Construct with NULL input array and empty but allocated output array.
  vtkImageCompressor();
  virtual ~vtkImageCompressor();
  // This is the array which contains the compressed data.
  vtkUnsignedCharArray* Output;
  vtkUnsignedCharArray* Input;
  int LossLessMode;
  vtkSetStringMacro(Configuration);
  char *Configuration;
private:
  vtkImageCompressor(const vtkImageCompressor&); // Not implemented.
  void operator=(const vtkImageCompressor&); // Not implemented.
};
#endif
 |