vtkImplicitDataSet.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00054 #ifndef __vtkImplicitDataSet_h
00055 #define __vtkImplicitDataSet_h
00056
00057 #include "vtkImplicitFunction.h"
00058
00059 class vtkDataSet;
00060
00061 class VTK_FILTERING_EXPORT vtkImplicitDataSet : public vtkImplicitFunction
00062 {
00063 public:
00064 vtkTypeRevisionMacro(vtkImplicitDataSet,vtkImplicitFunction);
00065 void PrintSelf(ostream& os, vtkIndent indent);
00066
00069 static vtkImplicitDataSet *New();
00070
00072 unsigned long GetMTime();
00073
00075
00077 double EvaluateFunction(double x[3]);
00078 double EvaluateFunction(double x, double y, double z)
00079 {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00081
00083 void EvaluateGradient(double x[3], double n[3]);
00084
00086
00087 virtual void SetDataSet(vtkDataSet*);
00088 vtkGetObjectMacro(DataSet,vtkDataSet);
00090
00092
00094 vtkSetMacro(OutValue,double);
00095 vtkGetMacro(OutValue,double);
00097
00099
00101 vtkSetVector3Macro(OutGradient,double);
00102 vtkGetVector3Macro(OutGradient,double);
00104
00105 protected:
00106 vtkImplicitDataSet();
00107 ~vtkImplicitDataSet();
00108
00109 virtual void ReportReferences(vtkGarbageCollector*);
00110 virtual void RemoveReferences();
00111
00112 vtkDataSet *DataSet;
00113 double OutValue;
00114 double OutGradient[3];
00115
00116 double *Weights;
00117 int Size;
00118
00119 private:
00120 vtkImplicitDataSet(const vtkImplicitDataSet&);
00121 void operator=(const vtkImplicitDataSet&);
00122 };
00123
00124 #endif
00125
00126