vtkImageCacheFilter Class Reference

#include <vtkImageCacheFilter.h>

Inheritance diagram for vtkImageCacheFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkImageCacheFilter:

Collaboration graph
[legend]

List of all members.


Detailed Description

Caches multiple vtkImageData objects.

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 35 of file vtkImageCacheFilter.h.


Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

static vtkImageCacheFilterNew ()
static int IsTypeOf (const char *type)
static vtkImageCacheFilterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkImageCacheFilter ()
 ~vtkImageCacheFilter ()
virtual vtkExecutiveCreateDefaultExecutive ()
virtual void ExecuteData (vtkDataObject *)

Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 39 of file vtkImageCacheFilter.h.


Constructor & Destructor Documentation

vtkImageCacheFilter::vtkImageCacheFilter (  )  [protected]

vtkImageCacheFilter::~vtkImageCacheFilter (  )  [protected]


Member Function Documentation

static vtkImageCacheFilter* vtkImageCacheFilter::New (  )  [static]

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

Reimplemented from vtkAlgorithm.

virtual const char* vtkImageCacheFilter::GetClassName (  )  [virtual]

Reimplemented from vtkImageAlgorithm.

static int vtkImageCacheFilter::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 vtkImageAlgorithm.

virtual int vtkImageCacheFilter::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 vtkImageAlgorithm.

static vtkImageCacheFilter* vtkImageCacheFilter::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkImageAlgorithm.

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

void vtkImageCacheFilter::SetCacheSize ( int  size  ) 

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

int vtkImageCacheFilter::GetCacheSize (  ) 

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

virtual vtkExecutive* vtkImageCacheFilter::CreateDefaultExecutive (  )  [protected, virtual]

Create a default executive. If the DefaultExecutivePrototype is set, a copy of it is created in CreateDefaultExecutive() using NewInstance(). Otherwise, vtkStreamingDemandDrivenPipeline is created.

Reimplemented from vtkAlgorithm.

virtual void vtkImageCacheFilter::ExecuteData ( vtkDataObject output  )  [protected, virtual]

This method is the old style execute method

Reimplemented from vtkImageAlgorithm.


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

Generated on Wed Jun 3 19:08:37 2009 for VTK by  doxygen 1.5.6