VTK  9.0.3
vtkDSPFilterGroup.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDSPFilterGroup.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 =========================================================================*/
15 /*----------------------------------------------------------------------------
16  Copyright (c) Sandia Corporation
17  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18 ----------------------------------------------------------------------------*/
29 #ifndef vtkDSPFilterGroup_h
30 #define vtkDSPFilterGroup_h
31 
32 #include "vtkFiltersHybridModule.h" // For export macro
33 #include "vtkObject.h"
34 
35 class vtkDSPFilterGroupVectorIntSTLCloak;
36 class vtkDSPFilterGroupVectorVectorIntSTLCloak;
37 class vtkDSPFilterGroupVectorArraySTLCloak;
38 class vtkDSPFilterGroupVectorVectorArraySTLCloak;
39 class vtkDSPFilterGroupVectorStringSTLCloak;
40 class vtkDSPFilterGroupVectorDefinitionSTLCloak;
41 class vtkFloatArray;
43 
44 class VTKFILTERSHYBRID_EXPORT vtkDSPFilterGroup : public vtkObject
45 {
46 public:
48  vtkTypeMacro(vtkDSPFilterGroup, vtkObject);
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
52  void RemoveFilter(const char* a_outputVariableName);
53 
54  bool IsThisInputVariableInstanceNeeded(const char* a_name, int a_timestep, int a_outputTimestep);
55  bool IsThisInputVariableInstanceCached(const char* a_name, int a_timestep);
56  void AddInputVariableInstance(const char* a_name, int a_timestep, vtkFloatArray* a_data);
57 
58  vtkFloatArray* GetOutput(int a_whichFilter, int a_whichTimestep, int& a_instancesCalculated);
59 
60  vtkFloatArray* GetCachedInput(int a_whichFilter, int a_whichTimestep);
61  vtkFloatArray* GetCachedOutput(int a_whichFilter, int a_whichTimestep);
62 
63  const char* GetInputVariableName(int a_whichFilter);
64 
66 
67  void Copy(vtkDSPFilterGroup* other);
68 
69  vtkDSPFilterDefinition* GetFilter(int a_whichFilter);
70 
71  vtkDSPFilterGroupVectorDefinitionSTLCloak* /*std::vector<vtkDSPFilterDefinition *>*/
73 
74 protected:
76  ~vtkDSPFilterGroup() override;
77 
78  vtkDSPFilterGroupVectorArraySTLCloak* /*std::vector<vtkFloatArray *>*/ CachedInputs;
79  vtkDSPFilterGroupVectorStringSTLCloak* /*std::vector<std::string>*/ CachedInputNames;
80  vtkDSPFilterGroupVectorIntSTLCloak* /*std::vector<int>*/ CachedInputTimesteps;
81 
82  vtkDSPFilterGroupVectorVectorArraySTLCloak* /*std::vector< std::vector<vtkFloatArray *> >*/
84  vtkDSPFilterGroupVectorVectorIntSTLCloak* /*std::vector< std::vector<int> >*/
86 
87 private:
88  vtkDSPFilterGroup(const vtkDSPFilterGroup&) = delete;
89  void operator=(const vtkDSPFilterGroup&) = delete;
90 };
91 
92 #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.
vtkFloatArray * GetOutput(int a_whichFilter, int a_whichTimestep, int &a_instancesCalculated)
const char * GetInputVariableName(int a_whichFilter)
vtkDSPFilterGroupVectorIntSTLCloak * CachedInputTimesteps
void AddFilter(vtkDSPFilterDefinition *filter)
static vtkDSPFilterGroup * New()
~vtkDSPFilterGroup() override
vtkDSPFilterGroupVectorStringSTLCloak * CachedInputNames
vtkFloatArray * GetCachedOutput(int a_whichFilter, int a_whichTimestep)
vtkDSPFilterDefinition * GetFilter(int a_whichFilter)
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
vtkDSPFilterGroupVectorArraySTLCloak * CachedInputs
void Copy(vtkDSPFilterGroup *other)
void RemoveFilter(const char *a_outputVariableName)
bool IsThisInputVariableInstanceCached(const char *a_name, int a_timestep)
vtkFloatArray * GetCachedInput(int a_whichFilter, int a_whichTimestep)
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:36
a simple class to control print indentation
Definition: vtkIndent.h:34
abstract base class for most VTK objects
Definition: vtkObject.h:54