vtkImplicitWindowFunction.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00047 #ifndef __vtkImplicitWindowFunction_h
00048 #define __vtkImplicitWindowFunction_h
00049
00050 #include "vtkImplicitFunction.h"
00051
00052 class VTK_FILTERING_EXPORT vtkImplicitWindowFunction : public vtkImplicitFunction
00053 {
00054 public:
00055 vtkTypeRevisionMacro(vtkImplicitWindowFunction,vtkImplicitFunction);
00056 void PrintSelf(ostream& os, vtkIndent indent);
00057
00059 static vtkImplicitWindowFunction *New();
00060
00062
00063 double EvaluateFunction(double x[3]);
00064 double EvaluateFunction(double x, double y, double z)
00065 {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00067
00070 void EvaluateGradient(double x[3], double n[3]);
00071
00073
00074 virtual void SetImplicitFunction(vtkImplicitFunction*);
00075 vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
00077
00079
00082 vtkSetVector2Macro(WindowRange,double);
00083 vtkGetVectorMacro(WindowRange,double,2);
00085
00087
00090 vtkSetVector2Macro(WindowValues,double);
00091 vtkGetVectorMacro(WindowValues,double,2);
00093
00095 unsigned long GetMTime();
00096
00097 protected:
00098 vtkImplicitWindowFunction();
00099 ~vtkImplicitWindowFunction();
00100
00101 virtual void ReportReferences(vtkGarbageCollector*);
00102 virtual void RemoveReferences();
00103
00104 vtkImplicitFunction *ImplicitFunction;
00105 double WindowRange[2];
00106 double WindowValues[2];
00107
00108 private:
00109 vtkImplicitWindowFunction(const vtkImplicitWindowFunction&);
00110 void operator=(const vtkImplicitWindowFunction&);
00111 };
00112
00113 #endif
00114
00115