/usr/include/vtk-5.10/vtkSESAMEReader.h is in libvtk5-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 111 112 113 114 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkSESAMEReader.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 vtkSESAMEReader - read SESAME files
// .SECTION Description
// vtkSESAMEReader is a source object that reads SESAME files.
// Currently supported tables include 301, 304, 502, 503, 504, 505, 602
//
// SESAMEReader creates rectilinear grid datasets. The dimension of the
// dataset depends upon the number of densities and temperatures in the table.
// Values at certain temperatures and densities are stored as scalars.
//
#ifndef __vtkSESAMEReader_h
#define __vtkSESAMEReader_h
#include <vtkRectilinearGridSource.h>
class vtkIntArray;
class VTK_IO_EXPORT vtkSESAMEReader : public vtkRectilinearGridSource
{
public:
static vtkSESAMEReader *New();
vtkTypeMacro(vtkSESAMEReader, vtkRectilinearGridSource);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Set the filename to read
void SetFileName(const char* file);
// Description:
// Get the filename to read
const char* GetFileName();
// Description:
// Return whether this is a valid file
int IsValidFile();
// Description:
// Get the number of tables in this file
int GetNumberOfTableIds();
// Description:
// Get the ids of the tables in this file
int* GetTableIds();
// Description:
// Returns the table ids in a data array.
vtkIntArray* GetTableIdsAsArray();
// Description:
// Set the table to read in
void SetTable(int tableId);
// Description:
// Get the table to read in
int GetTable();
// Description:
// Get the number of arrays for the table to read
int GetNumberOfTableArrayNames();
// Description:
// Get the number of arrays for the table to read
int GetNumberOfTableArrays()
{ return this->GetNumberOfTableArrayNames(); }
// Description:
// Get the names of arrays for the table to read
const char* GetTableArrayName(int index);
// Description:
// Set whether to read a table array
void SetTableArrayStatus(const char* name, int flag);
int GetTableArrayStatus(const char* name);
protected:
vtkSESAMEReader();
virtual ~vtkSESAMEReader();
//BTX
class MyInternal;
MyInternal* Internal;
//ETX
int OpenFile();
void CloseFile();
void Execute();
void ExecuteInformation();
int ReadTableValueLine ( float *v1, float *v2, float *v3,
float *v4, float *v5);
int JumpToTable( int tableID );
void ReadTable();
private:
vtkSESAMEReader(const vtkSESAMEReader&); // Not implemented.
void operator=(const vtkSESAMEReader&); // Not implemented.
};
#endif
|