VTK
vtkTRUCHASReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTRUCHASReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
26 #ifndef vtkTRUCHASReader_h
27 #define vtkTRUCHASReader_h
28 
29 #include "vtkIOTRUCHASModule.h" // For export macro
31 
33 
34 class VTKIOTRUCHAS_EXPORT vtkTRUCHASReader
36 {
37 public:
38  static vtkTRUCHASReader *New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
46  vtkSetStringMacro(FileName);
47  vtkGetStringMacro(FileName);
49 
53  static int CanReadFile(const char *filename);
54 
56 
61  int GetNumberOfBlockArrays();
62  const char* GetBlockArrayName(int index);
63  void SetBlockArrayStatus(const char* gridname, int status);
64  int GetBlockArrayStatus(const char* gridname);
66 
72  int GetNumberOfPointArrays();
73 
78  const char* GetPointArrayName(int index);
79 
81 
84  int GetPointArrayStatus(const char* name);
85  void SetPointArrayStatus(const char* name, int status);
87 
93  int GetNumberOfCellArrays();
94 
99  const char* GetCellArrayName(int index);
100 
102 
105  int GetCellArrayStatus(const char* name);
106  void SetCellArrayStatus(const char* name, int status);
108 
109 protected:
111  ~vtkTRUCHASReader() override;
112 
117  vtkInformationVector *) override;
122  vtkInformationVector *) override;
123 
124  char *FileName;
125 
126  class Internal;
127  Internal * Internals;
128  friend class Internal;
129 
133 
134 private:
135  vtkTRUCHASReader(const vtkTRUCHASReader&) = delete;
136  void operator=(const vtkTRUCHASReader&) = delete;
137 
138 };
139 
140 #endif
read GE TRUCHAS format HDF5 files
vtkDataArraySelection * PointArrayChoices
vtkDataArraySelection * BlockChoices
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
Store on/off settings for data arrays for a vtkSource.
vtkDataArraySelection * CellArrayChoices
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.