/usr/include/paraview/vtkPVRecoverGeometryWireframe.h is in paraview-dev 5.0.1+dfsg1-4.
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 | // -*- c++ -*-
/*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: pqBlotDialog.h,v $
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 2009 Sandia Corporation.
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
the U.S. Government retains certain rights in this software.
-------------------------------------------------------------------------*/
// .NAME vtkPVRecoverGeometryWireframe - Get corrected wireframe from tesselated facets
//
// .SECTION Description
//
// When vtkPVGeometryFilter tessellates nonlinear faces into linear
// approximations, it introduces edges in the middle of the facets of the
// original mesh (as any valid tessellation would). To correct for this,
// vtkPVGeometryFilter also writes out some fields that allows use to identify
// the edges that are actually part of the original mesh. This filter works in
// conjunction with vtkPVGeometryFilter by taking its output, adding an edge
// flag and making the appropriate adjustments so that rendering with line
// fill mode will make the correct wireframe.
//
// .SECTION See Also
// vtkPVGeometryFilter
//
#ifndef vtkPVRecoverGeometryWireframe_h
#define vtkPVRecoverGeometryWireframe_h
#include "vtkPolyDataAlgorithm.h"
#include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkPVRecoverGeometryWireframe : public vtkPolyDataAlgorithm
{
public:
vtkTypeMacro(vtkPVRecoverGeometryWireframe, vtkPolyDataAlgorithm);
static vtkPVRecoverGeometryWireframe *New();
virtual void PrintSelf(ostream &os, vtkIndent indent);
// Description:
// In order to determine which edges existed in the original data, we need an
// identifier on each cell determining which face (not cell) it originally
// came from. The ids should be put in a cell data array with this name. The
// existance of this field is also a signal that this wireframe extraction is
// necessary.
static const char *ORIGINAL_FACE_IDS()
{ return "vtkPVRecoverWireframeOriginalFaceIds"; }
protected:
vtkPVRecoverGeometryWireframe();
~vtkPVRecoverGeometryWireframe();
virtual int RequestData(vtkInformation *request,
vtkInformationVector **inputVector,
vtkInformationVector *outputVector);
private:
vtkPVRecoverGeometryWireframe(const vtkPVRecoverGeometryWireframe &); // Not implemented
void operator=(const vtkPVRecoverGeometryWireframe &); // Not implemented
};
#endif //vtkPVRecoverGeometryWireframe_h
|