29 #ifndef vtkTemporalDelimitedTextReader_h
30 #define vtkTemporalDelimitedTextReader_h
34 #include "vtkIOInfovisModule.h"
40 VTK_ABI_NAMESPACE_BEGIN
69 vtkGetMacro(TimeColumnId,
int);
79 vtkGetMacro(RemoveTimeStepColumn,
bool);
125 bool RemoveTimeStepColumn =
true;
126 std::map<double, std::vector<vtkIdType>>
TimeMap;
138 VTK_ABI_NAMESPACE_END
reads in delimited ascii or unicode text files and outputs a vtkTable data structure.
a simple class to control print indentation
reads a delimited ascii or unicode text files and and output a temporal vtkTable.
vtkNew< vtkTable > ReadTable
vtkMTimeType GetMTime() override
Internal fields of this reader use a specific MTime (InternalMTime).
static vtkTemporalDelimitedTextReader * New()
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
In order to fill the TIME_STEPS and TIME_RANGE keys, this method call the ReadData function that actu...
void SetRemoveTimeStepColumn(bool rts)
Set the RemoveTimeStepColumn flag If this boolean is true, the output will not contain the Time step ...
~vtkTemporalDelimitedTextReader() override=default
vtkTimeStamp InternalMTime
std::string InternalColumnName
std::map< double, std::vector< vtkIdType > > TimeMap
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
bool EnforceColumnName()
This function checks if a user specified column has been set and check if this input is valid.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void InternalModified()
When parameters specific of this reader are modified, we do not want to re-read the input file.
std::string TimeColumnName
void SetTimeColumnName(std::string name)
Get/Set the name of the column to use as time indicator.
void SetTimeColumnId(int idx)
Get/Set the column to use as time indicator.
vtkTemporalDelimitedTextReader()
record modification and/or execution time
vtkTypeUInt32 vtkMTimeType