/usr/include/vtk-7.1/vtkAppendPoints.h is in libvtk7-dev 7.1.1+dfsg1-2.
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 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkAppendPoints.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.
=========================================================================*/
/**
* @class vtkAppendPoints
* @brief appends points of one or more vtkPolyData data sets
*
*
* vtkAppendPoints is a filter that appends the points and associated data
* of one or more polygonal (vtkPolyData) datasets. This filter can optionally
* add a new array marking the input index that the point came from.
*
* @sa
* vtkAppendFilter vtkAppendPolyData
*/
#ifndef vtkAppendPoints_h
#define vtkAppendPoints_h
#include "vtkFiltersGeneralModule.h" // For export macro
#include "vtkPolyDataAlgorithm.h"
class VTKFILTERSGENERAL_EXPORT vtkAppendPoints : public vtkPolyDataAlgorithm
{
public:
static vtkAppendPoints *New();
vtkTypeMacro(vtkAppendPoints,vtkPolyDataAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
//@{
/**
* Sets the output array name to fill with the input connection index
* for each point. This provides a way to trace a point back to a
* particular input. If this is NULL (the default), the array is not generated.
*/
vtkSetStringMacro(InputIdArrayName);
vtkGetStringMacro(InputIdArrayName);
//@}
//@{
/**
* Set/get the desired precision for the output type. See the documentation
* for the vtkAlgorithm::DesiredOutputPrecision enum for an explanation of
* the available precision settings. If the desired precision is
* DEFAULT_PRECISION and any of the inputs are double precision, then the
* output precision will be double precision. Otherwise, if the desired
* precision is DEFAULT_PRECISION and all the inputs are single precision,
* then the output will be single precision.
*/
vtkSetMacro(OutputPointsPrecision,int);
vtkGetMacro(OutputPointsPrecision,int);
//@}
protected:
vtkAppendPoints();
~vtkAppendPoints() VTK_OVERRIDE;
// Usual data generation method
int RequestData(vtkInformation *,
vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
int FillInputPortInformation(int, vtkInformation *) VTK_OVERRIDE;
char* InputIdArrayName;
int OutputPointsPrecision;
private:
vtkAppendPoints(const vtkAppendPoints&) VTK_DELETE_FUNCTION;
void operator=(const vtkAppendPoints&) VTK_DELETE_FUNCTION;
};
#endif
|