/usr/include/vtk-5.10/vtkImageSource.h is in libvtk5-dev 5.10.1+dfsg-2.1build1.
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 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkImageSource.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 vtkImageSource - Source of data for the imaging pipeline
// .SECTION Description
// vtkImageSource is the superclass for all imaging sources and filters.
// The method Update(), called by the cache, is the major interface
// to the source.
// .SECTION See Also
// vtkImageToImageFilter
#ifndef __vtkImageSource_h
#define __vtkImageSource_h
#include "vtkSource.h"
class vtkImageData;
class VTK_FILTERING_EXPORT vtkImageSource : public vtkSource
{
public:
vtkTypeMacro(vtkImageSource,vtkSource);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Get the output of this source.
void SetOutput(vtkImageData *output);
vtkImageData *GetOutput();
vtkImageData *GetOutput(int idx);
protected:
vtkImageSource();
~vtkImageSource() {};
void Execute();
virtual void Execute(vtkImageData *data);
// a helper method that sets the extent and allocates the output
// passed into it and returns it as an image data
virtual vtkImageData *AllocateOutputData(vtkDataObject *out);
virtual int FillOutputPortInformation(int, vtkInformation*);
private:
vtkImageSource(const vtkImageSource&); // Not implemented.
void operator=(const vtkImageSource&); // Not implemented.
};
#endif
|