/usr/include/paraview/vtkImageSpriteSource.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  | /*=========================================================================
  Program:   Visualization Toolkit
  Module:    vtkImageSpriteSource.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 vtkImageSpriteSource - Create an image with Gaussian pixel values and alpha.
// .SECTION Thanks
// <verbatim>
//
//  This file is part of the PointSprites plugin developed and contributed by
//
//  Copyright (c) CSCS - Swiss National Supercomputing Centre
//                EDF - Electricite de France
//
//  John Biddiscombe, Ugo Varetto (CSCS)
//  Stephane Ploix (EDF)
//
// </verbatim>
// .SECTION Description
// vtkImageSpriteSource produces images with luminance values determined
// by a Gaussian. The alpha values can be produced to either be a gaussian
// or create a circular mask.
#ifndef vtkImageSpriteSource_h
#define vtkImageSpriteSource_h
#include "vtkPointSpriteRenderingModule.h" //needed for exports
#include "vtkImageAlgorithm.h"
class VTKPOINTSPRITERENDERING_EXPORT vtkImageSpriteSource : public vtkImageAlgorithm
{
public:
  static vtkImageSpriteSource *New();
  vtkTypeMacro(vtkImageSpriteSource,vtkImageAlgorithm);
  void PrintSelf(ostream& os, vtkIndent indent);
  // Description:
  // Set/Get the extent of the whole output image.
  void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
                      int zMin, int zMax);
  // Description:
  // Set/Get the Maximum value of the gaussian
  vtkSetMacro(Maximum, unsigned char);
  vtkGetMacro(Maximum, unsigned char);
  // Description:
  // Set/Get the standard deviation of the gaussian (image coordinates are between 0 and 1)
  vtkSetMacro(StandardDeviation, double);
  vtkGetMacro(StandardDeviation, double);
  // Description:
  // Set/Get the alpha method :
  // 0.NONE will create no alpha component.
  // 1.PROPORTIONAL will create an alpha component identical to the luminance
  // 2.CLAMP will set the alpha component to 0 or 1 depending if the luminance
  // is inferior or superior to the given threhold.
  vtkSetMacro(AlphaMethod, int);
  vtkGetMacro(AlphaMethod, int);
  //BTX
  enum {NONE = 0, PROPORTIONAL=1, CLAMP=2};
  //ETX
  // Description:
  // Set/Get the alpha threshold used if the AlphaMethod is CLAMP.
  vtkSetMacro(AlphaThreshold, unsigned char);
  vtkGetMacro(AlphaThreshold, unsigned char);
protected:
  vtkImageSpriteSource();
  ~vtkImageSpriteSource() {};
  double StandardDeviation;
  int WholeExtent[6];
  unsigned char Maximum;
  int AlphaMethod;
  unsigned char AlphaThreshold;
  virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *);
  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
private:
  vtkImageSpriteSource(const vtkImageSpriteSource&);  // Not implemented.
  void operator=(const vtkImageSpriteSource&);  // Not implemented.
};
#endif
 |