/usr/include/paraview/vtkSpyPlotHistoryReader.h is in paraview-dev 5.0.1+dfsg1-4.
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 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkSpyPlotHistoryReader.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.
=========================================================================*/
// .NAME vtkSpyPlotHistoryReader - Read SPCTH Spy Plot history file format
// .SECTION Description
// vtkSpyPlotHistoryReader is a reader that reads SPCTH Spy Plot history
// file format files. Each row in the history files represents a time step
// and columns represent points and properties for the points
#ifndef vtkSpyPlotHistoryReader_h
#define vtkSpyPlotHistoryReader_h
#include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
#include "vtkTableAlgorithm.h"
class vtkTable;
class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkSpyPlotHistoryReader : public vtkTableAlgorithm
{
public:
static vtkSpyPlotHistoryReader* New();
vtkTypeMacro(vtkSpyPlotHistoryReader,vtkTableAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Get and set the file name. It is either the name of the case file or the
// name of the single binary file.
vtkSetStringMacro(FileName);
vtkGetStringMacro(FileName);
// Description:
// Get and set the comment character for the file
vtkSetStringMacro(CommentCharacter);
vtkGetStringMacro(CommentCharacter);
// Description:
// Get and set the delimeter character for the file
vtkSetStringMacro(Delimeter);
vtkGetStringMacro(Delimeter);
protected:
vtkSpyPlotHistoryReader();
~vtkSpyPlotHistoryReader();
// Read the case file and the first binary file do get meta
// informations (number of files, number of fields, number of timestep).
virtual int RequestInformation(vtkInformation *request,
vtkInformationVector **inputVector,
vtkInformationVector *outputVector);
// Read the data: get the number of pieces (=processors) and get
// my piece id (=my processor id).
virtual int RequestData(vtkInformation *request,
vtkInformationVector **inputVector,
vtkInformationVector *outputVector);
void FillCache();
void ConstructTableColumns(vtkTable *table);
char *FileName;
char *CommentCharacter;
char *Delimeter;
private:
// Description:
//Private storage of time information
class MetaInfo;
MetaInfo *Info;
// Description:
//Private storage of cached output tables for each time step.
class CachedTables;
CachedTables *CachedOutput;
vtkSpyPlotHistoryReader(const vtkSpyPlotHistoryReader&); // Not implemented.
void operator=(const vtkSpyPlotHistoryReader&); // Not implemented.
};
#endif
|