ParaView
vtkAdditionalFieldReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAdditionalFieldReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef vtkAdditionalFieldReader_h
23 #define vtkAdditionalFieldReader_h
24 
25 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
26 #include "vtkPassInputTypeAlgorithm.h"
27 
28 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkAdditionalFieldReader : public vtkPassInputTypeAlgorithm
29 {
30 public:
31  vtkTypeMacro(vtkAdditionalFieldReader, vtkPassInputTypeAlgorithm);
32  static vtkAdditionalFieldReader* New();
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
36 
39  vtkSetStringMacro(FileName);
40  vtkGetStringMacro(FileName);
42 
43 protected:
46 
47  int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
48 
52  char* FileName;
53 
54 private:
55  vtkAdditionalFieldReader(const vtkAdditionalFieldReader&) VTK_DELETE_FUNCTION;
56  void operator=(const vtkAdditionalFieldReader&) VTK_DELETE_FUNCTION;
57 };
58 #endif
char * FileName
The name of the file to be opened.
read field data arrays and add to an input