VTK  9.4.20241222
vtkDSPFilterDefinition.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3// SPDX-License-Identifier: BSD-3-Clause
14#ifndef vtkDSPFilterDefinition_h
15#define vtkDSPFilterDefinition_h
16
17#include "vtkFiltersHybridModule.h" // For export macro
18#include "vtkObject.h"
19
20VTK_ABI_NAMESPACE_BEGIN
21class vtkDSPFilterDefinitionVectorDoubleSTLCloak;
22class vtkDSPFilterDefinitionStringSTLCloak;
23
24class VTKFILTERSHYBRID_EXPORT vtkDSPFilterDefinition : public vtkObject
25{
26public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
30
31protected:
35
36public:
38 void Clear();
39 bool IsThisInputVariableInstanceNeeded(int a_timestep, int a_outputTimestep);
40
41 void PushBackNumeratorWeight(double a_value);
42 void PushBackDenominatorWeight(double a_value);
43 void PushBackForwardNumeratorWeight(double a_value);
44 void SetInputVariableName(const char* a_value);
45 void SetOutputVariableName(const char* a_value);
46 const char* GetInputVariableName();
47 const char* GetOutputVariableName();
48
52
53 double GetNumeratorWeight(int a_which);
54 double GetDenominatorWeight(int a_which);
55 double GetForwardNumeratorWeight(int a_which);
56
57 vtkDSPFilterDefinitionVectorDoubleSTLCloak* NumeratorWeights;
58 vtkDSPFilterDefinitionVectorDoubleSTLCloak* DenominatorWeights;
59 vtkDSPFilterDefinitionVectorDoubleSTLCloak* ForwardNumeratorWeights;
60
61 vtkDSPFilterDefinitionStringSTLCloak* InputVariableName;
62 vtkDSPFilterDefinitionStringSTLCloak* OutputVariableName;
63
64protected:
65private:
67 void operator=(const vtkDSPFilterDefinition&) = delete;
68};
69
70VTK_ABI_NAMESPACE_END
71#endif
used by the Exodus readers
bool IsThisInputVariableInstanceNeeded(int a_timestep, int a_outputTimestep)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDSPFilterDefinitionVectorDoubleSTLCloak * DenominatorWeights
vtkDSPFilterDefinitionVectorDoubleSTLCloak * ForwardNumeratorWeights
const char * GetInputVariableName()
void SetInputVariableName(const char *a_value)
vtkDSPFilterDefinition(vtkDSPFilterDefinition *other)
double GetNumeratorWeight(int a_which)
vtkDSPFilterDefinitionStringSTLCloak * InputVariableName
double GetDenominatorWeight(int a_which)
void PushBackForwardNumeratorWeight(double a_value)
void SetOutputVariableName(const char *a_value)
const char * GetOutputVariableName()
void Copy(vtkDSPFilterDefinition *other)
void PushBackNumeratorWeight(double a_value)
vtkDSPFilterDefinitionStringSTLCloak * OutputVariableName
void PushBackDenominatorWeight(double a_value)
vtkDSPFilterDefinitionVectorDoubleSTLCloak * NumeratorWeights
static vtkDSPFilterDefinition * New()
double GetForwardNumeratorWeight(int a_which)
~vtkDSPFilterDefinition() override
a simple class to control print indentation
Definition vtkIndent.h:108
abstract base class for most VTK objects
Definition vtkObject.h:162