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 =========================================================================*/
86 #ifndef vtkPlot3DMetaReader_h
87 #define vtkPlot3DMetaReader_h
88 
89 #include "vtkIOParallelModule.h" // For export macro
91 
92 #include "vtk_jsoncpp_fwd.h" // For forward declarations
93 
94 struct vtkPlot3DMetaReaderInternals;
95 
97 
98 class VTKIOPARALLEL_EXPORT vtkPlot3DMetaReader : public vtkMultiBlockDataSetAlgorithm
99 {
100 public:
101  static vtkPlot3DMetaReader* New();
103  void PrintSelf(ostream& os, vtkIndent indent) override;
104 
106 
110  vtkSetStringMacro(FileName);
111  vtkGetStringMacro(FileName);
113 
114 protected:
116  ~vtkPlot3DMetaReader() override;
117 
118  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
119  vtkInformationVector* outputVector) override;
121 
122  char* FileName;
123 
124  void SetAutoDetectFormat(Json::Value* value);
125  void SetByteOrder(Json::Value* value);
126  void SetPrecision(Json::Value* val);
127  void SetMultiGrid(Json::Value* val);
128  void SetFormat(Json::Value* val);
129  void SetBlanking(Json::Value* val);
130  void Set2D(Json::Value* val);
131  void SetR(Json::Value* val);
132  void SetGamma(Json::Value* val);
133  void SetFileNames(Json::Value* val);
134  void SetLanguage(Json::Value* val);
135  void AddFunctions(Json::Value* val);
136  void SetFunctionNames(Json::Value* val);
137 
138 private:
139  vtkPlot3DMetaReader(const vtkPlot3DMetaReader&) = delete;
140  void operator=(const vtkPlot3DMetaReader&) = delete;
141 
143  vtkPlot3DMetaReaderInternals* Internal;
144 };
145 
146 #endif
vtkPlot3DMetaReader
reads meta-files points to PLOT3D files
Definition: vtkPlot3DMetaReader.h:98
vtkPlot3DMetaReader::FileName
char * FileName
Definition: vtkPlot3DMetaReader.h:122
vtkX3D::value
Definition: vtkX3D.h:226
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkMultiBlockDataSetAlgorithm::New
static vtkMultiBlockDataSetAlgorithm * New()
vtkMultiBlockPLOT3DReader
read PLOT3D data files
Definition: vtkMultiBlockPLOT3DReader.h:124
vtkMultiBlockDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:89
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkMultiBlockDataSetAlgorithm.h
vtkMultiBlockDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:64
vtkMultiBlockDataSetAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:80
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:32