VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
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 Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageCacheFilterNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

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

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


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 40 of file vtkImageCacheFilter.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 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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

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

Reimplemented from vtkImageAlgorithm.

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.

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

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, provided for the sake of backwards compatibility with older filters and readers.

Reimplemented from vtkImageAlgorithm.


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