31 #ifndef vtkTemporalDataSetCache_h
32 #define vtkTemporalDataSetCache_h
34 #include "vtkFiltersHybridModule.h"
52 vtkGetMacro(CacheSize,
int);
61 typedef std::map<double, std::pair<unsigned long, vtkDataObject*> >
CacheType;
Superclass for all sources, filters, and sinks in VTK.
a simple class to control print indentation
vtkTemporalDataSetCache()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
std::map< double, std::pair< unsigned long, vtkDataObject * > > CacheType
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
see vtkAlgorithm for details
~vtkTemporalDataSetCache() override
int FillOutputPortInformation(int vtkNotUsed(port), vtkInformation *info) override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkTemporalDataSetCache * New()
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetCacheSize(int size)
This is the maximum number of time steps that can be retained in memory.