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 "vtkFiltersHybridModule.h" // For export macro
34 #include "vtkObject.h"
35 
36 class vtkDSPFilterDefinitionVectorDoubleSTLCloak;
37 class vtkDSPFilterDefinitionStringSTLCloak;
38 
40 {
41  public:
43  void PrintSelf(ostream &os, vtkIndent indent);
44  static vtkDSPFilterDefinition *New();
45 
46  protected:
50 
51  public:
52  void Copy(vtkDSPFilterDefinition *other);
53  void Clear();
54  bool IsThisInputVariableInstanceNeeded( int a_timestep, int a_outputTimestep );
55 
56  void PushBackNumeratorWeight(double a_value);
57  void PushBackDenominatorWeight(double a_value);
58  void PushBackForwardNumeratorWeight(double a_value);
59  void SetInputVariableName(char *a_value);
60  void SetOutputVariableName(char *a_value);
61  const char *GetInputVariableName();
62  const char *GetOutputVariableName();
63 
64  int GetNumNumeratorWeights();
65  int GetNumDenominatorWeights();
66  int GetNumForwardNumeratorWeights();
67 
68  double GetNumeratorWeight(int a_which);
69  double GetDenominatorWeight(int a_which);
70  double GetForwardNumeratorWeight(int a_which);
71 
72 
73  vtkDSPFilterDefinitionVectorDoubleSTLCloak *NumeratorWeights;
74  vtkDSPFilterDefinitionVectorDoubleSTLCloak *DenominatorWeights;
75  vtkDSPFilterDefinitionVectorDoubleSTLCloak *ForwardNumeratorWeights;
76 
77  vtkDSPFilterDefinitionStringSTLCloak *InputVariableName;
78  vtkDSPFilterDefinitionStringSTLCloak *OutputVariableName;
79 
80 protected:
81 
82 private:
83  vtkDSPFilterDefinition(const vtkDSPFilterDefinition&); // Not implemented
84  void operator=(const vtkDSPFilterDefinition&); // Not implemented
85 };
86 
87 
88 
89 #endif
vtkDSPFilterDefinitionVectorDoubleSTLCloak * NumeratorWeights
abstract base class for most VTK objects
Definition: vtkObject.h:61
vtkDSPFilterDefinitionVectorDoubleSTLCloak * DenominatorWeights
vtkDSPFilterDefinitionStringSTLCloak * OutputVariableName
vtkDSPFilterDefinitionVectorDoubleSTLCloak * ForwardNumeratorWeights
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKFILTERSHYBRID_EXPORT
used by the Exodus readers
vtkDSPFilterDefinitionStringSTLCloak * InputVariableName
static vtkObject * New()