This file is indexed.

/usr/include/vtk-5.8/vtkQtStackedChartOptions.h is in libvtk5-dev 5.8.0-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
 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
/*=========================================================================

  Program:   Visualization Toolkit
  Module:    vtkQtStackedChartOptions.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 vtkQtStackedChartOptions.h
/// \date February 27, 2008

#ifndef _vtkQtStackedChartOptions_h
#define _vtkQtStackedChartOptions_h

#include "vtkQtChartExport.h"
#include <QObject>
#include "vtkQtChartLayer.h" // needed for enum

class vtkQtChartHelpFormatter;


/// \class vtkQtStackedChartOptions
/// \brief
///   The vtkQtStackedChartOptions class stores the stacked chart
///   options.
class VTKQTCHART_EXPORT vtkQtStackedChartOptions : public QObject
{
  Q_OBJECT

public:
  /// \brief
  ///   Creates a stacked chart options instance.
  /// \param parent The parent object.
  vtkQtStackedChartOptions(QObject *parent=0);

  /// \brief
  ///   Makes a copy of another stacked chart options instance.
  /// \param other The stacked chart options to copy.
  vtkQtStackedChartOptions(const vtkQtStackedChartOptions &other);
  virtual ~vtkQtStackedChartOptions();

  /// \brief
  ///   Gets the pair of axes used by the stacked chart.
  /// \return
  ///   The pair of axes used by the bar chart.
  vtkQtChartLayer::AxesCorner getAxesCorner() const {return this->Axes;}

  /// \brief
  ///   Sets the pair of axes used by the stacked chart.
  /// \param axes The new chart axes.
  void setAxesCorner(vtkQtChartLayer::AxesCorner axes);

  /// \brief
  ///   Gets whether or not the sum is normalized.
  /// \return
  ///   True if the sum is normalized.
  bool isSumNormalized() const {return this->Normalized;}

  /// \brief
  ///   Sets whether or not the sum is normalized.
  /// \param normalized True if the sum should be normalized.
  void setSumNormalized(bool normalized);

  /// \brief
  ///   Gets whether or not gradients are displayed.
  /// \return
  ///   True if the stacked series should be displayed with a gradient.
  bool isGradientDislpayed() const {return this->Gradient;}

  /// \brief
  ///   Sets whether or not gradients are displayed.
  /// \param gradient True if gradients should be displayed.
  void setGradientDisplayed(bool gradient);

  /// \brief
  ///   Gets the chart help text formatter.
  ///
  /// The help text formatter stores the format string. It is also
  /// used to generate the help text.
  ///
  /// \return
  ///   A pointer to the chart help text formatter.
  vtkQtChartHelpFormatter *getHelpFormat() {return this->Help;}

  /// \brief
  ///   Gets the chart help text formatter.
  /// \return
  ///   A pointer to the chart help text formatter.
  const vtkQtChartHelpFormatter *getHelpFormat() const {return this->Help;}

  /// \brief
  ///   Makes a copy of another stacked chart options instance.
  /// \param other The stacked chart options to copy.
  /// \return
  ///   A reference to the object being assigned.
  vtkQtStackedChartOptions &operator=(const vtkQtStackedChartOptions &other);

signals:
  /// Emitted when the stacked chart axes change.
  void axesCornerChanged();

  /// Emitted when the sumation normalization changes.
  void sumationChanged();

  /// Emitted when the gradient option changes.
  void gradientChanged();

private:
  vtkQtChartLayer::AxesCorner Axes; ///< Stores the chart axes.
  vtkQtChartHelpFormatter *Help;    ///< Stores the help text format.

  /// True if the sum should be normalized.
  bool Normalized;

  /// True if the stacked series should be displayed with a gradient.
  bool Gradient;
};

#endif