VTK
dox/Hybrid/vtkDSPFilterDefinition.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkDSPFilterDefinition.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 /*----------------------------------------------------------------------------
00016  Copyright (c) Sandia Corporation
00017  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
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&); // Not implemented
00083   void operator=(const vtkDSPFilterDefinition&); // Not implemented
00084 };
00085 
00086 
00087 
00088 #endif