VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
vtkTemporalDataSetCache Class Reference

cache time steps More...

#include <vtkTemporalDataSetCache.h>

Inheritance diagram for vtkTemporalDataSetCache:
Inheritance graph
[legend]
Collaboration diagram for vtkTemporalDataSetCache:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkTemporalDataSetCacheNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetCacheSize (int size)
virtual int GetCacheSize ()

Static Public Member Functions

static vtkTemporalDataSetCacheNew ()
static int IsTypeOf (const char *type)
static vtkTemporalDataSetCacheSafeDownCast (vtkObjectBase *o)

Protected Types

typedef std::map< double,
std::pair< unsigned long,
vtkDataObject * > > 
CacheType

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkTemporalDataSetCache ()
 ~vtkTemporalDataSetCache ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info)
virtual int RequestDataObject (vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

int CacheSize
CacheType Cache

Detailed Description

cache time steps

vtkTemporalDataSetCache cache time step requests of a temporal dataset, when cached data is requested it is returned using a shallow copy.

Thanks:
Ken Martin (Kitware) and John Bidiscombe of CSCS - Swiss National Supercomputing Centre for creating and contributing this class. For related material, please refer to : John Biddiscombe, Berk Geveci, Ken Martin, Kenneth Moreland, David Thompson, "Time Dependent Processing in a Parallel Pipeline Architecture", IEEE Visualization 2007.
Tests:
vtkTemporalDataSetCache (Tests)

Definition at line 41 of file vtkTemporalDataSetCache.h.


Member Typedef Documentation

Reimplemented from vtkAlgorithm.

Definition at line 45 of file vtkTemporalDataSetCache.h.

typedef std::map<double,std::pair<unsigned long,vtkDataObject *> > vtkTemporalDataSetCache::CacheType [protected]

Definition at line 63 of file vtkTemporalDataSetCache.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkAlgorithm.

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkAlgorithm.

Reimplemented from vtkAlgorithm.

virtual vtkObjectBase* vtkTemporalDataSetCache::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkAlgorithm.

Reimplemented from vtkAlgorithm.

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 vtkAlgorithm.

This is the maximum number of time steps that can be retained in memory. it defaults to 10.

This is the maximum number of time steps that can be retained in memory. it defaults to 10.

virtual int vtkTemporalDataSetCache::ProcessRequest ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

see vtkAlgorithm for details

Reimplemented from vtkAlgorithm.

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 vtkAlgorithm.

virtual int vtkTemporalDataSetCache::FillOutputPortInformation ( int   vtkNotUsedport,
vtkInformation info 
) [protected, virtual]
virtual int vtkTemporalDataSetCache::RequestDataObject ( vtkInformation ,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Member Data Documentation

Definition at line 59 of file vtkTemporalDataSetCache.h.

Definition at line 64 of file vtkTemporalDataSetCache.h.


The documentation for this class was generated from the following file: