VTK
vtkDSPFilterDefinition.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDSPFilterDefinition.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 ----------------------------------------------------------------------------*/
28 #ifndef __vtkDSPFilterDefinition_h
29 #define __vtkDSPFilterDefinition_h
30 
31 
32 
33 #include "vtkObject.h"
34 
35 class vtkDSPFilterDefinitionVectorDoubleSTLCloak;
36 class vtkDSPFilterDefinitionStringSTLCloak;
37 
39 {
40  public:
42  void PrintSelf(ostream &os, vtkIndent indent);
43  static vtkDSPFilterDefinition *New();
44 
45  protected:
49 
50  public:
51  void Copy(vtkDSPFilterDefinition *other);
52  void Clear();
53  bool IsThisInputVariableInstanceNeeded( int a_timestep, int a_outputTimestep );
54 
55  void PushBackNumeratorWeight(double a_value);
56  void PushBackDenominatorWeight(double a_value);
57  void PushBackForwardNumeratorWeight(double a_value);
58  void SetInputVariableName(char *a_value);
59  void SetOutputVariableName(char *a_value);
60  const char *GetInputVariableName();
61  const char *GetOutputVariableName();
62 
63  int GetNumNumeratorWeights();
64  int GetNumDenominatorWeights();
65  int GetNumForwardNumeratorWeights();
66 
67  double GetNumeratorWeight(int a_which);
68  double GetDenominatorWeight(int a_which);
69  double GetForwardNumeratorWeight(int a_which);
70 
71 
72  vtkDSPFilterDefinitionVectorDoubleSTLCloak *NumeratorWeights;
73  vtkDSPFilterDefinitionVectorDoubleSTLCloak *DenominatorWeights;
74  vtkDSPFilterDefinitionVectorDoubleSTLCloak *ForwardNumeratorWeights;
75 
76  vtkDSPFilterDefinitionStringSTLCloak *InputVariableName;
77  vtkDSPFilterDefinitionStringSTLCloak *OutputVariableName;
78 
79 protected:
80 
81 private:
82  vtkDSPFilterDefinition(const vtkDSPFilterDefinition&); // Not implemented
83  void operator=(const vtkDSPFilterDefinition&); // Not implemented
84 };
85 
86 
87 
88 #endif