/usr/include/vtk-6.3/vtkGeoProjectionSource.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 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkGeoProjectionSource.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 vtkGeoProjectionSource - A 2D geographic geometry source
//
// .SECTION Description
// vtkGeoProjectionSource is a vtkGeoSource suitable for use in vtkTerrain2D.
// This source uses the libproj4 library to produce geometry patches at
// multiple resolutions. Each patch covers a specific region in projected
// space.
#include "vtkGeovisCoreModule.h" // For export macro
#include "vtkGeoSource.h"
class vtkAbstractTransform;
class vtkGeoTerrainNode;
class vtkMutexLock;
class VTKGEOVISCORE_EXPORT vtkGeoProjectionSource : public vtkGeoSource
{
public:
static vtkGeoProjectionSource *New();
vtkTypeMacro(vtkGeoProjectionSource,vtkGeoSource);
virtual void PrintSelf( ostream& os, vtkIndent indent );
vtkGeoProjectionSource();
~vtkGeoProjectionSource();
// Description:
// Blocking methods for sources with low latency.
virtual bool FetchRoot(vtkGeoTreeNode* root);
virtual bool FetchChild(vtkGeoTreeNode* node, int index, vtkGeoTreeNode* child);
// Description:
// The projection ID defining the projection. Initial value is 0.
vtkGetMacro(Projection, int);
virtual void SetProjection(int projection);
// Description:
// The minimum number of cells per node.
vtkGetMacro(MinCellsPerNode, int);
vtkSetMacro(MinCellsPerNode, int);
// Description:
// Return the projection transformation used by this 2D terrain.
virtual vtkAbstractTransform* GetTransform();
protected:
void RefineAndComputeError(vtkGeoTerrainNode* node);
int Projection;
int MinCellsPerNode;
virtual void SetTransform(vtkAbstractTransform* transform);
vtkMutexLock* TransformLock;
vtkAbstractTransform* Transform;
private:
vtkGeoProjectionSource(const vtkGeoProjectionSource&); // Not implemented
void operator=(const vtkGeoProjectionSource&); // Not implemented
};
|