/usr/include/paraview/vtkImageFileSeriesReader.h is in paraview-dev 5.0.1+dfsg1-4.
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 | /*=========================================================================
Program: ParaView
Module: vtkImageFileSeriesReader.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 vtkImageFileSeriesReader - adds support for optionally reading image
// stacks.
// .SECTION Description
// vtkImageFileSeriesReader is designed for vtkImageReader2 and subclasses. This
// adds API to optionally treat the file series as an image stack rather than an
// temporal dataset.
// When ReadAsImageStack is true, we simply by-pass the superclass and instead
// pass all filenames to the internal reader and then let it handle the pipeline
// requests.
#ifndef vtkImageFileSeriesReader_h
#define vtkImageFileSeriesReader_h
#include "vtkFileSeriesReader.h"
class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkImageFileSeriesReader : public vtkFileSeriesReader
{
public:
static vtkImageFileSeriesReader* New();
vtkTypeMacro(vtkImageFileSeriesReader, vtkFileSeriesReader);
void PrintSelf(ostream& os, vtkIndent indent);
vtkSetMacro(ReadAsImageStack, bool);
vtkGetMacro(ReadAsImageStack, bool);
vtkBooleanMacro(ReadAsImageStack, bool);
// Description:
// Overridden to directly call the internal reader after passing it the
// correct filenames when ReadAsImageStack is true.
virtual int ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
//BTX
protected:
vtkImageFileSeriesReader();
~vtkImageFileSeriesReader();
void UpdateFileNames();
bool ReadAsImageStack;
private:
vtkImageFileSeriesReader(const vtkImageFileSeriesReader&); // Not implemented
void operator=(const vtkImageFileSeriesReader&); // Not implemented
//ETX
};
#endif
|