This file is indexed.

/usr/include/paraview/vtkCellIntegrator.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
/*=========================================================================

  Program:   Visualization Toolkit
  Module:    vtkCellIntegrator.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 vtkCellIntegrator - Calculates length/area/volume of a cell
// .SECTION Description
// vtkCellIntegrator is a helper class that calculates the
// length/area/volume of a 1D/2D/3D cell. The calculation is exact for
// lines, polylines, triangles, triangle strips, pixels, voxels, convex 
// polygons, quads and tetrahedra. All other 3D cells are triangulated
// during volume calculation. In such cases, the result may not be exact.

#ifndef vtkCellIntegrator_h
#define vtkCellIntegrator_h

#include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
#include "vtkObject.h"

class vtkDataSet;
class vtkIdList;

class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkCellIntegrator : public vtkObject
{
public:
  vtkTypeMacro(vtkCellIntegrator,vtkObject);
  void PrintSelf(ostream& os, vtkIndent indent);

  // Description:
  // Returns length/area/volume of a 1D/2D/3D cell given by cell id. If the
  // length/area/volume cannot be calculated (because of unsupposed cell
  // type), 0 is returned
  static double Integrate(vtkDataSet* input,  vtkIdType cellId);

protected:
  vtkCellIntegrator() {};
  ~vtkCellIntegrator() {};

private:
  static double IntegratePolyLine(vtkDataSet* input, 
                                  vtkIdType cellId, 
                                  vtkIdList* ptIds);
  static double IntegrateTriangleStrip(vtkDataSet* input, 
                                       vtkIdType cellId, 
                                       vtkIdList* ptIds);
  static double IntegratePolygon(vtkDataSet* input, 
                                 vtkIdType cellId, 
                                 vtkIdList* ptIds);
  static double IntegratePixel(vtkDataSet* input, 
                               vtkIdType cellId, 
                               vtkIdList* cellPtIds);
  static double IntegrateTriangle(vtkDataSet* input, 
                                  vtkIdType cellId, 
                                  vtkIdType pt1Id,
                                  vtkIdType pt2Id, 
                                  vtkIdType pt3Id);
  static double IntegrateTetrahedron(vtkDataSet* input, 
                                     vtkIdType cellId,  
                                     vtkIdType pt1Id, vtkIdType pt2Id, 
                                     vtkIdType pt3Id, vtkIdType pt4Id);
  static double IntegrateVoxel(vtkDataSet* input, 
                               vtkIdType cellId, 
                               vtkIdList* cellPtIds);
  static double IntegrateGeneral1DCell(vtkDataSet* input, 
                                       vtkIdType cellId, 
                                       vtkIdList* ptIds);
  static double IntegrateGeneral2DCell(vtkDataSet* input, 
                                       vtkIdType cellId, 
                                       vtkIdList* ptIds);
  static double IntegrateGeneral3DCell(vtkDataSet* input, 
                                       vtkIdType cellId, 
                                       vtkIdList* ptIds);
  
  vtkCellIntegrator(const vtkCellIntegrator&);  // Not implemented.
  void operator=(const vtkCellIntegrator&);  // Not implemented.
};

#endif