vtkPPhastaReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPPhastaReader.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 =========================================================================*/
119 #ifndef vtkPPhastaReader_h
120 #define vtkPPhastaReader_h
121 
123 #include "vtkPVVTKExtensionsIOGeneralModule.h" //needed for exports
124 
125 class vtkPVXMLParser;
126 class vtkPhastaReader;
127 
128 struct vtkPPhastaReaderInternal;
129 
131 {
132 public:
133  static vtkPPhastaReader* New();
135  void PrintSelf(ostream& os, vtkIndent indent) override;
136 
138 
141  vtkSetStringMacro(FileName);
142  vtkGetStringMacro(FileName);
144 
146 
149  vtkSetClampMacro(TimeStepIndex, int, 0, VTK_INT_MAX);
150  vtkGetMacro(TimeStepIndex, int);
152 
154 
157  vtkGetVector2Macro(TimeStepRange, int);
159 
160  static int CanReadFile(const char* filename);
161 
162 protected:
164  ~vtkPPhastaReader() override;
165 
166  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
167  vtkInformationVector* outputVector) override;
168  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
169  vtkInformationVector* outputVector) override;
170 
171  char* FileName;
172 
174 
178  int TimeStepRange[2];
179 
182 
184 
185 private:
186  vtkPPhastaReaderInternal* Internal;
187 
188  vtkPPhastaReader(const vtkPPhastaReader&) = delete;
189  void operator=(const vtkPPhastaReader&) = delete;
190 };
191 
192 #endif
Reader for RPI's PHASTA software.
vtkPVXMLParser * Parser
parallel Phasta meta-file reader vtkPPhastaReader reads XML based Phasta meta-files and the underlyin...
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkMultiBlockDataSetAlgorithm * New()
vtkPhastaReader * Reader
#define VTKPVVTKEXTENSIONSIOGENERAL_EXPORT
This is a subclass of vtkXMLParser that constructs a representation of parsed XML using vtkPVXMLEleme...
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
void operator=(const vtkObjectBase &)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)