/usr/include/vtk-6.3/vtkContourHelper.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 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkContourHelper.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 vtkContourHelper - A utility class used by various contour filters
// .SECTION Description
// This is a simple utility class that can be used by various contour filters to
// produce either triangles or polygons based on the outputTriangles parameter
// .SECTION See Also
// vtkContourGrid vtkCutter vtkContourFilter
#ifndef vtkContourHelper_h
#define vtkContourHelper_h
#include "vtkFiltersCoreModule.h" // For export macro
#include "vtkSmartPointer.h" //for a member variable
#include "vtkPolygonBuilder.h" //for a member variable
class vtkIncrementalPointLocator;
class vtkCellArray;
class vtkPointData;
class vtkCellData;
class vtkCell;
class vtkDataArray;
class vtkIdList;
class VTKFILTERSCORE_EXPORT vtkContourHelper
{
public:
vtkContourHelper(vtkIncrementalPointLocator *locator,
vtkCellArray *verts,
vtkCellArray *lines,
vtkCellArray* polys,
vtkPointData *inPd,
vtkCellData *inCd,
vtkPointData* outPd,
vtkCellData *outCd,
int estimatedSize,
bool outputTriangles);
~vtkContourHelper();
void Contour(vtkCell* cell, double value, vtkDataArray *cellScalars, vtkIdType cellId);
private:
vtkIncrementalPointLocator* Locator;
vtkCellArray* Verts;
vtkCellArray* Lines;
vtkCellArray* Polys;
vtkPointData* InPd;
vtkCellData* InCd;
vtkPointData* OutPd;
vtkCellData* OutCd;
vtkSmartPointer<vtkCellData> TriOutCd;
vtkCellArray* Tris;
vtkPolygonBuilder PolyBuilder;
vtkIdList* Poly;
bool GenerateTriangles;
};
#endif
// VTK-HeaderTest-Exclude: vtkContourHelper.h
|