VTK  9.7.1
vtkMeshCacheRunner.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
17 #ifndef vtkMeshCacheRunner_h
18 #define vtkMeshCacheRunner_h
19 
20 #include "vtkCommonCacheModule.h" // Export macro
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class vtkDataObject;
25 
26 class VTKCOMMONCACHE_EXPORT vtkMeshCacheRunner
27 {
28 public:
35  vtkDataObjectMeshCache* cache, vtkDataObject* input, vtkDataObject* output, bool alwaysUpdate);
36 
41 
45  void UpdateCache();
46 
50  bool GetCacheLoaded();
51 
52 private:
53  vtkDataObjectMeshCache* MeshCache;
54  vtkDataObject* Input;
55  vtkDataObject* Output;
56  bool AlwaysUpdateCache = false;
57  bool CacheLoaded = false;
58 };
59 
60 VTK_ABI_NAMESPACE_END
61 #endif
62 // VTK-HeaderTest-Exclude: vtkMeshCacheRunner.h
An RAII class to easily use vtkDataObjectMeshCache.
vtkDataObjectMeshCache is a class to store and reuse the mesh of a vtkDataSet, while forwarding data ...
general representation of visualization data
Definition: vtkDataObject.h:55