VTK  9.3.20240425
vtkDSPFilterGroup.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3// SPDX-License-Identifier: BSD-3-Clause
14#ifndef vtkDSPFilterGroup_h
15#define vtkDSPFilterGroup_h
16
17#include "vtkFiltersHybridModule.h" // For export macro
18#include "vtkObject.h"
19
20VTK_ABI_NAMESPACE_BEGIN
21class vtkDSPFilterGroupVectorIntSTLCloak;
22class vtkDSPFilterGroupVectorVectorIntSTLCloak;
23class vtkDSPFilterGroupVectorArraySTLCloak;
24class vtkDSPFilterGroupVectorVectorArraySTLCloak;
25class vtkDSPFilterGroupVectorStringSTLCloak;
26class vtkDSPFilterGroupVectorDefinitionSTLCloak;
27class vtkFloatArray;
29
30class VTKFILTERSHYBRID_EXPORT vtkDSPFilterGroup : public vtkObject
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
38 void RemoveFilter(const char* a_outputVariableName);
39
40 bool IsThisInputVariableInstanceNeeded(const char* a_name, int a_timestep, int a_outputTimestep);
41 bool IsThisInputVariableInstanceCached(const char* a_name, int a_timestep);
42 void AddInputVariableInstance(const char* a_name, int a_timestep, vtkFloatArray* a_data);
43
44 vtkFloatArray* GetOutput(int a_whichFilter, int a_whichTimestep, int& a_instancesCalculated);
45
46 vtkFloatArray* GetCachedInput(int a_whichFilter, int a_whichTimestep);
47 vtkFloatArray* GetCachedOutput(int a_whichFilter, int a_whichTimestep);
48
49 const char* GetInputVariableName(int a_whichFilter);
50
52
53 void Copy(vtkDSPFilterGroup* other);
54
55 vtkDSPFilterDefinition* GetFilter(int a_whichFilter);
56
57 vtkDSPFilterGroupVectorDefinitionSTLCloak* /*std::vector<vtkDSPFilterDefinition *>*/
59
60protected:
63
64 vtkDSPFilterGroupVectorArraySTLCloak* /*std::vector<vtkFloatArray *>*/ CachedInputs;
65 vtkDSPFilterGroupVectorStringSTLCloak* /*std::vector<std::string>*/ CachedInputNames;
66 vtkDSPFilterGroupVectorIntSTLCloak* /*std::vector<int>*/ CachedInputTimesteps;
67
68 vtkDSPFilterGroupVectorVectorArraySTLCloak* /*std::vector< std::vector<vtkFloatArray *> >*/
70 vtkDSPFilterGroupVectorVectorIntSTLCloak* /*std::vector< std::vector<int> >*/
72
73private:
74 vtkDSPFilterGroup(const vtkDSPFilterGroup&) = delete;
75 void operator=(const vtkDSPFilterGroup&) = delete;
76};
77
78VTK_ABI_NAMESPACE_END
79#endif
used by the Exodus readers
used by the Exodus readers
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDSPFilterGroupVectorIntSTLCloak * CachedInputTimesteps
void AddFilter(vtkDSPFilterDefinition *filter)
const char * GetInputVariableName(int a_whichFilter)
~vtkDSPFilterGroup() override
vtkDSPFilterGroupVectorStringSTLCloak * CachedInputNames
vtkFloatArray * GetCachedInput(int a_whichFilter, int a_whichTimestep)
void AddInputVariableInstance(const char *a_name, int a_timestep, vtkFloatArray *a_data)
bool IsThisInputVariableInstanceNeeded(const char *a_name, int a_timestep, int a_outputTimestep)
vtkDSPFilterGroupVectorDefinitionSTLCloak * FilterDefinitions
vtkDSPFilterGroupVectorVectorIntSTLCloak * CachedOutputTimesteps
vtkDSPFilterGroupVectorVectorArraySTLCloak * CachedOutputs
vtkDSPFilterDefinition * GetFilter(int a_whichFilter)
vtkDSPFilterGroupVectorArraySTLCloak * CachedInputs
void Copy(vtkDSPFilterGroup *other)
void RemoveFilter(const char *a_outputVariableName)
bool IsThisInputVariableInstanceCached(const char *a_name, int a_timestep)
static vtkDSPFilterGroup * New()
vtkFloatArray * GetCachedOutput(int a_whichFilter, int a_whichTimestep)
vtkFloatArray * GetOutput(int a_whichFilter, int a_whichTimestep, int &a_instancesCalculated)
dynamic, self-adjusting array of float
a simple class to control print indentation
Definition vtkIndent.h:108
abstract base class for most VTK objects
Definition vtkObject.h:162