VTK
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:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
51 
53  void RemoveFilter(char *a_outputVariableName);
54 
55  bool IsThisInputVariableInstanceNeeded( const char *a_name, int a_timestep, int a_outputTimestep );
56  bool IsThisInputVariableInstanceCached( const char *a_name, int a_timestep );
57  void AddInputVariableInstance( const char *a_name, int a_timestep, vtkFloatArray *a_data );
58 
59  vtkFloatArray *GetOutput( int a_whichFilter, int a_whichTimestep, int &a_instancesCalculated );
60 
61  vtkFloatArray *GetCachedInput( int a_whichFilter, int a_whichTimestep );
62  vtkFloatArray *GetCachedOutput( int a_whichFilter, int a_whichTimestep );
63 
64  const char *GetInputVariableName(int a_whichFilter);
65 
67 
68  void Copy( vtkDSPFilterGroup *other );
69 
70  vtkDSPFilterDefinition *GetFilter(int a_whichFilter);
71 
72  vtkDSPFilterGroupVectorDefinitionSTLCloak * /*std::vector<vtkDSPFilterDefinition *>*/ FilterDefinitions;
73 
74 protected:
77 
78 
79  vtkDSPFilterGroupVectorArraySTLCloak * /*std::vector<vtkFloatArray *>*/ CachedInputs;
80  vtkDSPFilterGroupVectorStringSTLCloak * /*std::vector<std::string>*/ CachedInputNames;
81  vtkDSPFilterGroupVectorIntSTLCloak * /*std::vector<int>*/ CachedInputTimesteps;
82 
83  vtkDSPFilterGroupVectorVectorArraySTLCloak * /*std::vector< std::vector<vtkFloatArray *> >*/ CachedOutputs;
84  vtkDSPFilterGroupVectorVectorIntSTLCloak * /*std::vector< std::vector<int> >*/ CachedOutputTimesteps;
85 
86 private:
87  vtkDSPFilterGroup(const vtkDSPFilterGroup&) VTK_DELETE_FUNCTION;
88  void operator=(const vtkDSPFilterGroup&) VTK_DELETE_FUNCTION;
89 };
90 
91 #endif
used by the Exodus readers
used by the Exodus readers
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()
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
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkDSPFilterGroupVectorArraySTLCloak * CachedInputs
void Copy(vtkDSPFilterGroup *other)
bool IsThisInputVariableInstanceCached(const char *a_name, int a_timestep)
vtkFloatArray * GetCachedInput(int a_whichFilter, int a_whichTimestep)
void RemoveFilter(char *a_outputVariableName)
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:42
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:60