This file is indexed.

/usr/include/vtk-6.3/vtkImageStencilToImage.h is in libvtk6-dev 6.3.0+dfsg1-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
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
/*=========================================================================

  Program:   Visualization Toolkit
  Module:    vtkImageStencilToImage.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 vtkImageStencilToImage - Convert an image stencil into an image
// .SECTION Description
// vtkImageStencilToImage will convert an image stencil into a binary
// image.  The default output will be an 8-bit image with a value of 1
// inside the stencil and 0 outside.  When used in combination with
// vtkPolyDataToImageStencil or vtkImplicitFunctionToImageStencil, this
// can be used to create a binary image from a mesh or a function.
// .SECTION See Also
// vtkImplicitModeller

#ifndef vtkImageStencilToImage_h
#define vtkImageStencilToImage_h

#include "vtkImagingStencilModule.h" // For export macro
#include "vtkImageAlgorithm.h"

class VTKIMAGINGSTENCIL_EXPORT vtkImageStencilToImage : public vtkImageAlgorithm
{
public:
  static vtkImageStencilToImage *New();
  vtkTypeMacro(vtkImageStencilToImage, vtkImageAlgorithm);
  void PrintSelf(ostream& os, vtkIndent indent);

  // Description:
  // The value to use outside the stencil.  The default is 0.
  vtkSetMacro(OutsideValue, double);
  vtkGetMacro(OutsideValue, double);

  // Description:
  // The value to use inside the stencil.  The default is 1.
  vtkSetMacro(InsideValue, double);
  vtkGetMacro(InsideValue, double);

  // Description:
  // The desired output scalar type.  The default is unsigned char.
  vtkSetMacro(OutputScalarType,int);
  vtkGetMacro(OutputScalarType,int);
  void SetOutputScalarTypeToFloat(){this->SetOutputScalarType(VTK_FLOAT);};
  void SetOutputScalarTypeToDouble(){this->SetOutputScalarType(VTK_DOUBLE);};
  void SetOutputScalarTypeToInt(){this->SetOutputScalarType(VTK_INT);};
  void SetOutputScalarTypeToUnsignedInt()
    {this->SetOutputScalarType(VTK_UNSIGNED_INT);};
  void SetOutputScalarTypeToLong(){this->SetOutputScalarType(VTK_LONG);};
  void SetOutputScalarTypeToUnsignedLong()
    {this->SetOutputScalarType(VTK_UNSIGNED_LONG);};
  void SetOutputScalarTypeToShort(){this->SetOutputScalarType(VTK_SHORT);};
  void SetOutputScalarTypeToUnsignedShort()
    {this->SetOutputScalarType(VTK_UNSIGNED_SHORT);};
  void SetOutputScalarTypeToUnsignedChar()
    {this->SetOutputScalarType(VTK_UNSIGNED_CHAR);};
  void SetOutputScalarTypeToChar()
    {this->SetOutputScalarType(VTK_CHAR);};

protected:
  vtkImageStencilToImage();
  ~vtkImageStencilToImage();

  virtual int RequestInformation(vtkInformation *,
                                 vtkInformationVector **,
                                 vtkInformationVector *);

  virtual int RequestData(vtkInformation *,
                          vtkInformationVector **,
                          vtkInformationVector *);

  double OutsideValue;
  double InsideValue;
  int OutputScalarType;

  virtual int FillInputPortInformation(int, vtkInformation*);

private:
  vtkImageStencilToImage(const vtkImageStencilToImage&);  // Not implemented.
  void operator=(const vtkImageStencilToImage&);  // Not implemented.
};

#endif