This file is indexed.

/usr/include/vtk-6.3/vtkEvent.h is in libvtk6-dev 6.3.0+dfsg1-11build1.

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
104
105
106
107
/*=========================================================================

  Program:   Visualization Toolkit
  Module:    vtkEvent.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 vtkEvent - a complete specification of a VTK event including all modifiers
// .SECTION Description
// vtkEvent is a class that fully describes a VTK event. It is used by the
// widgets to help specify the mapping between VTK events and widget events.


#ifndef vtkEvent_h
#define vtkEvent_h

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

class vtkRenderWindowInteractor;

class VTKINTERACTIONWIDGETS_EXPORT vtkEvent : public vtkObject
{
public:
  // Description:
  // The object factory constructor.
  static vtkEvent *New();

  // Description:
  // Standard macros.
  vtkTypeMacro(vtkEvent,vtkObject);
  void PrintSelf(ostream& os, vtkIndent indent);

//BTX
  // Description:
  // Ways to specify modifiers to VTK events. These can be logical OR'd to
  // produce combinations of modifiers.
  enum EventModifiers {
    AnyModifier = -1,
    NoModifier = 0,
    ShiftModifier = 1,
    ControlModifier = 2,
    AltModifier = 4
  };
//ETX

  // Description:
  // Set the modifier for the event.
  vtkSetMacro(EventId,unsigned long);
  vtkGetMacro(EventId,unsigned long);

  // Description:
  // Set the modifier for the event.
  vtkSetMacro(Modifier,int);
  vtkGetMacro(Modifier,int);

  // Description:
  // Set the KeyCode for the event.
  vtkSetMacro(KeyCode,char);
  vtkGetMacro(KeyCode,char);

  // Description:
  // Set the repease count for the event.
  vtkSetMacro(RepeatCount,int);
  vtkGetMacro(RepeatCount,int);

  // Description:
  // Set the complex key symbol (compound key strokes) for the event.
  vtkSetStringMacro(KeySym);
  vtkGetStringMacro(KeySym);

  // Description:
  // Convenience method computes the event modifier from an interactor.
  static int GetModifier(vtkRenderWindowInteractor*);

//BTX
  // Description:
  // Used to compare whether two events are equal. Takes into account
  // the EventId as well as the various modifiers.
  int operator==(vtkEvent*);
  int operator==(unsigned long VTKEvent);  //event with no modifiers
//ETX

protected:
  vtkEvent();
  virtual ~vtkEvent();

  unsigned long EventId;
  int           Modifier;
  char          KeyCode;
  int           RepeatCount;
  char*         KeySym;

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

};

#endif