This file is indexed.

/usr/include/VTKEdge/vtkKWEPaintbrushTesting.h is in libvtkedge-dev 0.2.0~20110819-1build2.

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
//=============================================================================
//   This file is part of VTKEdge. See vtkedge.org for more information.
//
//   Copyright (c) 2010 Kitware, Inc.
//
//   VTKEdge may be used under the terms of the BSD License
//   Please see the file Copyright.txt in the root directory of
//   VTKEdge for further information.
//
//   Alternatively, you may see: 
//
//   http://www.vtkedge.org/vtkedge/project/license.html
//
//
//   For custom extensions, consulting services, or training for
//   this or any other Kitware supported open source project, please
//   contact Kitware at sales@kitware.com.
//
//
//=============================================================================
// .NAME vtkKWEPaintbrushTesting - class providing framework for Paintbrush testing
// .SECTION Description
// vtkKWEPaintbrushTesting provides convenience utilities for paintbrush testing
// such as a 3 viewer slice viewer etc..

#ifndef __vtkKWEPaintbrushTesting_h
#define __vtkKWEPaintbrushTesting_h

#include "vtkImageActor.h"
#include "vtkImageData.h"
#include "vtkRenderWindow.h"
#include "vtkRenderWindowInteractor.h"
#include <vtksys/SystemTools.hxx>
#include <vtksys/CommandLineArguments.hxx>
#include <vtksys/stl/string>
#include <vtksys/stl/vector>
#include <iostream>
#include "VTKEdgeConfigure.h" // export

class vtkImageViewer2;
class vtkImageReader2;
class vtkKWEPaintbrushWidget;
class vtkSliderWidget;
class vtkKWEPaintbrushTestingSliderCallback;

// ------- The window class used by all examples ------------
class VTKEdge_WIDGETS_EXPORT vtkKWEPaintbrushTesting : public vtkObject
{
public:
  static vtkKWEPaintbrushTesting* New();
  vtkTypeRevisionMacro(vtkKWEPaintbrushTesting,vtkObject);

  // Description:
  // Initialize() must be called before Run()
  void Initialize();
  int Run();

  // Description:
  // Filename of the data to be loaded.
  vtkSetStringMacro( Filename );
  vtkGetStringMacro( Filename );

  // Description:
  // Default is a single render window. However you can display
  // Axial, Sagittal, Coronal, Blank render windows simultaneously
  vtkSetMacro( FourPaneView, int );
  vtkGetMacro( FourPaneView, int );
  vtkBooleanMacro( FourPaneView, int );

  // Description:
  // Get the image actors
  vtkImageActor * GetAxialImageActor()    { return this->GetNthImageActor(0); }
  vtkImageActor * GetCoronalImageActor()  { return this->GetNthImageActor(1); }
  vtkImageActor * GetSagittalImageActor() { return this->GetNthImageActor(2); }
  vtkImageActor * GetNthImageActor( int i );
  vtkImageViewer2 * GetNthImageViewer( int i ) { return this->ImageViewer[i]; }

  // Description:
  // Set/Get the input image data that the actors are showing. This may be
  // set explicitly as below, or may be supplied via a user-argument to the
  // example application as "--data somefile.mha" . If no input is specified,
  // a default head MRI image is loaded up.
  vtkGetObjectMacro( Input, vtkImageData );
  virtual void SetInput( vtkImageData * );

protected:
  vtkKWEPaintbrushTesting();
  ~vtkKWEPaintbrushTesting();

  vtkImageViewer2                           *ImageViewer[3];
  vtkKWEPaintbrushTestingSliderCallback        *SliderCallbacks[3];
  vtkSliderWidget                           *SliderWidget[3];
  vtkImageData                              *Input;
  char *                                    Filename;
  int                                       FourPaneView;
  void GetValidReader( vtkImageReader2 * & reader, const char * filename);

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

#endif