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
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);
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
74protected:
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
86private:
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
vtkDSPFilterGroupVectorIntSTLCloak * CachedInputTimesteps
void AddFilter(vtkDSPFilterDefinition *filter)
const char * GetInputVariableName(int a_whichFilter)
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
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkDSPFilterDefinition * GetFilter(int a_whichFilter)
vtkDSPFilterGroupVectorArraySTLCloak * CachedInputs
void Copy(vtkDSPFilterGroup *other)
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)
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