Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkImageCacheFilter Class Reference

Caches multiple vtkImageData objects. More...

#include <vtkImageCacheFilter.h>

Inheritance diagram for vtkImageCacheFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkImageCacheFilter:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Static Public Methods

vtkImageCacheFilter * New ()
int IsTypeOf (const char *type)
vtkImageCacheFilter * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageCacheFilter ()
 ~vtkImageCacheFilter ()

Protected Attributes

int CacheSize
vtkImageData ** Data
unsigned long * Times

Detailed Description

Caches multiple vtkImageData objects.

Date:
2001/12/07 14:03:48
Revision:
1.15
Thanks:
Thanks to C. Charles Law who developed this class.
vtkImageCacheFilter keep a number of vtkImageDataObjects from previous updates to satisfy future updates without needing to update the input. It does not change the data at all. It just makes the pipeline more efficient at the expense of using extra memory.
Tests:
vtkImageCacheFilter (Tests)

Definition at line 61 of file vtkImageCacheFilter.h.


Constructor & Destructor Documentation

vtkImageCacheFilter::vtkImageCacheFilter   [protected]
 

vtkImageCacheFilter::~vtkImageCacheFilter   [protected]
 


Member Function Documentation

vtkImageCacheFilter* vtkImageCacheFilter::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageToImageFilter.

virtual const char* vtkImageCacheFilter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

int vtkImageCacheFilter::IsTypeOf const char *    type [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 vtkImageToImageFilter.

virtual int vtkImageCacheFilter::IsA const char *    type [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 vtkImageToImageFilter.

vtkImageCacheFilter* vtkImageCacheFilter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

void vtkImageCacheFilter::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 vtkImageToImageFilter.

void vtkImageCacheFilter::SetCacheSize int    size
 

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

virtual int vtkImageCacheFilter::GetCacheSize   [virtual]
 

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

void vtkImageCacheFilter::UpdateData vtkDataObject   outData [virtual]
 

This is an internal method that you should not call.

Reimplemented from vtkSource.


Member Data Documentation

int vtkImageCacheFilter::CacheSize [protected]
 

Definition at line 82 of file vtkImageCacheFilter.h.

vtkImageData** vtkImageCacheFilter::Data [protected]
 

Definition at line 84 of file vtkImageCacheFilter.h.

unsigned long* vtkImageCacheFilter::Times [protected]
 

Definition at line 86 of file vtkImageCacheFilter.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:30:08 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001