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 =========================================================================*/
79 #ifndef vtkPlot3DMetaReader_h
80 #define vtkPlot3DMetaReader_h
81 
82 #include "vtkIOParallelModule.h" // For export macro
84 
85 struct vtkPlot3DMetaReaderInternals;
86 
88 
89 namespace Json
90 {
91  class Value;
92 }
93 
94 class VTKIOPARALLEL_EXPORT vtkPlot3DMetaReader : public vtkMultiBlockDataSetAlgorithm
95 {
96 public:
97  static vtkPlot3DMetaReader* New();
99  void PrintSelf(ostream& os, vtkIndent indent);
100 
102 
106  vtkSetStringMacro(FileName);
107  vtkGetStringMacro(FileName);
109 
110 protected:
113 
114  virtual int RequestInformation(vtkInformation* request,
115  vtkInformationVector** inputVector,
116  vtkInformationVector* outputVector);
117  virtual int RequestData(vtkInformation*,
120 
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 
137 private:
138  vtkPlot3DMetaReader(const vtkPlot3DMetaReader&) VTK_DELETE_FUNCTION;
139  void operator=(const vtkPlot3DMetaReader&) VTK_DELETE_FUNCTION;
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
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.