VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
vtkTemporalDataSetCache Class Reference

cache time steps More...

#include <vtkTemporalDataSetCache.h>

Inherits vtkAlgorithm.

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 vtkObjectBase * NewInstanceInternal () 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

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

vtkTemporalDataSetCache::vtkTemporalDataSetCache ( )
protected
vtkTemporalDataSetCache::~vtkTemporalDataSetCache ( )
protected

Member Function Documentation

static vtkTemporalDataSetCache* vtkTemporalDataSetCache::New ( )
static
static int vtkTemporalDataSetCache::IsTypeOf ( const char *  type)
static
virtual int vtkTemporalDataSetCache::IsA ( const char *  type)
virtual
static vtkTemporalDataSetCache* vtkTemporalDataSetCache::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkTemporalDataSetCache::NewInstanceInternal ( ) const
protectedvirtual
vtkTemporalDataSetCache* vtkTemporalDataSetCache::NewInstance ( ) const
void vtkTemporalDataSetCache::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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::ProcessRequest ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

see vtkAlgorithm for details

virtual int vtkTemporalDataSetCache::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual
virtual int vtkTemporalDataSetCache::FillOutputPortInformation ( int   vtkNotUsedport,
vtkInformation *  info 
)
protectedvirtual
virtual int vtkTemporalDataSetCache::RequestDataObject ( vtkInformation *  ,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
virtual int vtkTemporalDataSetCache::RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkTemporalDataSetCache::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Member Data Documentation

int vtkTemporalDataSetCache::CacheSize
protected

Definition at line 59 of file vtkTemporalDataSetCache.h.

CacheType vtkTemporalDataSetCache::Cache
protected

Definition at line 64 of file vtkTemporalDataSetCache.h.


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