vtkTemporalDataSetCache Class Reference

#include <vtkTemporalDataSetCache.h>

Inheritance diagram for vtkTemporalDataSetCache:

Inheritance graph
[legend]
Collaboration diagram for vtkTemporalDataSetCache:

Collaboration graph
[legend]

List of all members.


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 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 vtkTemporalDataSetCacheNew ()
static int IsTypeOf (const char *type)
static vtkTemporalDataSetCacheSafeDownCast (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

Member Typedef Documentation

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.


Constructor & Destructor Documentation

vtkTemporalDataSetCache::vtkTemporalDataSetCache (  )  [protected]

vtkTemporalDataSetCache::~vtkTemporalDataSetCache (  )  [protected]


Member Function Documentation

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.


Member Data Documentation

Definition at line 58 of file vtkTemporalDataSetCache.h.

Definition at line 63 of file vtkTemporalDataSetCache.h.


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

Generated on Wed Jun 3 19:38:07 2009 for VTK by  doxygen 1.5.6