/usr/include/paraview/vtkXYChartNamedOptions.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 | /*=========================================================================
Program: ParaView
Module: vtkXYChartNamedOptions.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 vtkXYChartNamedOptions
// .SECTION Description
//
#ifndef __vtkXYChartNamedOptions_h
#define __vtkXYChartNamedOptions_h
#include "vtkChartNamedOptions.h"
#include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkXYChartNamedOptions : public vtkChartNamedOptions
{
public:
static vtkXYChartNamedOptions* New();
vtkTypeMacro(vtkXYChartNamedOptions, vtkChartNamedOptions);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Get/Set series visibility for the series with the given name.
void SetVisibility(const char* name, int visible);
void SetLineThickness(const char* name, int value);
void SetLineStyle(const char* name, int value);
void SetColor(const char* name, double r, double g, double b);
void SetAxisCorner(const char* name, int corner);
void SetMarkerStyle(const char* name, int style);
void SetLabel(const char* name, const char* label);
int GetVisibility(const char* name);
int GetLineThickness(const char* name);
const char* GetLabel(const char* name);
int GetLineStyle(const char* name);
int GetMarkerStyle(const char* name);
int GetAxisCorner(const char* name);
void GetColor(const char* name, double rgb[3]);
// Description:
// Set the X series to be used for the plots, if NULL then the index of the
// y series should be used.
void SetXSeriesName(const char* name);
const char* GetXSeriesName();
// Description:
// Set whether the index should be used for the x axis.
void SetUseIndexForXAxis(bool useIndex);
// Description:
// Hides or plots that belong to this table. When showing,
// only plots that are actually marked visible will be shown.
void SetTableVisibility(bool visible);
// Description:
// Set the type of plots that will be added to charts by this proxy.
// Uses the enum from vtkChart.
void SetChartType(int type);
// Description:
// Get the type of plots that will be added to charts by this proxy.
// Uses the enum from vtkChart.
int GetChartType();
void RemovePlotsFromChart();
//BTX
// Description:
// Class for storing individual series properties like color, label, line
// thickness...
class PlotInfo;
protected:
vtkXYChartNamedOptions();
~vtkXYChartNamedOptions();
// Description:
// Initializes the plots map, and adds a default series to plot
void RefreshPlots();
private:
vtkXYChartNamedOptions(const vtkXYChartNamedOptions&); // Not implemented
void operator=(const vtkXYChartNamedOptions&); // Not implemented
// 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);
PlotInfo& GetPlotInfo(const char* seriesName);
class vtkInternals;
vtkInternals* Internals;
//ETX
};
#endif
|