VTK  9.6.20260523
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
22VTK_ABI_NAMESPACE_BEGIN
23class vtkDataObject;
25
26class VTKCOMMONCACHE_EXPORT vtkMeshCacheRunner
27{
28public:
35 vtkDataObjectMeshCache* cache, vtkDataObject* input, vtkDataObject* output, bool alwaysUpdate);
36
41
46
51
52private:
53 vtkDataObjectMeshCache* MeshCache;
54 vtkDataObject* Input;
55 vtkDataObject* Output;
56 bool AlwaysUpdateCache = false;
57 bool CacheLoaded = false;
58};
59
60VTK_ABI_NAMESPACE_END
61#endif
62// VTK-HeaderTest-Exclude: vtkMeshCacheRunner.h
vtkDataObjectMeshCache is a class to store and reuse the mesh of a vtkDataSet, while forwarding data ...
general representation of visualization data
vtkMeshCacheRunner(vtkDataObjectMeshCache *cache, vtkDataObject *input, vtkDataObject *output, bool alwaysUpdate)
Initialize the runner.
~vtkMeshCacheRunner()
Cleanup temporary arrays, and update cache if AlwaysUpdateCache is true.
void UpdateCache()
Update the cache with output.
bool GetCacheLoaded()
Return true if the cache was loaded into output at construction.