00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00028 #ifndef __vtkDSPFilterDefinition_h
00029 #define __vtkDSPFilterDefinition_h
00030
00031
00032
00033 #include "vtkObject.h"
00034
00035 class vtkDSPFilterDefinitionVectorDoubleSTLCloak;
00036 class vtkDSPFilterDefinitionStringSTLCloak;
00037
00038 class VTK_HYBRID_EXPORT vtkDSPFilterDefinition : public vtkObject
00039 {
00040 public:
00041 vtkTypeMacro(vtkDSPFilterDefinition, vtkObject);
00042 void PrintSelf(ostream &os, vtkIndent indent);
00043 static vtkDSPFilterDefinition *New();
00044
00045 protected:
00046 vtkDSPFilterDefinition();
00047 vtkDSPFilterDefinition(vtkDSPFilterDefinition *other);
00048 ~vtkDSPFilterDefinition();
00049
00050 public:
00051 void Copy(vtkDSPFilterDefinition *other);
00052 void Clear();
00053 bool IsThisInputVariableInstanceNeeded( int a_timestep, int a_outputTimestep );
00054
00055 void PushBackNumeratorWeight(double a_value);
00056 void PushBackDenominatorWeight(double a_value);
00057 void PushBackForwardNumeratorWeight(double a_value);
00058 void SetInputVariableName(char *a_value);
00059 void SetOutputVariableName(char *a_value);
00060 const char *GetInputVariableName();
00061 const char *GetOutputVariableName();
00062
00063 int GetNumNumeratorWeights();
00064 int GetNumDenominatorWeights();
00065 int GetNumForwardNumeratorWeights();
00066
00067 double GetNumeratorWeight(int a_which);
00068 double GetDenominatorWeight(int a_which);
00069 double GetForwardNumeratorWeight(int a_which);
00070
00071
00072 vtkDSPFilterDefinitionVectorDoubleSTLCloak *NumeratorWeights;
00073 vtkDSPFilterDefinitionVectorDoubleSTLCloak *DenominatorWeights;
00074 vtkDSPFilterDefinitionVectorDoubleSTLCloak *ForwardNumeratorWeights;
00075
00076 vtkDSPFilterDefinitionStringSTLCloak *InputVariableName;
00077 vtkDSPFilterDefinitionStringSTLCloak *OutputVariableName;
00078
00079 protected:
00080
00081 private:
00082 vtkDSPFilterDefinition(const vtkDSPFilterDefinition&);
00083 void operator=(const vtkDSPFilterDefinition&);
00084 };
00085
00086
00087
00088 #endif