VTK
vtkImageCacheFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageCacheFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkImageCacheFilter_h
30 #define vtkImageCacheFilter_h
31 
32 #include "vtkImagingCoreModule.h" // For export macro
33 #include "vtkImageAlgorithm.h"
34 
35 class vtkExecutive;
36 
37 class VTKIMAGINGCORE_EXPORT vtkImageCacheFilter : public vtkImageAlgorithm
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
49  void SetCacheSize(int size);
50  int GetCacheSize();
52 
53 protected:
56 
57  // Create a default executive.
58  virtual vtkExecutive* CreateDefaultExecutive() VTK_OVERRIDE;
59  virtual void ExecuteData(vtkDataObject *) VTK_OVERRIDE;
60 
61 private:
62  vtkImageCacheFilter(const vtkImageCacheFilter&) VTK_DELETE_FUNCTION;
63  void operator=(const vtkImageCacheFilter&) VTK_DELETE_FUNCTION;
64 };
65 
66 
67 
68 #endif
69 
70 
71 
vtkImageCacheFilter::CreateDefaultExecutive
virtual vtkExecutive * CreateDefaultExecutive() override
Create a default executive.
vtkImageCacheFilter
Caches multiple vtkImageData objects.
Definition: vtkImageCacheFilter.h:38
vtkImageAlgorithm.h
vtkImageCacheFilter::~vtkImageCacheFilter
~vtkImageCacheFilter()
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:41
vtkImageCacheFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkExecutive
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:50
vtkImageCacheFilter::GetCacheSize
int GetCacheSize()
vtkImageCacheFilter::vtkImageCacheFilter
vtkImageCacheFilter()
vtkImageCacheFilter::New
static vtkImageCacheFilter * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkX3D::size
@ size
Definition: vtkX3D.h:253
vtkImageCacheFilter::SetCacheSize
void SetCacheSize(int size)
This is the maximum number of images that can be retained in memory.
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65