VTK  9.1.0
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
35class vtkDSPFilterGroupVectorIntSTLCloak;
36class vtkDSPFilterGroupVectorVectorIntSTLCloak;
37class vtkDSPFilterGroupVectorArraySTLCloak;
38class vtkDSPFilterGroupVectorVectorArraySTLCloak;
39class vtkDSPFilterGroupVectorStringSTLCloak;
40class vtkDSPFilterGroupVectorDefinitionSTLCloak;
41class vtkFloatArray;
43
44class VTKFILTERSHYBRID_EXPORT vtkDSPFilterGroup : public vtkObject
45{
46public:
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
74protected:
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
87private:
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.
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:113
abstract base class for most VTK objects
Definition: vtkObject.h:82