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
vtkPlot3DMetaReader
reads meta-files points to PLOT3D files
Definition: vtkPlot3DMetaReader.h:93
vtkPlot3DMetaReader::FileName
char * FileName
Definition: vtkPlot3DMetaReader.h:121
vtkX3D::value
Definition: vtkX3D.h:220
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkMultiBlockDataSetAlgorithm::New
static vtkMultiBlockDataSetAlgorithm * New()
vtkMultiBlockPLOT3DReader
read PLOT3D data files
Definition: vtkMultiBlockPLOT3DReader.h:131
vtkMultiBlockDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:91
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
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:70
vtkMultiBlockDataSetAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:83
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:35