VTK
|
Caches multiple vtkImageData objects. More...
#include <vtkImageCacheFilter.h>
Public Types | |
typedef vtkImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageCacheFilter * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageCacheFilter () | |
~vtkImageCacheFilter () | |
virtual vtkExecutive * | CreateDefaultExecutive () |
virtual void | ExecuteData (vtkDataObject *) |
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.
Definition at line 36 of file vtkImageCacheFilter.h.
Reimplemented from vtkImageAlgorithm.
Definition at line 40 of file vtkImageCacheFilter.h.
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.
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.
static vtkImageCacheFilter* vtkImageCacheFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
void vtkImageCacheFilter::SetCacheSize | ( | int | size | ) |
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.