#include <vtkImageCacheFilter.h>
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.
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 vtkImageCacheFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageCacheFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageCacheFilter () | |
~vtkImageCacheFilter () | |
virtual vtkExecutive * | CreateDefaultExecutive () |
virtual void | ExecuteData (vtkDataObject *) |
vtkImageCacheFilter::vtkImageCacheFilter | ( | ) | [protected] |
vtkImageCacheFilter::~vtkImageCacheFilter | ( | ) | [protected] |
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.