This file is indexed.

/usr/include/vtk-6.3/vtkFocalPlanePointPlacer.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
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
/*=========================================================================

  Program:   Visualization Toolkit
  Module:    vtkFocalPlanePointPlacer.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
// .SECTION Description
//
//
// .SECTION See Also

#ifndef vtkFocalPlanePointPlacer_h
#define vtkFocalPlanePointPlacer_h

#include "vtkInteractionWidgetsModule.h" // For export macro
#include "vtkPointPlacer.h"

class vtkRenderer;

class VTKINTERACTIONWIDGETS_EXPORT vtkFocalPlanePointPlacer : public vtkPointPlacer
{
public:
  // Description:
  // Instantiate this class.
  static vtkFocalPlanePointPlacer *New();

  // Description:
  // Standard methods for instances of this class.
  vtkTypeMacro(vtkFocalPlanePointPlacer,vtkPointPlacer);
  void PrintSelf(ostream& os, vtkIndent indent);

  // Descirption:
  // Given a renderer and a display position, compute
  // the world position and orientation. The orientation
  // computed by the placer will always line up with the
  // standard coordinate axes. The world position will be
  // computed by projecting the display position onto the
  // focal plane. This method is typically used to place a
  // point for the first time.
  int ComputeWorldPosition( vtkRenderer *ren,
                            double displayPos[2],
                            double worldPos[3],
                            double worldOrient[9] );

  // Description:
  // Given a renderer, a display position, and a reference
  // world position, compute a new world position. The
  // orientation will be the standard coordinate axes, and the
  // computed world position will be created by projecting
  // the display point onto a plane that is parallel to
  // the focal plane and runs through the reference world
  // position. This method is typically used to move existing
  // points.
  int ComputeWorldPosition( vtkRenderer *ren,
                            double displayPos[2],
                            double refWorldPos[3],
                            double worldPos[3],
                            double worldOrient[9] );

  // Description:
  // Validate a world position. All world positions
  // are valid so these methods always return 1.
  int ValidateWorldPosition( double worldPos[3] );
  int ValidateWorldPosition( double worldPos[3],
                             double worldOrient[9]);

  // Description:
  // Optionally specify a signed offset from the focal plane for the points to
  // be placed at.  If negative, the constraint plane is offset closer to the
  // camera. If positive, its further away from the camera.
  vtkSetMacro( Offset, double );
  vtkGetMacro( Offset, double );

  // Description:
  // Optionally Restrict the points to a set of bounds. The placer will
  // invalidate points outside these bounds.
  vtkSetVector6Macro( PointBounds, double );
  vtkGetVector6Macro( PointBounds, double );

protected:
  vtkFocalPlanePointPlacer();
  ~vtkFocalPlanePointPlacer();

  void GetCurrentOrientation( double worldOrient[9] );

  double PointBounds[6];
  double Offset;

private:
  vtkFocalPlanePointPlacer(const vtkFocalPlanePointPlacer&);  //Not implemented
  void operator=(const vtkFocalPlanePointPlacer&);  //Not implemented
};

#endif