1 // Copyright (C) 2003 CEA/DEN, EDF R&D
5 // File : VISU_Extractor.hxx
6 // Author : Alexey PETROV
9 #ifndef VISU_FieldTransform_HeaderFile
10 #define VISU_FieldTransform_HeaderFile
12 #include "VTKViewer_Common.h"
13 #include <vtkDataSetToDataSetFilter.h>
15 class VTK_EXPORT VISU_FieldTransform : public vtkDataSetToDataSetFilter{
17 vtkTypeMacro(VISU_FieldTransform,vtkDataSetToDataSetFilter);
18 static VISU_FieldTransform *New();
19 typedef double (*TTransformFun)(double);
20 void SetTransformFunction(TTransformFun theFunction);
21 void SetScalarRange(float theScalarRange[2]);
23 VISU_FieldTransform();
24 virtual ~VISU_FieldTransform();
25 VISU_FieldTransform(const VISU_FieldTransform&) {};
26 void operator=(const VISU_FieldTransform&) {};
29 TTransformFun myFunction;
30 float myScalarRange[2];
33 double Identical(double theArg);
34 double Logarithmic10(double theArg);