/usr/include/vtk-6.3/vtkMergeColumns.h is in libvtk6-dev 6.3.0+dfsg1-5.
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 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkMergeColumns.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.
=========================================================================*/
/*-------------------------------------------------------------------------
Copyright 2008 Sandia Corporation.
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
the U.S. Government retains certain rights in this software.
-------------------------------------------------------------------------*/
// .NAME vtkMergeColumns - merge two columns into a single column
//
// .SECTION Description
// vtkMergeColumns replaces two columns in a table with a single column
// containing data in both columns. The columns are set using
//
// SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_ROWS, "col1")
//
// and
//
// SetInputArrayToProcess(1, 0, 0, vtkDataObject::FIELD_ASSOCIATION_ROWS, "col2")
//
// where "col1" and "col2" are the names of the columns to merge.
// The user may also specify the name of the merged column.
// The arrays must be of the same type.
// If the arrays are numeric, the values are summed in the merged column.
// If the arrays are strings, the values are concatenated. The strings are
// separated by a space if they are both nonempty.
#ifndef vtkMergeColumns_h
#define vtkMergeColumns_h
#include "vtkInfovisCoreModule.h" // For export macro
#include "vtkTableAlgorithm.h"
class VTKINFOVISCORE_EXPORT vtkMergeColumns : public vtkTableAlgorithm
{
public:
static vtkMergeColumns* New();
vtkTypeMacro(vtkMergeColumns,vtkTableAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// The name to give the merged column created by this filter.
vtkSetStringMacro(MergedColumnName);
vtkGetStringMacro(MergedColumnName);
protected:
vtkMergeColumns();
~vtkMergeColumns();
char* MergedColumnName;
int RequestData(
vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
private:
vtkMergeColumns(const vtkMergeColumns&); // Not implemented
void operator=(const vtkMergeColumns&); // Not implemented
};
#endif
|