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 ----------------------------------------------------------------------------*/
29 #ifndef vtkDSPFilterDefinition_h
30 #define vtkDSPFilterDefinition_h
31 
32 
33 
34 #include "vtkFiltersHybridModule.h" // For export macro
35 #include "vtkObject.h"
36 
37 class vtkDSPFilterDefinitionVectorDoubleSTLCloak;
38 class vtkDSPFilterDefinitionStringSTLCloak;
39 
40 class VTKFILTERSHYBRID_EXPORT vtkDSPFilterDefinition : public vtkObject
41 {
42  public:
44  void PrintSelf(ostream &os, vtkIndent indent) override;
45  static vtkDSPFilterDefinition *New();
46 
47  protected:
50  ~vtkDSPFilterDefinition() override;
51 
52  public:
53  void Copy(vtkDSPFilterDefinition *other);
54  void Clear();
55  bool IsThisInputVariableInstanceNeeded( int a_timestep, int a_outputTimestep );
56 
57  void PushBackNumeratorWeight(double a_value);
58  void PushBackDenominatorWeight(double a_value);
59  void PushBackForwardNumeratorWeight(double a_value);
60  void SetInputVariableName(const char *a_value);
61  void SetOutputVariableName(const char *a_value);
62  const char *GetInputVariableName();
63  const char *GetOutputVariableName();
64 
65  int GetNumNumeratorWeights();
66  int GetNumDenominatorWeights();
67  int GetNumForwardNumeratorWeights();
68 
69  double GetNumeratorWeight(int a_which);
70  double GetDenominatorWeight(int a_which);
71  double GetForwardNumeratorWeight(int a_which);
72 
73 
74  vtkDSPFilterDefinitionVectorDoubleSTLCloak *NumeratorWeights;
75  vtkDSPFilterDefinitionVectorDoubleSTLCloak *DenominatorWeights;
76  vtkDSPFilterDefinitionVectorDoubleSTLCloak *ForwardNumeratorWeights;
77 
78  vtkDSPFilterDefinitionStringSTLCloak *InputVariableName;
79  vtkDSPFilterDefinitionStringSTLCloak *OutputVariableName;
80 
81 protected:
82 
83 private:
85  void operator=(const vtkDSPFilterDefinition&) = delete;
86 };
87 
88 
89 
90 #endif
vtkDSPFilterDefinitionVectorDoubleSTLCloak * NumeratorWeights
abstract base class for most VTK objects
Definition: vtkObject.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDSPFilterDefinitionVectorDoubleSTLCloak * DenominatorWeights
vtkDSPFilterDefinitionStringSTLCloak * OutputVariableName
vtkDSPFilterDefinitionVectorDoubleSTLCloak * ForwardNumeratorWeights
a simple class to control print indentation
Definition: vtkIndent.h:39
used by the Exodus readers
vtkDSPFilterDefinitionStringSTLCloak * InputVariableName
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...