35#ifndef vtkCGNSFileSeriesReader_h
36#define vtkCGNSFileSeriesReader_h
38#include "vtkIOCGNSReaderModule.h"
46class vtkCGNSSubsetInclusionLattice;
92 vtkGetMacro(IgnoreReaderTime,
bool);
93 vtkSetMacro(IgnoreReaderTime,
bool);
94 vtkBooleanMacro(IgnoreReaderTime,
bool);
139 void OnReaderModifiedEvent();
142 unsigned long ReaderObserverId;
143 bool InProcessRequest;
144 std::vector<std::string> ActiveFiles;
Adds support for reading temporal or partitioned CGNS files.
void ChooseActiveFile(int index)
Select the file from this->ActiveFiles at the given index and set that on this->Reader.
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to setup the Reader and then forward the pass to the reader.
VTK_FILEPATH const char * GetCurrentFileName() const
Returns the filename being used for current timesteps.
void SetController(vtkMultiProcessController *controller)
Get/Set the controller.
virtual void SetReader(vtkCGNSReader *reader)
Get/Set the reader.
vtkNew< vtkFileSeriesHelper > FileSeriesHelper
void RemoveAllFileNames()
Add/remove files names in the file series.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool UpdateActiveFileSet(vtkInformation *info)
Update this->ActiveFiles, a collection of files to be read to satisfy the current request.
void AddFileName(VTK_FILEPATH const char *fname)
Add/remove files names in the file series.
static vtkCGNSFileSeriesReader * New()
vtkCGNSFileSeriesReader()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Handles the RequestData pass.
int CanReadFile(VTK_FILEPATH const char *filename)
Test a file for readability.
~vtkCGNSFileSeriesReader() override
vtkCGNSReader creates a multi-block dataset and reads unstructured grids, and structured meshes from ...
Helper class to process file series.
a simple class to control print indentation
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Multiprocessing communication superclass.
Allocate and hold a VTK object.