This file is indexed.

/usr/include/qwtplot3d/qwt3d_surfaceplot.h is in libqwtplot3d-qt5-dev 0.2.7+svn191-10.1.

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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#ifndef qwt3d_SurfacePlot_h__2004_03_05_11_36_begin_guarded_code
#define qwt3d_SurfacePlot_h__2004_03_05_11_36_begin_guarded_code

#include "qwt3d_plot.h"

namespace Qwt3D
{
//! A class representing  Surfaces
/**
	A SurfacePlot ...
	
*/
class QWT3D_EXPORT SurfacePlot : public Plot3D
{
    Q_OBJECT

public:
#if QT_VERSION < 0x040000
  SurfacePlot( QWidget* parent = 0, const char* name = 0 );
#else
  SurfacePlot( QWidget * parent = 0, const QGLWidget * shareWidget = 0 );
#endif  
  ~SurfacePlot();
	void updateNormals(); //!< Recalculates surface normals;
	int	resolution() const {return resolution_p;} //!< Returns data resolution (1 means all data)
	std::pair<int,int> facets() const; //!< Returns the number of mesh cells for the ORIGINAL data
  bool loadFromData(Qwt3D::Triple** data, unsigned int columns, unsigned int rows
    , bool uperiodic = false, bool vperiodic = false);
	bool loadFromData(double** data, unsigned int columns, unsigned int rows
																		,double minx, double maxx, double miny, double maxy);
	bool loadFromData(Qwt3D::TripleField const& data, Qwt3D::CellField const& poly);
 	
  
  //! Equivalent to loadFromData();
  /**
  \deprecated  Use loadFromData instead
  */
  bool createDataRepresentation(Qwt3D::Triple** data, unsigned int columns, unsigned int rows
    , bool uperiodic = false, bool vperiodic = false)
  {
    return loadFromData(data, columns, rows, uperiodic, vperiodic);
  }
  //! Equivalent to loadFromData();
  /**
  \deprecated  Use loadFromData instead
  */
	bool createDataRepresentation(double** data, unsigned int columns, unsigned int rows
																		,double minx, double maxx, double miny, double maxy)
  {
    return loadFromData(data, columns, rows, minx, maxx, miny, maxy);
  }
  //! Equivalent to loadFromData();
  /**
  \deprecated  Use loadFromData instead
  */
  bool createDataRepresentation(Qwt3D::TripleField const& data, Qwt3D::CellField const& poly)
  {
    return loadFromData(data, poly);
  }
  
  
  Qwt3D::FLOORSTYLE floorStyle() const { return floorstyle_;} //!< Return floor style
  void	setFloorStyle( Qwt3D::FLOORSTYLE val ) {floorstyle_ = val;} //!< Sets floor style
	void showNormals(bool); //!< Draw normals to every vertex
	bool normals() const { return datanormals_p;} //!< Returns \c true, if normal drawing is on
	
	void setNormalLength(double val); //!< Sets length of normals in percent per hull diagonale
	double normalLength() const { return normalLength_p; }//!< Returns relative length of normals
	void setNormalQuality(int val); //!< Increases plotting quality of normal arrows
	int normalQuality() const { return normalQuality_p; }//!< Returns plotting quality of normal arrows


signals:
	void resolutionChanged(int);

public slots:
	void setResolution( int );

protected:
  bool datanormals_p;
	double normalLength_p;
	int normalQuality_p;
  
	virtual	void calculateHull();
  virtual void createData();
  virtual void createEnrichment(Qwt3D::Enrichment& p);
	virtual void createFloorData();
 	void createNormals();
	void createPoints();	

	int resolution_p;

  void readIn(Qwt3D::GridData& gdata, Triple** data, unsigned int columns, unsigned int rows);
  void readIn(Qwt3D::GridData& gdata, double** data, unsigned int columns, unsigned int rows, 
              double minx, double maxx, double miny, double maxy);
  void calcNormals(GridData& gdata);
  void sewPeriodic(GridData& gdata);

  //void calcLowResolution();
private:

	void Data2Floor();
	void Isolines2Floor();
	
  Qwt3D::FLOORSTYLE floorstyle_;

  // grid plot
  
  Qwt3D::GridData* actualDataG_;
	virtual void createDataG();
	virtual void createFloorDataG();
  void createNormalsG();
	void Data2FloorG();
	void Isolines2FloorG();
	void setColorFromVertexG(int ix, int iy, bool skip = false);


  // mesh plot

  Qwt3D::CellData* actualDataC_;
	virtual void createDataC();
	virtual void createFloorDataC();
  void createNormalsC();
	void Data2FloorC();
	void Isolines2FloorC();
	void setColorFromVertexC(int node, bool skip = false);
};

} // ns


#endif