#include <vtkTemporalDataSetCache.h>
vtkTemporalDataSetCache cache time step requests of a temporal dataset, when cached data is requested it is returned using a shallow copy.
Definition at line 40 of file vtkTemporalDataSetCache.h.
Public Types | |
typedef vtkTemporalDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetCacheSize (int size) |
virtual int | GetCacheSize () |
Static Public Member Functions | |
static vtkTemporalDataSetCache * | New () |
static int | IsTypeOf (const char *type) |
static vtkTemporalDataSetCache * | SafeDownCast (vtkObject *o) |
Protected Types | |
typedef vtkstd::map< double, vtkstd::pair< unsigned long, vtkDataObject * > > | CacheType |
Protected Member Functions | |
vtkTemporalDataSetCache () | |
~vtkTemporalDataSetCache () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | CacheSize |
CacheType | Cache |
Reimplemented from vtkTemporalDataSetAlgorithm.
Definition at line 44 of file vtkTemporalDataSetCache.h.
typedef vtkstd::map<double,vtkstd::pair<unsigned long,vtkDataObject *> > vtkTemporalDataSetCache::CacheType [protected] |
Definition at line 62 of file vtkTemporalDataSetCache.h.
vtkTemporalDataSetCache::vtkTemporalDataSetCache | ( | ) | [protected] |
vtkTemporalDataSetCache::~vtkTemporalDataSetCache | ( | ) | [protected] |
static vtkTemporalDataSetCache* vtkTemporalDataSetCache::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkTemporalDataSetAlgorithm.
virtual const char* vtkTemporalDataSetCache::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkTemporalDataSetAlgorithm.
static int vtkTemporalDataSetCache::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkTemporalDataSetAlgorithm.
virtual int vtkTemporalDataSetCache::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkTemporalDataSetAlgorithm.
static vtkTemporalDataSetCache* vtkTemporalDataSetCache::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkTemporalDataSetAlgorithm.
void vtkTemporalDataSetCache::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkTemporalDataSetAlgorithm.
void vtkTemporalDataSetCache::SetCacheSize | ( | int | size | ) |
This is the maximum number of time steps that can be retained in memory. it defaults to 10.
virtual int vtkTemporalDataSetCache::GetCacheSize | ( | ) | [virtual] |
This is the maximum number of time steps that can be retained in memory. it defaults to 10.
virtual int vtkTemporalDataSetCache::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkTemporalDataSetAlgorithm.
virtual int vtkTemporalDataSetCache::RequestUpdateExtent | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkTemporalDataSetAlgorithm.
virtual int vtkTemporalDataSetCache::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkTemporalDataSetAlgorithm.
int vtkTemporalDataSetCache::CacheSize [protected] |
Definition at line 58 of file vtkTemporalDataSetCache.h.
CacheType vtkTemporalDataSetCache::Cache [protected] |
Definition at line 63 of file vtkTemporalDataSetCache.h.