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 =========================================================================*/
78 #ifndef vtkPlot3DMetaReader_h
79 #define vtkPlot3DMetaReader_h
80 
81 #include "vtkIOParallelModule.h" // For export macro
83 
84 #include "vtk_jsoncpp_fwd.h" // For forward declarations
85 
86 struct vtkPlot3DMetaReaderInternals;
87 
89 
90 class VTKIOPARALLEL_EXPORT vtkPlot3DMetaReader : public vtkMultiBlockDataSetAlgorithm
91 {
92 public:
93  static vtkPlot3DMetaReader* New();
95  void PrintSelf(ostream& os, vtkIndent indent) override;
96 
98 
102  vtkSetStringMacro(FileName);
103  vtkGetStringMacro(FileName);
105 
106 protected:
108  ~vtkPlot3DMetaReader() override;
109 
110  int RequestInformation(vtkInformation* request,
111  vtkInformationVector** inputVector,
112  vtkInformationVector* outputVector) override;
115  vtkInformationVector*) override;
116 
117 
118  char* FileName;
119 
120  void SetAutoDetectFormat(Json::Value* value);
121  void SetByteOrder(Json::Value* value);
122  void SetPrecision(Json::Value* val);
123  void SetMultiGrid(Json::Value* val);
124  void SetFormat(Json::Value* val);
125  void SetBlanking(Json::Value* val);
126  void Set2D(Json::Value* val);
127  void SetR(Json::Value* val);
128  void SetGamma(Json::Value* val);
129  void SetFileNames(Json::Value* val);
130  void SetLanguage(Json::Value* val);
131  void AddFunctions(Json::Value* val);
132  void SetFunctionNames(Json::Value* val);
133 
134 private:
135  vtkPlot3DMetaReader(const vtkPlot3DMetaReader&) = delete;
136  void operator=(const vtkPlot3DMetaReader&) = delete;
137 
139  vtkPlot3DMetaReaderInternals* Internal;
140 };
141 
142 #endif
vtkPlot3DMetaReader
reads meta-files points to PLOT3D files
Definition: vtkPlot3DMetaReader.h:90
vtkPlot3DMetaReader::FileName
char * FileName
Definition: vtkPlot3DMetaReader.h:118
vtkX3D::value
Definition: vtkX3D.h:220
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkMultiBlockDataSetAlgorithm::New
static vtkMultiBlockDataSetAlgorithm * New()
vtkMultiBlockPLOT3DReader
read PLOT3D data files
Definition: vtkMultiBlockPLOT3DReader.h:125
vtkMultiBlockDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:88
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:80
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