/usr/include/vtk-6.3/vtkChacoGraphReader.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 74 75 76 77 78 79 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkChacoGraphReader.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 vtkChacoGraphReader - Reads chaco graph files.
//
// .SECTION Description
// vtkChacoGraphReader reads in files in the Chaco format into a vtkGraph.
// An example is the following
// <code>
// 10 13
// 2 6 10
// 1 3
// 2 4 8
// 3 5
// 4 6 10
// 1 5 7
// 6 8
// 3 7 9
// 8 10
// 1 5 9
// </code>
// The first line specifies the number of vertices and edges
// in the graph. Each additional line contains the vertices adjacent
// to a particular vertex. In this example, vertex 1 is adjacent to
// 2, 6 and 10, vertex 2 is adjacent to 1 and 3, etc. Since Chaco ids
// start at 1 and VTK ids start at 0, the vertex ids in the vtkGraph
// will be 1 less than the Chaco ids.
#ifndef _vtkChacoGraphReader_h
#define _vtkChacoGraphReader_h
#include "vtkIOInfovisModule.h" // For export macro
#include "vtkUndirectedGraphAlgorithm.h"
class VTKIOINFOVIS_EXPORT vtkChacoGraphReader : public vtkUndirectedGraphAlgorithm
{
public:
static vtkChacoGraphReader *New();
vtkTypeMacro(vtkChacoGraphReader, vtkUndirectedGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// The Chaco file name.
vtkGetStringMacro(FileName);
vtkSetStringMacro(FileName);
protected:
vtkChacoGraphReader();
~vtkChacoGraphReader();
virtual int RequestData(
vtkInformation *,
vtkInformationVector **,
vtkInformationVector *);
private:
char* FileName;
vtkChacoGraphReader(const vtkChacoGraphReader&); // Not implemented.
void operator=(const vtkChacoGraphReader&); // Not implemented.
};
#endif // _vtkChacoGraphReader_h
|