/usr/include/vtk-6.2/vtkTransposeTable.h is in libvtk6-dev 6.2.0+dfsg1-10build1.
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 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkTransposeTable.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 vtkTransposeTable - Transpose an input table.
//
// .SECTION Description
// This algorithm allows to transpose a vtkTable as a matrix.
// Columns become rows and vice versa. A new column can be added to
// the result table at index 0 to collect the name of the initial
// columns (when AddIdColumn is true). Such a column can be used
// to name the columns of the result.
// Note that columns of the output table will have a variant type
// is the columns of the initial table are not consistant.
#ifndef vtkTransposeTable_h
#define vtkTransposeTable_h
#include "vtkFiltersCoreModule.h" // For export macro
#include "vtkTableAlgorithm.h"
class VTKFILTERSCORE_EXPORT vtkTransposeTable : public vtkTableAlgorithm
{
public:
static vtkTransposeTable* New();
vtkTypeMacro(vtkTransposeTable, vtkTableAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// This flag indicates if a column must be inserted at index 0
// with the names (ids) of the input columns.
// Default: true
vtkGetMacro(AddIdColumn, bool);
vtkSetMacro(AddIdColumn, bool);
vtkBooleanMacro(AddIdColumn, bool);
// Description:
// This flag indicates if the output column must be named using the
// names listed in the index 0 column.
// Default: false
vtkGetMacro(UseIdColumn, bool);
vtkSetMacro(UseIdColumn, bool);
vtkBooleanMacro(UseIdColumn, bool);
// Description:
// Get/Set the name of the id column added by option AddIdColumn.
// Default: ColName
vtkGetStringMacro(IdColumnName);
vtkSetStringMacro(IdColumnName);
protected:
vtkTransposeTable();
~vtkTransposeTable();
int RequestData(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
bool AddIdColumn;
bool UseIdColumn;
char* IdColumnName;
private:
vtkTransposeTable(const vtkTransposeTable&); // Not implemented
void operator=(const vtkTransposeTable&); // Not implemented
};
#endif
|