VTK: Filters/Hybrid/vtkDSPFilterGroup.h Source File

| VTK 9.3.1

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
20 VTK_ABI_NAMESPACE_BEGIN
21 class vtkDSPFilterGroupVectorIntSTLCloak;
22 class vtkDSPFilterGroupVectorVectorIntSTLCloak;
23 class vtkDSPFilterGroupVectorArraySTLCloak;
24 class vtkDSPFilterGroupVectorVectorArraySTLCloak;
25 class vtkDSPFilterGroupVectorStringSTLCloak;
26 class vtkDSPFilterGroupVectorDefinitionSTLCloak;
27 class vtkFloatArray;
28 class vtkDSPFilterDefinition;
29
30 class VTKFILTERSHYBRID_EXPORT vtkDSPFilterGroup : public vtkObject
31 {
32 public:
33 static vtkDSPFilterGroup* New();
34 vtkTypeMacro(vtkDSPFilterGroup, vtkObject);
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
37 void AddFilter(vtkDSPFilterDefinition* filter);
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
51 int GetNumFilters();
52
53 void Copy(vtkDSPFilterGroup* other);
54
55 vtkDSPFilterDefinition* GetFilter(int a_whichFilter);
56
57 vtkDSPFilterGroupVectorDefinitionSTLCloak* /*std::vector<vtkDSPFilterDefinition *>*/
58 FilterDefinitions;
59
60 protected:
61 vtkDSPFilterGroup();
62 ~vtkDSPFilterGroup() override;
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 *> >*/
69 CachedOutputs;
70 vtkDSPFilterGroupVectorVectorIntSTLCloak* /*std::vector< std::vector<int> >*/
71 CachedOutputTimesteps;
72
73 private:
74 vtkDSPFilterGroup(const vtkDSPFilterGroup&) = delete;
75 void operator=(const vtkDSPFilterGroup&) = delete;
76 };
77
78 VTK_ABI_NAMESPACE_END
79 #endif
vtkDSPFilterDefinition
used by the Exodus readers
Definition: vtkDSPFilterDefinition.h:25
vtkDSPFilterGroup
used by the Exodus readers
Definition: vtkDSPFilterGroup.h:31
vtkDSPFilterGroup::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDSPFilterGroup::GetOutput
vtkFloatArray * GetOutput(int a_whichFilter, int a_whichTimestep, int &a_instancesCalculated)
vtkDSPFilterGroup::GetInputVariableName
const char * GetInputVariableName(int a_whichFilter)
vtkDSPFilterGroup::CachedInputTimesteps
vtkDSPFilterGroupVectorIntSTLCloak * CachedInputTimesteps
Definition: vtkDSPFilterGroup.h:66
vtkDSPFilterGroup::vtkDSPFilterGroup
vtkDSPFilterGroup()
vtkDSPFilterGroup::AddFilter
void AddFilter(vtkDSPFilterDefinition *filter)
vtkDSPFilterGroup::New
static vtkDSPFilterGroup * New()
vtkDSPFilterGroup::~vtkDSPFilterGroup
~vtkDSPFilterGroup() override
vtkDSPFilterGroup::GetNumFilters
int GetNumFilters()
vtkDSPFilterGroup::CachedInputNames
vtkDSPFilterGroupVectorStringSTLCloak * CachedInputNames
Definition: vtkDSPFilterGroup.h:65
vtkDSPFilterGroup::GetCachedOutput
vtkFloatArray * GetCachedOutput(int a_whichFilter, int a_whichTimestep)
vtkDSPFilterGroup::GetFilter
vtkDSPFilterDefinition * GetFilter(int a_whichFilter)
vtkDSPFilterGroup::AddInputVariableInstance
void AddInputVariableInstance(const char *a_name, int a_timestep, vtkFloatArray *a_data)
vtkDSPFilterGroup::IsThisInputVariableInstanceNeeded
bool IsThisInputVariableInstanceNeeded(const char *a_name, int a_timestep, int a_outputTimestep)
vtkDSPFilterGroup::FilterDefinitions
vtkDSPFilterGroupVectorDefinitionSTLCloak * FilterDefinitions
Definition: vtkDSPFilterGroup.h:58
vtkDSPFilterGroup::CachedOutputTimesteps
vtkDSPFilterGroupVectorVectorIntSTLCloak * CachedOutputTimesteps
Definition: vtkDSPFilterGroup.h:71
vtkDSPFilterGroup::CachedOutputs
vtkDSPFilterGroupVectorVectorArraySTLCloak * CachedOutputs
Definition: vtkDSPFilterGroup.h:69
vtkDSPFilterGroup::CachedInputs
vtkDSPFilterGroupVectorArraySTLCloak * CachedInputs
Definition: vtkDSPFilterGroup.h:64
vtkDSPFilterGroup::Copy
void Copy(vtkDSPFilterGroup *other)
vtkDSPFilterGroup::RemoveFilter
void RemoveFilter(const char *a_outputVariableName)
vtkDSPFilterGroup::IsThisInputVariableInstanceCached
bool IsThisInputVariableInstanceCached(const char *a_name, int a_timestep)
vtkDSPFilterGroup::GetCachedInput
vtkFloatArray * GetCachedInput(int a_whichFilter, int a_whichTimestep)
vtkFloatArray
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:40
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:61
vtkObject.h