12 #ifndef vtkFileSeriesWriter_h 13 #define vtkFileSeriesWriter_h 44 vtkSetStringMacro(FileNameMethod);
45 vtkGetStringMacro(FileNameMethod);
52 vtkSetStringMacro(FileName);
53 vtkGetStringMacro(FileName);
67 vtkGetMacro(WriteAllTimeSteps,
int);
68 vtkSetMacro(WriteAllTimeSteps,
int);
69 vtkBooleanMacro(WriteAllTimeSteps,
int);
77 vtkGetMacro(WriteJsonMetaFile,
bool);
78 vtkSetMacro(WriteJsonMetaFile,
bool);
79 vtkBooleanMacro(WriteJsonMetaFile,
bool);
90 vtkGetStringMacro(FileNameSuffix);
91 vtkSetStringMacro(FileNameSuffix);
98 vtkGetMacro(MinTimeStep,
int);
99 vtkSetClampMacro(MinTimeStep,
int, 0, VTK_INT_MAX);
108 vtkGetMacro(MaxTimeStep,
int);
109 vtkSetMacro(MaxTimeStep,
int);
116 vtkGetMacro(TimeStepStride,
int);
117 vtkSetClampMacro(TimeStepStride,
int, 1, VTK_INT_MAX);
133 static bool SuffixValidation(
char* fileNameSuffix);
150 void SetWriterFileName(
const char* fname);
153 void WriteInternal();
154 bool AppendFileNameForTimeStep(std::ostringstream& fname,
int timeIndex,
bool appendPath =
true);
157 char* FileNameMethod =
nullptr;
159 int WriteAllTimeSteps = 0;
160 bool WriteJsonMetaFile =
false;
161 char* FileNameSuffix =
nullptr;
162 int NumberOfTimeSteps = 1;
163 int CurrentTimeIndex = 0;
165 int MaxTimeStep = -1;
166 int TimeStepStride = 1;
169 char* FileName =
nullptr;
#define VTKPVVTKEXTENSIONSIOCORE_EXPORT
static vtkDataObjectAlgorithm * New()
vtkTypeUInt64 vtkMTimeType
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Run-time VTK interpreter.
meta-writer for writing a file series using writers that are not time-aware.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual vtkMTimeType GetMTime()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)
void SetInterpreter(vtkClientServerInterpreter *interp)
Get/Set the interpreter to use to call methods on the writer.