Salome HOME
NRI : Remove dependence with KERNEL.
[modules/visu.git] / src / VISU_I / VISU_FieldTransform.hxx
1 // File:        VISU_Extractor.hxx
2 // Created:     Fri Jan 10 16:37:54 2003
3 // Author:      Alexey PETROV
4 //              <apo@ivanox.nnov.matra-dtv.fr>
5
6
7 #ifndef VISU_FieldTransform_HeaderFile
8 #define VISU_FieldTransform_HeaderFile
9
10 #include <vtkObjectFactory.h>
11 #include <vtkDataSetToDataSetFilter.h>
12
13 class VTK_EXPORT VISU_FieldTransform : public vtkDataSetToDataSetFilter{
14 public:
15   vtkTypeMacro(VISU_FieldTransform,vtkDataSetToDataSetFilter);
16   static VISU_FieldTransform *New();
17   typedef double (*TTransformFun)(double);
18   void SetTransformFunction(TTransformFun theFunction);
19 protected:
20   VISU_FieldTransform();
21   virtual ~VISU_FieldTransform();
22   VISU_FieldTransform(const VISU_FieldTransform&) {};
23   void operator=(const VISU_FieldTransform&) {};
24   void Execute();
25   
26   TTransformFun myFunction;
27 };
28 extern "C" {
29   double Identical(double theArg);
30   double Logarithmic10(double theArg);
31 }
32
33 #endif