VTK
vtkPlot3DMetaReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPlot3DMetaReader.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
81 #ifndef vtkPlot3DMetaReader_h
82 #define vtkPlot3DMetaReader_h
83 
84 #include "vtkIOParallelModule.h" // For export macro
86 
87 #include "vtk_jsoncpp_fwd.h" // For forward declarations
88 
89 struct vtkPlot3DMetaReaderInternals;
90 
92 
93 class VTKIOPARALLEL_EXPORT vtkPlot3DMetaReader : public vtkMultiBlockDataSetAlgorithm
94 {
95 public:
96  static vtkPlot3DMetaReader* New();
98  void PrintSelf(ostream& os, vtkIndent indent) override;
99 
101 
105  vtkSetStringMacro(FileName);
106  vtkGetStringMacro(FileName);
108 
109 protected:
111  ~vtkPlot3DMetaReader() override;
112 
113  int RequestInformation(vtkInformation* request,
114  vtkInformationVector** inputVector,
115  vtkInformationVector* outputVector) override;
118  vtkInformationVector*) override;
119 
120 
121  char* FileName;
122 
123  void SetAutoDetectFormat(Json::Value* value);
124  void SetByteOrder(Json::Value* value);
125  void SetPrecision(Json::Value* val);
126  void SetMultiGrid(Json::Value* val);
127  void SetFormat(Json::Value* val);
128  void SetBlanking(Json::Value* val);
129  void Set2D(Json::Value* val);
130  void SetR(Json::Value* val);
131  void SetGamma(Json::Value* val);
132  void SetFileNames(Json::Value* val);
133  void SetLanguage(Json::Value* val);
134  void AddFunctions(Json::Value* val);
135  void SetFunctionNames(Json::Value* val);
136 
137 private:
138  vtkPlot3DMetaReader(const vtkPlot3DMetaReader&) = delete;
139  void operator=(const vtkPlot3DMetaReader&) = delete;
140 
142  vtkPlot3DMetaReaderInternals* Internal;
143 };
144 
145 #endif
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
reads meta-files points to PLOT3D files
Store zero or more vtkInformation instances.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.