This file is indexed.

/usr/include/vtkQtChartSeriesModelRange.h is in libvtk5-qt4-dev 5.10.1+dfsg-2.1build1.

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:    vtkQtChartSeriesModelRange.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.

=========================================================================*/
/*-------------------------------------------------------------------------
  Copyright 2008 Sandia Corporation.
  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
  the U.S. Government retains certain rights in this software.
-------------------------------------------------------------------------*/

/// \file vtkQtChartSeriesModelRange.h
/// \date February 19, 2008

#ifndef _vtkQtChartSeriesModelRange_h
#define _vtkQtChartSeriesModelRange_h

#include "vtkQtChartExport.h"
#include <QObject>
#include <QList>    // Needed for return type.
#include <QVariant> // Needed for return type.

class vtkQtChartSeriesModel;


/// \class vtkQtChartSeriesModelRange
/// \brief
///   The vtkQtChartSeriesModelRange class stores the series ranges
///   for a series model.
class VTKQTCHART_EXPORT vtkQtChartSeriesModelRange : public QObject
{
  Q_OBJECT

public:
  /// \brief
  ///   Creates a chart series model range.
  /// \param parent The parent object.
  vtkQtChartSeriesModelRange(QObject *parent=0);
  ~vtkQtChartSeriesModelRange() {}

  /// \brief
  ///   Gets the chart series model.
  /// \return
  ///   A pointer to the chart series model.
  vtkQtChartSeriesModel *getModel() const {return this->Model;}

  /// \brief
  ///   Sets the chart series model.
  /// \param model The new chart series model.
  /// \param xShared True if the series share the same x-axis array.
  void setModel(vtkQtChartSeriesModel *model, bool xShared=false);

  /// \brief
  ///   Gets whether or not the series share the same x-axis array.
  /// \return
  ///   True if the series share the same x-axis array.
  bool isXRangeShared() const {return this->XRangeShared;}

  /// \brief
  ///   Gets the value range for a series component.
  /// \param series The series index.
  /// \param component The component index.
  /// \return
  ///   The value range for a series component.
  QList<QVariant> getSeriesRange(int series, int component) const;

private slots:
  /// Recalculates the series ranges.
  void resetSeries();

  /// \brief
  ///   Adds series ranges to the list.
  ///
  /// The range for each series is calculated when it is added.
  ///
  /// \param first The first series index.
  /// \param last The last series index.
  void insertSeries(int first, int last);

  /// \brief
  ///   Removes series ranges from the list.
  /// \param first The first series index.
  /// \param last The last series index.
  void removeSeries(int first, int last);

private:
  /// \brief
  ///   Calculates the range for the given series component.
  /// \param series The series index.
  /// \param component The component index.
  /// \return
  ///   The value range for a series component.
  QList<QVariant> computeSeriesRange(int series, int component);

private:
  QList<QList<QVariant> > Range[2]; ///< Stores the series ranges.
  vtkQtChartSeriesModel *Model;     ///< Stores the series model.
  bool XRangeShared; ///< True if the series share the same x-axis array.
};

#endif