This file is indexed.

/usr/include/paraview/vtkChartNamedOptions.h is in paraview-dev 4.0.1-1ubuntu1.

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
133
134
135
136
/*=========================================================================

  Program:   ParaView
  Module:    vtkChartNamedOptions.h

  Copyright (c) Kitware, Inc.
  All rights reserved.
  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 vtkChartNamedOptions
// .SECTION Description
//

#ifndef __vtkChartNamedOptions_h
#define __vtkChartNamedOptions_h

#include "vtkObject.h"
#include "vtkWeakPointer.h" // For ivars
#include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
#include <vector> //For ivars

class vtkChart;
class vtkTable;
class vtkScatterPlotMatrix;

class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkChartNamedOptions : public vtkObject
{
public:
  static vtkChartNamedOptions* New();
  vtkTypeMacro(vtkChartNamedOptions, vtkObject);
  void PrintSelf(ostream& os, vtkIndent indent);

  // Description:
  // Set series visibility for the series with the given name.
  virtual void SetVisibility(const char* name, int visible);

  // Description:
  // Get series visibility for the series with the given name.
  virtual int GetVisibility(const char* name);

  // Description:
  // Set the label for the specified series.
  virtual void SetLabel(const char* name, const char* label);

  // Description:
  // Get the label for the specified series.
  virtual const char* GetLabel(const char* name);

  // Description:
  // Hides or plots that belong to this table.  When showing,
  // only plots that are actually marked visible will be shown.
  virtual void SetTableVisibility(bool visible);

  // Description:
  // Set the type of plots that will be added to charts by this proxy.
  // Uses the enum from vtkChart.
  virtual void SetChartType(int type);

  // Description:
  // Get the type of plots that will be added to charts by this proxy.
  // Uses the enum from vtkChart.
  virtual int GetChartType();

// This BTX is here because currently vtkCharts is not client-server wrapped.
//BTX
  // Description:
  // Sets the internal chart object whose options will be manipulated.
  void SetChart(vtkChart* chart);
  vtkChart * GetChart();

  // Description:
  // Sets the internal plot matrix object whose options will be manipulated.
  void SetPlotMatrix(vtkScatterPlotMatrix* plotmatrix);
  vtkScatterPlotMatrix * GetPlotMatrix();

//ETX

  // Description:
  // Update the plot options to ensure that the charts have are in sync.
  void UpdatePlotOptions();

  // Description:
  // Sets the internal table object that can be plotted.
  void SetTables(vtkTable** table, const char **tableBlockNames, int n);


  void GetSeriesNames(std::vector<const char*>& names);

  virtual void RemovePlotsFromChart();

//BTX
  // Description:
  // Class for storing individual series properties like label, visibility.
  class PlotInfo;

protected:
  vtkChartNamedOptions();
  ~vtkChartNamedOptions();

  // Description:
  // Initializes the plots map, and adds a default series to plot.
  virtual void RefreshPlots();

  vtkWeakPointer<vtkChart> Chart;
  std::vector<vtkWeakPointer<vtkTable> > Tables;
  std::vector<std::string>               TableBlockNames;
  std::vector<std::string>               CachedSerieNames;
  vtkWeakPointer<vtkScatterPlotMatrix> PlotMatrix;
  int ChartType;
  bool TableVisibility;

private:
  vtkChartNamedOptions(const vtkChartNamedOptions&); // Not implemented
  void operator=(const vtkChartNamedOptions&); // Not implemented

  PlotInfo& GetPlotInfo(const char* seriesName);

  // Description:
  // If the plot exists this will set its visibility.  If the plot does not yet
  // exist and visible is true then the plot will be created.  The series name
  // is passed to this method so it can be used to initialize the vtkPlot if needed.
  void SetPlotVisibilityInternal(PlotInfo& info, bool visible,
                                 const char* seriesName);

  vtkTimeStamp RefreshTime;
  class vtkInternals;
  vtkInternals* Internals;
//ETX
};

#endif