/usr/include/vtk-5.10/vtkBoostBiconnectedComponents.h is in libvtk5-dev 5.10.1+dfsg-2.1build1.
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: vtkBoostBiconnectedComponents.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 vtkBoostBiconnectedComponents - Find the biconnected components of a graph
//
// .SECTION Description
// The biconnected components of a graph are maximal regions of the graph where
// the removal of any single vertex from the region will not disconnect the
// graph. Every edge belongs to exactly one biconnected component. The
// biconnected component of each edge is given in the edge array named
// "biconnected component". The biconnected component of each vertex is also
// given in the vertex array named "biconnected component". Cut vertices (or
// articulation points) belong to multiple biconnected components, and break
// the graph apart if removed. These are indicated by assigning a component
// value of -1. To get the biconnected components that a cut vertex belongs
// to, traverse its edge list and collect the distinct component ids for its
// incident edges.
//
// Self-loop edges that start and end at the same vertex are not
// assigned a biconnected component, and are given component id -1.
//
// .SECTION Caveats
// The boost graph bindings currently only support boost version 1.33.1.
// There are apparently backwards-compatibility issues with later versions.
#ifndef __vtkBoostBiconnectedComponents_h
#define __vtkBoostBiconnectedComponents_h
#include "vtkUndirectedGraphAlgorithm.h"
class VTK_INFOVIS_EXPORT vtkBoostBiconnectedComponents : public vtkUndirectedGraphAlgorithm
{
public:
static vtkBoostBiconnectedComponents *New();
vtkTypeMacro(vtkBoostBiconnectedComponents, vtkUndirectedGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Set the output array name. If no output array name is
// set then the name "biconnected component" is used.
vtkSetStringMacro(OutputArrayName);
protected:
vtkBoostBiconnectedComponents();
~vtkBoostBiconnectedComponents();
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
private:
char* OutputArrayName;
vtkBoostBiconnectedComponents(const vtkBoostBiconnectedComponents&); // Not implemented.
void operator=(const vtkBoostBiconnectedComponents&); // Not implemented.
};
#endif
|